revised bswap patch
This commit is contained in:
parent
03b226c18f
commit
2273877e58
@ -1,11 +1,22 @@
|
|||||||
diff -urp libcap-ng-0.4.2.orig/src/cap-ng.c libcap-ng-0.4.2/src/cap-ng.c
|
diff -urp libcap-ng-0.4.1/src/cap-ng.c libcap-ng-0.4.2/src/cap-ng.c
|
||||||
--- libcap-ng-0.4.2.orig/src/cap-ng.c 2009-06-12 10:56:45.000000000 -0400
|
--- libcap-ng-0.4.1/src/cap-ng.c 2009-06-09 17:44:05.000000000 -0400
|
||||||
+++ libcap-ng-0.4.2/src/cap-ng.c 2009-06-12 11:56:57.000000000 -0400
|
+++ libcap-ng-0.4.2/src/cap-ng.c 2009-06-12 11:56:57.000000000 -0400
|
||||||
@@ -32,6 +32,7 @@
|
@@ -31,6 +31,8 @@
|
||||||
|
#include <grp.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <errno.h>
|
+#include <errno.h>
|
||||||
+#include <byteswap.h>
|
+#include <byteswap.h>
|
||||||
|
|
||||||
/* External syscall prototypes */
|
/* External syscall prototypes */
|
||||||
extern int capset(cap_user_header_t header, cap_user_data_t data);
|
extern int capset(cap_user_header_t header, cap_user_data_t data);
|
||||||
|
@@ -785,8 +789,8 @@ char *capng_print_caps_numeric(capng_pri
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- if (set & CAPNG_SELECT_BOUNDS)
|
||||||
|
#ifdef PR_CAPBSET_DROP
|
||||||
|
+ if (set & CAPNG_SELECT_BOUNDS)
|
||||||
|
printf("Bounding Set: %08X, %08X\n",
|
||||||
|
m.bounds[0], m.bounds[1]);
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user