Searched refs:addfd (Results 1 - 2 of 2) sorted by relevance
/linux-master/kernel/ |
H A D | seccomp.c | 94 * dying, a new seccomp addfd message, or changing to REPLIED 100 /* outstanding addfd requests */ 101 struct list_head addfd; member in struct:seccomp_knotif 1065 static void seccomp_handle_addfd(struct seccomp_kaddfd *addfd, struct seccomp_knotif *n) argument 1073 list_del_init(&addfd->list); 1074 if (!addfd->setfd) 1075 fd = receive_fd(addfd->file, NULL, addfd->flags); 1077 fd = receive_fd_replace(addfd->fd, addfd 1113 struct seccomp_kaddfd *addfd, *tmp; local 1661 struct seccomp_notif_addfd addfd; local [all...] |
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 258 struct seccomp_notif_addfd addfd; member in union:seccomp_notif_addfd_big::__anon3488 4061 struct seccomp_notif_addfd addfd = {}; local 4094 /* Atomic addfd+send is received here. Check it is a valid fd */ 4103 addfd.srcfd = memfd; 4104 addfd.newfd = 0; 4105 addfd.id = req.id; 4106 addfd.flags = 0x0; 4109 addfd.newfd_flags = ~O_CLOEXEC; 4110 EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_ADDFD, &addfd), -1); 4112 addfd 4223 struct seccomp_notif_addfd addfd = {}; local [all...] |
Completed in 91 milliseconds