diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-02-16 13:10:53 +0100 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-02-16 13:10:53 +0100 |
commit | 44b3213ccedd3a2f4ef67229b881d6c2045f2c3f (patch) | |
tree | 1e5765117826f8250b6be6ca9ef5ed6a4a125a9c | |
parent | 5b3e2e345b035b72458258a1c959524c19dc70ef (diff) | |
download | seitan-44b3213ccedd3a2f4ef67229b881d6c2045f2c3f.tar seitan-44b3213ccedd3a2f4ef67229b881d6c2045f2c3f.tar.gz seitan-44b3213ccedd3a2f4ef67229b881d6c2045f2c3f.tar.bz2 seitan-44b3213ccedd3a2f4ef67229b881d6c2045f2c3f.tar.lz seitan-44b3213ccedd3a2f4ef67229b881d6c2045f2c3f.tar.xz seitan-44b3213ccedd3a2f4ef67229b881d6c2045f2c3f.tar.zst seitan-44b3213ccedd3a2f4ef67229b881d6c2045f2c3f.zip |
actiosn: fix intialization for a_inject_a
-rw-r--r-- | actions.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -217,6 +217,7 @@ int do_actions(struct action actions[], unsigned int n_actions, int pid, resp_fd.newfd = actions[i].inj.newfd; resp_fd.srcfd = actions[i].inj.oldfd; resp_fd.flags |= SECCOMP_ADDFD_FLAG_SETFD; + resp_fd.newfd_flags = 0; if (send_inject_target(&resp_fd, notifyfd) == -1) return -1; break; |