diff options
author | Brian Jackson <iggy@gentoo.org> | 2004-01-08 06:29:03 +0000 |
---|---|---|
committer | Brian Jackson <iggy@gentoo.org> | 2004-01-08 06:29:03 +0000 |
commit | 88b45b09dcd66c66ed8c15f5b7130bc18c979330 (patch) | |
tree | 430b4874de91337096ed50a42af18fee92f16f92 /sys-kernel/aa-sources | |
parent | remove ~mips and ~arm KEYWORDS due to lack of support, ready for new repoman. (diff) | |
download | historical-88b45b09dcd66c66ed8c15f5b7130bc18c979330.tar.gz historical-88b45b09dcd66c66ed8c15f5b7130bc18c979330.tar.bz2 historical-88b45b09dcd66c66ed8c15f5b7130bc18c979330.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 */ |