parent
1400361cdd
commit
e9d48e920a
@ -1,19 +0,0 @@
|
||||
diff --git a/src/worker-privs.c b/src/worker-privs.c
|
||||
index ea503cd0..3d4d5fa4 100644
|
||||
--- a/src/worker-privs.c
|
||||
+++ b/src/worker-privs.c
|
||||
@@ -166,6 +166,14 @@ int disable_system_calls(struct worker_st *ws)
|
||||
ADD_SYSCALL(fstat, 0);
|
||||
ADD_SYSCALL(lseek, 0);
|
||||
|
||||
+ /* if running under socketwrapper ensure we allow its calls */
|
||||
+ if (getenv("SOCKET_WRAPPER_DIR") != NULL) {
|
||||
+ ADD_SYSCALL(stat64, 0);
|
||||
+ ADD_SYSCALL(readlink, 0);
|
||||
+ ADD_SYSCALL(newfstatat, 0);
|
||||
+ ADD_SYSCALL(mmap, 0);
|
||||
+ }
|
||||
+
|
||||
ADD_SYSCALL(getsockopt, 0);
|
||||
ADD_SYSCALL(setsockopt, 0);
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA512 (ocserv-1.1.1.tar.xz) = 1173416f0d32f9faf98e539c8e73316a50ac93b519d1ade19374a3df865d10d975e13ac53e0c5a5e77c80f3605d7a810287b18b85b798887d227389761b54220
|
||||
SHA512 (ocserv-1.1.1.tar.xz.sig) = 9fe0f3e2ea4daaf1d053c2cdc87d38dc8256feb11c16f93e7e677500457914a82e659901f77f6ec4ca175fceeec74e3f8d001412c969c18dcf486545bac83393
|
||||
SHA512 (ocserv-1.1.2.tar.xz) = 8a145ff729414482c10ab763ac891e21f588fb8f61265fb4e6e61684a9b48c5fcaaafaad1ddcaeaf4ffad85377be45c002b628b27d9a7d08f5b403668f62c3f0
|
||||
SHA512 (ocserv-1.1.2.tar.xz.sig) = 3de64d1b4812c836ce809dd31adbf0ba7f2b11f408bb279bdd64f915be7c70b6601f098281e219a986febd0f5ddabaa6eba2448a0b9baf0ae025187b06aec3ce
|
||||
|
Loading…
Reference in new issue