Added libcap-2.16 template.
--HG-- extra : convert_revision : 7feb0f71a27408a9ac7f13300a634cae9a85829d
This commit is contained in:
18
templates/libcap/build.diff
Normal file
18
templates/libcap/build.diff
Normal file
@@ -0,0 +1,18 @@
|
||||
--- progs/capsh.c.orig 2009-05-10 19:57:26.897493561 +0200
|
||||
+++ progs/capsh.c 2009-05-10 19:57:40.092519179 +0200
|
||||
@@ -9,6 +9,7 @@
|
||||
* capability manipulations work as expected (or not).
|
||||
*/
|
||||
|
||||
+#include <sys/wait.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@@ -16,7 +17,6 @@
|
||||
#include <sys/capability.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
-#include <sys/wait.h>
|
||||
|
||||
/* prctl based API for altering character of current process */
|
||||
#define PR_GET_KEEPCAPS 7
|
||||
Reference in New Issue
Block a user