From 4bd39f7f39f65a532a96b0ba12dca7499c5b9a86 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Thu, 16 Feb 2023 08:55:02 +0100 Subject: Rename field old to oldfd Signed-off-by: Alice Frosi --- actions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions.c') diff --git a/actions.c b/actions.c index 4cef920..1eb50f1 100644 --- a/actions.c +++ b/actions.c @@ -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; -- cgit v1.2.3