diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 19:20:43 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 19:20:43 +0200 |
commit | d46bfd93d6d4e7ad13e96792c55486be2351aacf (patch) | |
tree | 879161b56c10e8c11a5977226944995181d8f923 /base/libcap/libcap-2.16-drop-linux-workarounds.patch | |
parent | 1d25f3deb104dc4e2d83d0093ae6b3f38fcf8d2e (diff) | |
download | nutyx-extra-d46bfd93d6d4e7ad13e96792c55486be2351aacf.tar.gz nutyx-extra-d46bfd93d6d4e7ad13e96792c55486be2351aacf.tar.bz2 nutyx-extra-d46bfd93d6d4e7ad13e96792c55486be2351aacf.tar.xz nutyx-extra-d46bfd93d6d4e7ad13e96792c55486be2351aacf.zip |
Ajout de libcap#2.16-1
Diffstat (limited to 'base/libcap/libcap-2.16-drop-linux-workarounds.patch')
-rw-r--r-- | base/libcap/libcap-2.16-drop-linux-workarounds.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/base/libcap/libcap-2.16-drop-linux-workarounds.patch b/base/libcap/libcap-2.16-drop-linux-workarounds.patch new file mode 100644 index 000000000..bbd6db835 --- /dev/null +++ b/base/libcap/libcap-2.16-drop-linux-workarounds.patch @@ -0,0 +1,43 @@ +dont need these compat hacks anymore + +http://bugs.gentoo.org/265304 + +--- libcap/include/sys/capability.h ++++ libcap/include/sys/capability.h +@@ -22,18 +22,6 @@ + #include <sys/types.h> + #include <stdint.h> + +-/* +- * Make sure we can be included from userland by preventing +- * capability.h from including other kernel headers +- */ +-#define _LINUX_TYPES_H +-#define _LINUX_FS_H +-#define __LINUX_COMPILER_H +-#define __user +- +-typedef unsigned int __u32; +-typedef __u32 __le32; +- + #include <linux/capability.h> + + /* +--- libcap/include/linux/capability.h ++++ libcap/include/linux/capability.h +@@ -40,13 +40,13 @@ + typedef struct __user_cap_header_struct { + __u32 version; + int pid; +-} __user *cap_user_header_t; ++} *cap_user_header_t; + + typedef struct __user_cap_data_struct { + __u32 effective; + __u32 permitted; + __u32 inheritable; +-} __user *cap_user_data_t; ++} *cap_user_data_t; + + + #define XATTR_CAPS_SUFFIX "capability" |