mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
libcap: Update to 2.29
Fixed PKG_LICENSE. Added PKG_BUILD_PARALLEL for faster compilation. Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
--- a/progs/capsh.c
|
||||
+++ b/progs/capsh.c
|
||||
@@ -24,6 +24,9 @@
|
||||
@@ -25,6 +25,9 @@
|
||||
#include <sys/wait.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
+#ifndef SHELL
|
||||
+#define SHELL "/bin/sh"
|
||||
@@ -10,7 +10,7 @@
|
||||
#define MAX_GROUPS 100 /* max number of supplementary groups for user */
|
||||
|
||||
static char *binary(unsigned long value)
|
||||
@@ -692,10 +695,10 @@ int main(int argc, char *argv[], char *envp[])
|
||||
@@ -756,10 +759,10 @@ int main(int argc, char *argv[], char *envp[])
|
||||
} else if (!strcmp("--print", argv[i])) {
|
||||
arg_print();
|
||||
} else if ((!strcmp("--", argv[i])) || (!strcmp("==", argv[i]))) {
|
||||
@@ -23,7 +23,7 @@
|
||||
exit(1);
|
||||
} else {
|
||||
usage:
|
||||
@@ -720,7 +723,7 @@ int main(int argc, char *argv[], char *envp[])
|
||||
@@ -789,7 +792,7 @@ int main(int argc, char *argv[], char *envp[])
|
||||
" --killit=<n> send signal(n) to child\n"
|
||||
" --forkfor=<n> fork and make child sleep for <n> sec\n"
|
||||
" == re-exec(capsh) with args as for --\n"
|
||||
|
||||
Reference in New Issue
Block a user