diff options
author | Brian Jackson <iggy@gentoo.org> | 2004-01-08 06:23:54 +0000 |
---|---|---|
committer | Brian Jackson <iggy@gentoo.org> | 2004-01-08 06:23:54 +0000 |
commit | 1e19a65d17cba608a3f1e9dd970447cb37c4dc5f (patch) | |
tree | eb2f05fdd7c455c58b56e24dc450ff38142695a8 /sys-kernel/aa-sources | |
parent | fixed up a few repoman things (dates, digest-2.4.23, etc.) (Manifest recommit) (diff) | |
download | gentoo-2-1e19a65d17cba608a3f1e9dd970447cb37c4dc5f.tar.gz gentoo-2-1e19a65d17cba608a3f1e9dd970447cb37c4dc5f.tar.bz2 gentoo-2-1e19a65d17cba608a3f1e9dd970447cb37c4dc5f.zip |
fix mremap patch
Diffstat (limited to 'sys-kernel/aa-sources')
-rw-r--r-- | sys-kernel/aa-sources/files/aa-sources-2.4.23.CAN-2003-0985.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-kernel/aa-sources/files/aa-sources-2.4.23.CAN-2003-0985.patch b/sys-kernel/aa-sources/files/aa-sources-2.4.23.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/aa-sources/files/aa-sources-2.4.23.CAN-2003-0985.patch +++ b/sys-kernel/aa-sources/files/aa-sources-2.4.23.CAN-2003-0985.patch @@ -5,7 +5,7 @@ new_len = PAGE_ALIGN(new_len); + /* Don't allow the degenerate cases */ -+ if (!(old_len | new_len)) ++ if (!old_len || !new_len) + goto out; + /* new_addr is only valid if MREMAP_FIXED is specified */ |