diff options
Diffstat (limited to 'src/firejail/sandbox.c')
-rw-r--r-- | src/firejail/sandbox.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 30b55d7d0..150c23de7 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -269,19 +269,6 @@ static int monitor_application(pid_t app_pid) { | |||
269 | return status; | 269 | return status; |
270 | } | 270 | } |
271 | 271 | ||
272 | void start_audit(void) { | ||
273 | char *audit_prog; | ||
274 | if (asprintf(&audit_prog, "%s/firejail/faudit", LIBDIR) == -1) | ||
275 | errExit("asprintf"); | ||
276 | assert(getenv("LD_PRELOAD") == NULL); | ||
277 | #ifdef HAVE_SECCOMP | ||
278 | seccomp_install_filters(); | ||
279 | #endif | ||
280 | execl(audit_prog, audit_prog, NULL); | ||
281 | perror("execl"); | ||
282 | exit(1); | ||
283 | } | ||
284 | |||
285 | static void print_time(void) { | 272 | static void print_time(void) { |
286 | if (start_timestamp) { | 273 | if (start_timestamp) { |
287 | unsigned long long end_timestamp = getticks(); | 274 | unsigned long long end_timestamp = getticks(); |