Home
last modified time | relevance | path

Searched refs:addfd (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/kernel/
A Dseccomp.c101 struct list_head addfd; member
1065 if (!addfd->setfd) in seccomp_handle_addfd()
1066 fd = receive_fd(addfd->file, addfd->flags); in seccomp_handle_addfd()
1068 fd = receive_fd_replace(addfd->fd, addfd->file, addfd->flags); in seccomp_handle_addfd()
1069 addfd->ret = fd; in seccomp_handle_addfd()
1146 addfd = list_first_entry_or_null(&n.addfd, in seccomp_do_user_notification()
1149 if (addfd) in seccomp_do_user_notification()
1160 list_for_each_entry_safe(addfd, tmp, &n.addfd, list) { in seccomp_do_user_notification()
1162 addfd->ret = -ESRCH; in seccomp_do_user_notification()
1609 ret = copy_struct_from_user(&addfd, sizeof(addfd), uaddfd, size); in seccomp_notify_addfd()
[all …]
/linux-6.3-rc2/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c4077 addfd.newfd = 0; in TEST()
4078 addfd.id = req.id; in TEST()
4091 addfd.flags = 0; in TEST()
4094 addfd.newfd = 1; in TEST()
4097 addfd.newfd = 0; in TEST()
4105 big.addfd = addfd; in TEST()
4117 big.addfd = addfd; in TEST()
4122 addfd.newfd = 42; in TEST()
4150 addfd.newfd = 0; in TEST()
4227 addfd.newfd = 0; in TEST()
[all …]

Completed in 21 milliseconds