diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-02-24 16:29:09 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-02-24 16:29:09 +0000 |
commit | 2e838dafcba4d069a6df9bf885dfa6951a98b504 (patch) | |
tree | 48c9f1612d00dc35c01aa86e398410b3db4a8d8c /sys-kernel | |
parent | Change is_kernel check so it defaults to running kernel if /usr/src/linux doe... (diff) | |
download | historical-2e838dafcba4d069a6df9bf885dfa6951a98b504.tar.gz historical-2e838dafcba4d069a6df9bf885dfa6951a98b504.tar.bz2 historical-2e838dafcba4d069a6df9bf885dfa6951a98b504.zip |
Fixed broken munmap patch; closes bug #42727.
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/openmosix-sources/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/openmosix-sources/files/openmosix-sources-2.4.20.munmap.patch | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys-kernel/openmosix-sources/Manifest b/sys-kernel/openmosix-sources/Manifest index 2c5f68fc507f..7895addf9f03 100644 --- a/sys-kernel/openmosix-sources/Manifest +++ b/sys-kernel/openmosix-sources/Manifest @@ -8,7 +8,7 @@ MD5 8ea0ebaf9ea87558abecdc1df6145dc5 files/digest-openmosix-sources-2.4.20-r8 13 MD5 ec82894c1f49e075f00a952c78783119 files/openmosix-sources-2.4.22.crypto_fix.patch 485 MD5 e77a93fdf26f06cf3ea5080b27211725 files/openmosix-sources.CAN-2003-0985.patch 414 MD5 e2e2b545b6fcdcecf49e33798efa5b84 files/openmosix-sources-2.4.22.rtc_fix.patch 7073 -MD5 59e514ab0f64940407a9a0e1911c82f1 files/openmosix-sources-2.4.20.munmap.patch 813 +MD5 032ff70c5895cc1a2dfbe2a58ebde1f7 files/openmosix-sources-2.4.20.munmap.patch 819 MD5 24f382cce6d78524a1d0e86a7feb653a files/digest-openmosix-sources-2.4.25 140 MD5 a61e57d5483a06f20da339d91f98fbb8 files/openmosix-sources-2.4.20.rtc_fix.patch 6769 MD5 efe1d77bc50e3b37a4dcc0154edd1862 files/digest-openmosix-sources-2.4.22-r4 134 diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.20.munmap.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.20.munmap.patch index 3c01b3447ec6..d2cf4f4303f4 100644 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.20.munmap.patch +++ b/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.20.munmap.patch @@ -5,7 +5,7 @@ goto out; - do_munmap(current->mm, new_addr, new_len, 1); -+ ret = do_munmap(current->mm, new_addr, new_len); ++ ret = do_munmap(current->mm, new_addr, new_len, 1); + if (ret && new_len) + goto out; } @@ -18,7 +18,7 @@ - ret = addr; if (old_len >= new_len) { - do_munmap(current->mm, addr+new_len, old_len - new_len, 1); -+ ret = do_munmap(current->mm, addr+new_len, old_len - new_len); ++ ret = do_munmap(current->mm, addr+new_len, old_len - new_len, 1); + if (ret && old_len != new_len) + goto out; + ret = addr; |