libcap-ng: update to 0.6.4, added path to make it build with newer kernels.
This commit is contained in:
13
srcpkgs/libcap-ng/patches/missing_XATTR_NAME_CAPS_def.diff
Normal file
13
srcpkgs/libcap-ng/patches/missing_XATTR_NAME_CAPS_def.diff
Normal file
@@ -0,0 +1,13 @@
|
||||
--- src/cap-ng.h.orig 2010-10-29 16:26:53.000000000 +0200
|
||||
+++ src/cap-ng.h 2010-10-29 16:27:25.000000000 +0200
|
||||
@@ -35,6 +35,10 @@ extern "C" {
|
||||
#define CAP_LAST_CAP CAP_AUDIT_CONTROL
|
||||
#endif
|
||||
|
||||
+#ifndef XATTR_NAME_CAPS
|
||||
+#define XATTR_NAME_CAPS "security.capability"
|
||||
+#endif
|
||||
+
|
||||
typedef enum { CAPNG_DROP, CAPNG_ADD } capng_act_t;
|
||||
typedef enum { CAPNG_EFFECTIVE=1, CAPNG_PERMITTED=2,
|
||||
CAPNG_INHERITABLE=4, CAPNG_BOUNDING_SET=8 } capng_type_t;
|
||||
Reference in New Issue
Block a user