23 lines
684 B
Diff
23 lines
684 B
Diff
diff -urp libcap-ng-0.4.1/src/cap-ng.c libcap-ng-0.4.2/src/cap-ng.c
|
|
--- 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
|
|
@@ -31,6 +31,8 @@
|
|
#include <grp.h>
|
|
#include <sys/stat.h>
|
|
#include <stdarg.h>
|
|
+#include <errno.h>
|
|
+#include <byteswap.h>
|
|
|
|
/* External syscall prototypes */
|
|
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
|