From d3254b6521bf8a7074b6d70926c813042c04066e Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Thu, 13 Dec 2012 06:50:12 -0500 Subject: 4425-tmpfs-user-namespace.patch: remove as its implemented in 4420 --- 3.2.35/0000_README | 4 ---- 3.2.35/4425-tmpfs-user-namespace.patch | 27 --------------------------- 3.6.9/0000_README | 4 ---- 3.6.9/4425-tmpfs-user-namespace.patch | 27 --------------------------- 4 files changed, 62 deletions(-) delete mode 100644 3.2.35/4425-tmpfs-user-namespace.patch delete mode 100644 3.6.9/4425-tmpfs-user-namespace.patch diff --git a/3.2.35/0000_README b/3.2.35/0000_README index d60b72b..016f21a 100644 --- a/3.2.35/0000_README +++ b/3.2.35/0000_README @@ -62,10 +62,6 @@ Patch: 4420_grsecurity-2.9.1-3.2.35-201212071641.patch From: http://www.grsecurity.net Desc: hardened-sources base patch from upstream grsecurity -Patch: 4425-tmpfs-user-namespace.patch -From: Anthony G. Basile -Desc: Enable XATTR_USER_PREFIX namespace on tmpfs - Patch: 4430_grsec-remove-localversion-grsec.patch From: Kerin Millar Desc: Removes grsecurity's localversion-grsec file diff --git a/3.2.35/4425-tmpfs-user-namespace.patch b/3.2.35/4425-tmpfs-user-namespace.patch deleted file mode 100644 index e919350..0000000 --- a/3.2.35/4425-tmpfs-user-namespace.patch +++ /dev/null @@ -1,27 +0,0 @@ -Enable XATTR_USER_PREFIX extended attribute namespace for tmpfs - -For XATTR_PAX_FLAGS markings to work on a tmpfs filesystem, we -need to accept XATTR_USER_PREFIX extended attribute namespace -as valid. In Gentoo and other distros that make use of tmpfs -for their packaging systems, this makes it possible to pax mark -executables built in tmpfs before being tarred or otherwised -packaged. - -X-Gentoo-Bug: 432434 -X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=432434 -Signed-off-by: Anthony G. Basile ---- - -diff --git a/mm/shmem.c b/mm/shmem.c ---- a/mm/shmem.c -+++ b/mm/shmem.c -@@ -1815,7 +1815,8 @@ - #endif - - { XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN }, -- { XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN } -+ { XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN }, -+ { XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN } - }; - int i; - diff --git a/3.6.9/0000_README b/3.6.9/0000_README index a275502..3babd0c 100644 --- a/3.6.9/0000_README +++ b/3.6.9/0000_README @@ -10,10 +10,6 @@ Patch: 4420_grsecurity-2.9.1-3.6.9-201212071641.patch From: http://www.grsecurity.net Desc: hardened-sources base patch from upstream grsecurity -Patch: 4425-tmpfs-user-namespace.patch -From: Anthony G. Basile -Desc: Enable XATTR_USER_PREFIX namespace on tmpfs - Patch: 4430_grsec-remove-localversion-grsec.patch From: Kerin Millar Desc: Removes grsecurity's localversion-grsec file diff --git a/3.6.9/4425-tmpfs-user-namespace.patch b/3.6.9/4425-tmpfs-user-namespace.patch deleted file mode 100644 index f5f4f20..0000000 --- a/3.6.9/4425-tmpfs-user-namespace.patch +++ /dev/null @@ -1,27 +0,0 @@ -Enable XATTR_USER_PREFIX extended attribute namespace for tmpfs - -For XATTR_PAX_FLAGS markings to work on a tmpfs filesystem, we -need to accept XATTR_USER_PREFIX extended attribute namespace -as valid. In Gentoo and other distros that make use of tmpfs -for their packaging systems, this makes it possible to pax mark -executables built in tmpfs before being tarred or otherwised -packaged. - -X-Gentoo-Bug: 432434 -X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=432434 -Signed-off-by: Anthony G. Basile ---- - -diff --git a/mm/shmem.c b/mm/shmem.c ---- a/mm/shmem.c -+++ b/mm/shmem.c -@@ -2231,7 +2231,8 @@ - #endif - - { XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN }, -- { XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN } -+ { XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN }, -+ { XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN } - }; - int i; - -- cgit v1.2.3-65-gdbad