diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-02-16 08:55:02 +0100 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-02-16 09:01:12 +0100 |
commit | 4bd39f7f39f65a532a96b0ba12dca7499c5b9a86 (patch) | |
tree | d5662b88f63193da3c6609cb5e5cfde267cb26f3 | |
parent | 6df6465884e5192d8512b952fb412f2ea80439b0 (diff) | |
download | seitan-4bd39f7f39f65a532a96b0ba12dca7499c5b9a86.tar seitan-4bd39f7f39f65a532a96b0ba12dca7499c5b9a86.tar.gz seitan-4bd39f7f39f65a532a96b0ba12dca7499c5b9a86.tar.bz2 seitan-4bd39f7f39f65a532a96b0ba12dca7499c5b9a86.tar.lz seitan-4bd39f7f39f65a532a96b0ba12dca7499c5b9a86.tar.xz seitan-4bd39f7f39f65a532a96b0ba12dca7499c5b9a86.tar.zst seitan-4bd39f7f39f65a532a96b0ba12dca7499c5b9a86.zip |
Rename field old to oldfd
Signed-off-by: Alice Frosi <afrosi@redhat.com>
-rw-r--r-- | actions.c | 4 | ||||
-rw-r--r-- | gluten.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -215,7 +215,7 @@ int do_actions(struct action actions[], unsigned int n_actions, int pid, resp_fd.id = id; resp_fd.flags |= SECCOMP_ADDFD_FLAG_SEND; resp_fd.newfd = actions[i].inj.newfd; - resp_fd.srcfd = actions[i].inj.old; + resp_fd.srcfd = actions[i].inj.oldfd; resp_fd.flags |= SECCOMP_ADDFD_FLAG_SETFD; if (send_inject_target(&resp_fd, notifyfd) == -1) return -1; @@ -223,7 +223,7 @@ int do_actions(struct action actions[], unsigned int n_actions, int pid, case A_INJECT: resp_fd.id = id; resp_fd.newfd = actions[i].inj.newfd; - resp_fd.srcfd = actions[i].inj.old; + resp_fd.srcfd = actions[i].inj.oldfd; resp_fd.flags |= SECCOMP_ADDFD_FLAG_SETFD; if (send_inject_target(&resp_fd, notifyfd) == -1) return -1; @@ -72,7 +72,7 @@ struct act_return { struct act_inject { uint32_t newfd; - uint32_t old; + uint32_t oldfd; }; struct action { |