F_GETFD
case F_GETFD:
case F_GETFD:
{ F_GETFD, "GETFD" }, \
{ F_GETFD, "GETFD" }, \
ret = my_syscall2(nr_fcntl, old, F_GETFD);
if (arg->val == F_GETFD) {
int flags = fcntl(open_fds[i], F_GETFD);
int flags = fcntl(open_fds[i], F_GETFD);
int flags = fcntl(open_fds[i], F_GETFD);
int flags = fcntl(open_fds[i], F_GETFD);
int flags = fcntl(open_fds[i], F_GETFD);
int flags = fcntl(open_fds[i], F_GETFD);
int flags = fcntl(open_fds[i], F_GETFD);
int flags = fcntl(open_fds[i], F_GETFD);
flags = fcntl(fd1, F_GETFD);
flags = fcntl(fd2, F_GETFD);
flags = fcntl(fd3, F_GETFD);
flags = fcntl(fd1, F_GETFD);
flags = fcntl(fd2, F_GETFD);
flags = fcntl(fd3, F_GETFD);
flags = fcntl(fd1, F_GETFD);
flags = fcntl(fd2, F_GETFD);
flags = fcntl(fd3, F_GETFD);
flags = fcntl(fd1, F_GETFD);
flags = fcntl(fd2, F_GETFD);
flags = fcntl(fd3, F_GETFD);
ASSERT_EQ(fcntl(64, F_GETFD), -1);
flags = fcntl(fd, F_GETFD);
flags = fcntl(fd, F_GETFD);
TEST_ASSERT(fcntl(stats_fd, F_GETFD) == -1, "Stats fd not freed");
gopts->uffd_flags = fcntl(gopts->uffd, F_GETFD, NULL);
otherflags = fcntl(fd, F_GETFD);
ret = fcntl(fd, F_GETFD);
if (fcntl(i, F_GETFD) == -1)
if (fcntl(syscall(__NR_getppid), F_GETFD) == -1)
status = fcntl(fd, F_GETFD, 0);