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 | 407cf220528c453a6d20d8ebbd52f7ada6b79666 (patch) | |
tree | df3032f7fa67bf59e88b502f70ea09c78adec3f2 /sys-kernel/arm-sources | |
parent | remove ~mips and ~arm KEYWORDS due to lack of support, ready for new repoman.... (diff) | |
download | gentoo-2-407cf220528c453a6d20d8ebbd52f7ada6b79666.tar.gz gentoo-2-407cf220528c453a6d20d8ebbd52f7ada6b79666.tar.bz2 gentoo-2-407cf220528c453a6d20d8ebbd52f7ada6b79666.zip |
fix mremap patch
Diffstat (limited to 'sys-kernel/arm-sources')
-rw-r--r-- | sys-kernel/arm-sources/files/arm-sources.CAN-2003-0985.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-kernel/arm-sources/files/arm-sources.CAN-2003-0985.patch b/sys-kernel/arm-sources/files/arm-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/arm-sources/files/arm-sources.CAN-2003-0985.patch +++ b/sys-kernel/arm-sources/files/arm-sources.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 */ |