aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-09-26 15:13:56 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-09-26 15:13:56 -0400
commitacc50de312e0bb77ef76f5f848e41e9736638c17 (patch)
tree2dae674415064829b034090a5ff0a7158e0445c5
parentCVE-2016-7545 (diff)
downloadfirejail-acc50de312e0bb77ef76f5f848e41e9736638c17.tar.gz
firejail-acc50de312e0bb77ef76f5f848e41e9736638c17.tar.zst
firejail-acc50de312e0bb77ef76f5f848e41e9736638c17.zip
CVE-2016-7545
-rw-r--r--src/firejail/sandbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c
index 08296d823..baa6eb2e5 100644
--- a/src/firejail/sandbox.c
+++ b/src/firejail/sandbox.c
@@ -85,7 +85,7 @@ static void sandbox_handler(int sig){
85 85
86 // broadcast a SIGKILL 86 // broadcast a SIGKILL
87 kill(-1, SIGKILL); 87 kill(-1, SIGKILL);
88 ioctl(0, TCFLSH, TCIFLUSH); 88// ioctl(0, TCFLSH, TCIFLUSH);
89 exit(sig); 89 exit(sig);
90} 90}
91 91
@@ -896,7 +896,7 @@ int sandbox(void* sandbox_arg) {
896 } 896 }
897 897
898 int status = monitor_application(app_pid); // monitor application 898 int status = monitor_application(app_pid); // monitor application
899 ioctl(0, TCFLSH, TCIFLUSH); 899// ioctl(0, TCFLSH, TCIFLUSH);
900 900
901 if (WIFEXITED(status)) { 901 if (WIFEXITED(status)) {
902 // if we had a proper exit, return that exit status 902 // if we had a proper exit, return that exit status