diff options
author | Jacob Appelbaum <jacob@appelbaum.net> | 2014-10-13 17:04:29 +0000 |
---|---|---|
committer | Jacob Appelbaum <jacob@appelbaum.net> | 2014-10-13 17:04:43 +0000 |
commit | bb62fad1d04a60c34d256e42bc8351fab19725cd (patch) | |
tree | 802275ab6f2ae5e99cb6753a152ad5a4cfc2ba28 /src | |
parent | b5a6a89d2be7ef891231891bbebd8624d130651a (diff) | |
download | tlsdate-bb62fad1d04a60c34d256e42bc8351fab19725cd.tar.gz |
disable seccomp in tlsdate-helper
Diffstat (limited to 'src')
-rw-r--r-- | src/seccomp.c | 5 | ||||
-rw-r--r-- | src/util.c | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/seccomp.c b/src/seccomp.c index 8686441..fbc5a33 100644 --- a/src/seccomp.c +++ b/src/seccomp.c @@ -87,11 +87,6 @@ enable_setter_seccomp (void) SC_ALLOW (exit_group), SC_ALLOW (exit), - /* tlsdate-helper */ -#ifdef __NR_sys_getuid - SC_ALLOW (sys_getuid), -#endif - SC_DENY (open, EINVAL), SC_DENY (fcntl, EINVAL), SC_DENY (fstat, EINVAL), @@ -156,7 +156,6 @@ drop_privs_to (const char *user, const char *group) gid_t gid; struct passwd *pw; struct group *gr; - enable_seccomp (); if (0 != getuid ()) return; /* not running as root to begin with; should (!) be harmless to continue |