aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2019-03-20 15:23:17 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2019-03-20 15:23:17 +0100
commit6ec8fd97ac70af812860e7afdbf6810437157eed (patch)
tree2af0d257acaade132fb70edb0a71e562cf853761 /src
parentminor enhancement: added robustness for setres[gu]id function calls (diff)
downloadfirejail-6ec8fd97ac70af812860e7afdbf6810437157eed.tar.gz
firejail-6ec8fd97ac70af812860e7afdbf6810437157eed.tar.zst
firejail-6ec8fd97ac70af812860e7afdbf6810437157eed.zip
security: too early to register signal handler
Diffstat (limited to 'src')
-rw-r--r--src/firejail/join.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/firejail/join.c b/src/firejail/join.c
index 3d5006236..3372c8dc1 100644
--- a/src/firejail/join.c
+++ b/src/firejail/join.c
@@ -294,7 +294,6 @@ void join(pid_t pid, int argc, char **argv, int index) {
294 pid_t parent = pid; 294 pid_t parent = pid;
295 295
296 extract_command(argc, argv, index); 296 extract_command(argc, argv, index);
297 signal (SIGTERM, signal_handler);
298 297
299 // in case the pid is that of a firejail process, use the pid of the first child process 298 // in case the pid is that of a firejail process, use the pid of the first child process
300 pid = switch_to_child(pid); 299 pid = switch_to_child(pid);