aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-08-12 10:21:54 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-08-12 10:21:54 -0400
commit457d47224c20e8a65d6f20bf64d2eff365017bbe (patch)
tree9d8e25b51183695289dd7d0909ece729bd847025 /src
parentdon't allow --x11 and --audit together (diff)
downloadfirejail-457d47224c20e8a65d6f20bf64d2eff365017bbe.tar.gz
firejail-457d47224c20e8a65d6f20bf64d2eff365017bbe.tar.zst
firejail-457d47224c20e8a65d6f20bf64d2eff365017bbe.zip
reverted audit/x11
Diffstat (limited to 'src')
-rw-r--r--src/firejail/x11.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/firejail/x11.c b/src/firejail/x11.c
index 15d600991..090ff6f3b 100644
--- a/src/firejail/x11.c
+++ b/src/firejail/x11.c
@@ -216,10 +216,6 @@ void x11_start_xephyr(int argc, char **argv) {
216 continue; 216 continue;
217 if (strcmp(argv[i], "--x11=xephyr") == 0) 217 if (strcmp(argv[i], "--x11=xephyr") == 0)
218 continue; 218 continue;
219 if (strcmp(argv[i], "--audit") == 0 || strncmp(argv[i], "--audit=", 8) == 0) {
220 fprintf(stderr, "Error: auditing x11 sandboxes is not supported\n");
221 exit(1);
222 }
223 ptr += sprintf(ptr, "%s ", argv[i]); 219 ptr += sprintf(ptr, "%s ", argv[i]);
224 } 220 }
225 if (arg_debug) 221 if (arg_debug)
@@ -339,10 +335,6 @@ void x11_start_xpra(int argc, char **argv) {
339 continue; 335 continue;
340 if (strcmp(argv[i], "--x11=xephyr") == 0) 336 if (strcmp(argv[i], "--x11=xephyr") == 0)
341 continue; 337 continue;
342 if (strcmp(argv[i], "--audit") == 0 || strncmp(argv[i], "--audit=", 8) == 0) {
343 fprintf(stderr, "Error: auditing x11 sandboxes is not supported\n");
344 exit(1);
345 }
346 ptr += sprintf(ptr, "%s ", argv[i]); 338 ptr += sprintf(ptr, "%s ", argv[i]);
347 } 339 }
348 sprintf(ptr, "\""); 340 sprintf(ptr, "\"");