Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c286 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 …]