projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2909fab
)
ujail: fixup code style: "func()" -> "func(void)"
author
Etienne CHAMPETIER
<champetier.etienne@gmail.com>
Fri, 27 Nov 2015 16:27:11 +0000
(16:27 +0000)
committer
John Crispin
<blogic@openwrt.org>
Fri, 27 Nov 2015 16:48:49 +0000
(17:48 +0100)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
jail/jail.c
patch
|
blob
|
history
diff --git
a/jail/jail.c
b/jail/jail.c
index 5b24f63165e03dc17058cd43d3176eef19dc9847..b7e69464b4f0203a78ce3e3f0dbbd8a5c8fe8710 100644
(file)
--- a/
jail/jail.c
+++ b/
jail/jail.c
@@
-139,7
+139,7
@@
static int mount_bind(const char *root, const char *path, const char *name, int
return 0;
}
-static int build_jail_fs()
+static int build_jail_fs(
void
)
{
struct library *l;
struct extra *m;
@@
-253,7
+253,7
@@
ujail will not use namespace/build a jail,\n\
and will only drop capabilities/apply seccomp filter.\n\n");
}
-static int exec_jail()
+static int exec_jail(
void
)
{
char **envp = build_envp(opts.seccomp);
if (!envp)