diff options
Diffstat (limited to 'src/fbuilder/build_profile.c')
-rw-r--r-- | src/fbuilder/build_profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fbuilder/build_profile.c b/src/fbuilder/build_profile.c index 5fca22648..3f5fe48ca 100644 --- a/src/fbuilder/build_profile.c +++ b/src/fbuilder/build_profile.c | |||
@@ -33,6 +33,7 @@ static char *cmdlist[] = { | |||
33 | "--caps.drop=all", | 33 | "--caps.drop=all", |
34 | "--nonewprivs", | 34 | "--nonewprivs", |
35 | "--trace", | 35 | "--trace", |
36 | "--shell=none", | ||
36 | "/usr/bin/strace", // also used as a marker in build_profile() | 37 | "/usr/bin/strace", // also used as a marker in build_profile() |
37 | "-c", | 38 | "-c", |
38 | "-f", | 39 | "-f", |
@@ -56,8 +57,6 @@ static void clear_tmp_files(void) { | |||
56 | } | 57 | } |
57 | 58 | ||
58 | void build_profile(int argc, char **argv, int index) { | 59 | void build_profile(int argc, char **argv, int index) { |
59 | unlink("/tmp/strace-output"); | ||
60 | |||
61 | // next index is the application name | 60 | // next index is the application name |
62 | if (index >= argc) { | 61 | if (index >= argc) { |
63 | fprintf(stderr, "Error: application name missing\n"); | 62 | fprintf(stderr, "Error: application name missing\n"); |
@@ -136,6 +135,7 @@ void build_profile(int argc, char **argv, int index) { | |||
136 | build_dev(TRACE_OUTPUT); | 135 | build_dev(TRACE_OUTPUT); |
137 | build_etc(TRACE_OUTPUT); | 136 | build_etc(TRACE_OUTPUT); |
138 | build_var(TRACE_OUTPUT); | 137 | build_var(TRACE_OUTPUT); |
138 | build_bin(TRACE_OUTPUT); | ||
139 | printf("\n"); | 139 | printf("\n"); |
140 | 140 | ||
141 | printf("### security filters\n"); | 141 | printf("### security filters\n"); |