Searched refs:addfd (Results 1 – 2 of 2) sorted by relevance
| /linux/kernel/ |
| H A D | seccomp.c | 92 * dying, a new seccomp addfd message, or changing to REPLIED 98 /* outstanding addfd requests */ 99 struct list_head addfd; member 1124 static void seccomp_handle_addfd(struct seccomp_kaddfd *addfd, struct seccomp_knotif *n) in seccomp_handle_addfd() 1132 list_del_init(&addfd->list); in seccomp_handle_addfd() 1133 if (!addfd->setfd) in seccomp_handle_addfd() 1134 fd = receive_fd(addfd->file, NULL, addfd->flags); in seccomp_handle_addfd() 1136 fd = receive_fd_replace(addfd->fd, addfd in seccomp_handle_addfd() 1123 seccomp_handle_addfd(struct seccomp_kaddfd * addfd,struct seccomp_knotif * n) seccomp_handle_addfd() argument 1171 struct seccomp_kaddfd *addfd, *tmp; seccomp_do_user_notification() local 1716 struct seccomp_notif_addfd addfd; seccomp_notify_addfd() local [all...] |
| /linux/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 286 struct seccomp_notif_addfd addfd; member 4144 struct seccomp_notif_addfd addfd = {}; in TEST() local 4186 addfd.srcfd = memfd; in TEST() 4187 addfd.newfd = 0; in TEST() 4188 addfd.id = req.id; in TEST() 4189 addfd.flags = 0x0; in TEST() 4192 addfd.newfd_flags = ~O_CLOEXEC; in TEST() 4193 EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_ADDFD, &addfd), -1); in TEST() 4195 addfd.newfd_flags = O_CLOEXEC; in TEST() 4198 addfd.flags = 0xff; in TEST() [all …]
|