diff options
author | Brian Jackson <iggy@gentoo.org> | 2004-01-08 06:47:46 +0000 |
---|---|---|
committer | Brian Jackson <iggy@gentoo.org> | 2004-01-08 06:47:46 +0000 |
commit | 88be1aba0723e533aca963bb528887a3189831c5 (patch) | |
tree | 054bdd6bcc14ea7d9d8433de61b124c1d2f52f86 | |
parent | add amd64 for repoman again (diff) | |
download | historical-88be1aba0723e533aca963bb528887a3189831c5.tar.gz historical-88be1aba0723e533aca963bb528887a3189831c5.tar.bz2 historical-88be1aba0723e533aca963bb528887a3189831c5.zip |
fix mremap patch
15 files changed, 15 insertions, 15 deletions
diff --git a/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.CAN-2003-0985.patch b/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.CAN-2003-0985.patch +++ b/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.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 */ diff --git a/sys-kernel/grsec-sources/files/grsec-sources-2.4.23.CAN-2003-0985.patch b/sys-kernel/grsec-sources/files/grsec-sources-2.4.23.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/grsec-sources/files/grsec-sources-2.4.23.CAN-2003-0985.patch +++ b/sys-kernel/grsec-sources/files/grsec-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 */ diff --git a/sys-kernel/gs-sources/files/gs-sources.CAN-2003-0985.patch b/sys-kernel/gs-sources/files/gs-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/gs-sources/files/gs-sources.CAN-2003-0985.patch +++ b/sys-kernel/gs-sources/files/gs-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 */ diff --git a/sys-kernel/hardened-sources/files/mremap-CAN-2003-0985.patch b/sys-kernel/hardened-sources/files/mremap-CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/hardened-sources/files/mremap-CAN-2003-0985.patch +++ b/sys-kernel/hardened-sources/files/mremap-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 */ diff --git a/sys-kernel/hppa-sources/files/hppa-sources.CAN-2003-0985.patch b/sys-kernel/hppa-sources/files/hppa-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/hppa-sources/files/hppa-sources.CAN-2003-0985.patch +++ b/sys-kernel/hppa-sources/files/hppa-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 */ diff --git a/sys-kernel/ia64-sources/files/ia64-sources.CAN-2003-0985.patch b/sys-kernel/ia64-sources/files/ia64-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/ia64-sources/files/ia64-sources.CAN-2003-0985.patch +++ b/sys-kernel/ia64-sources/files/ia64-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 */ diff --git a/sys-kernel/mm-sources/files/mm-sources.CAN-2003-0985.patch b/sys-kernel/mm-sources/files/mm-sources.CAN-2003-0985.patch index eb1c9d26b3d5..03f49e4f6d7d 100644 --- a/sys-kernel/mm-sources/files/mm-sources.CAN-2003-0985.patch +++ b/sys-kernel/mm-sources/files/mm-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 */ diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2003-0985.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2003-0985.patch +++ b/sys-kernel/openmosix-sources/files/openmosix-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 */ diff --git a/sys-kernel/pac-sources/files/pac-sources.CAN-2003-0985.patch b/sys-kernel/pac-sources/files/pac-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/pac-sources/files/pac-sources.CAN-2003-0985.patch +++ b/sys-kernel/pac-sources/files/pac-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 */ diff --git a/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.CAN-2003-0985.patch b/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.CAN-2003-0985.patch +++ b/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.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 */ diff --git a/sys-kernel/usermode-sources/files/usermode-sources.CAN-2003-0985.patch b/sys-kernel/usermode-sources/files/usermode-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/usermode-sources/files/usermode-sources.CAN-2003-0985.patch +++ b/sys-kernel/usermode-sources/files/usermode-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 */ diff --git a/sys-kernel/win4lin-sources/files/win4lin-sources-2.4.CAN-2003-0985.patch b/sys-kernel/win4lin-sources/files/win4lin-sources-2.4.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/win4lin-sources/files/win4lin-sources-2.4.CAN-2003-0985.patch +++ b/sys-kernel/win4lin-sources/files/win4lin-sources-2.4.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 */ diff --git a/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.CAN-2003-0985.patch b/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.CAN-2003-0985.patch index eb1c9d26b3d5..03f49e4f6d7d 100644 --- a/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.CAN-2003-0985.patch +++ b/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.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 */ diff --git a/sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0985.patch b/sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0985.patch +++ b/sys-kernel/wolk-sources/files/wolk-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 */ diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2003-0985.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2003-0985.patch +++ b/sys-kernel/xfs-sources/files/xfs-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 */ |