SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
sysutils/shunt/patches/patch-src_shunt_main_c
Normal file
13
sysutils/shunt/patches/patch-src_shunt_main_c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/shunt/main.c.orig Tue Apr 19 22:53:34 2011
|
||||
+++ src/shunt/main.c Wed Apr 27 19:48:00 2016
|
||||
@@ -693,6 +693,10 @@ is_child_running()
|
||||
int
|
||||
main(int argc, char* argv[])
|
||||
{
|
||||
+ if (pledge("stdio proc exec", NULL) == -1) {
|
||||
+ perror("pledge");
|
||||
+ exit(2);
|
||||
+ }
|
||||
int rv = 0;
|
||||
|
||||
znum_initialize();
|
Loading…
Add table
Add a link
Reference in a new issue