Searched refs:mfd (Results 1 - 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/fsmount/ |
H A D | fsmount01.c | 42 int sfd, mfd; in run() local 66 TEST(mfd = fsmount(sfd, tc->flags, tc->attrs)); in run() 69 if (mfd == -1) { in run() 75 TEST(move_mount(mfd, "", AT_FDCWD, MNTPOINT, MOVE_MOUNT_F_EMPTY_PATH)); in run() 76 SAFE_CLOSE(mfd); in run()
|
/third_party/ltp/testcases/kernel/security/dirtyc0w/ |
H A D | dirtyc0w_child.c | 26 static int mfd; variable 65 lseek(mfd, (uintptr_t) map, SEEK_SET); in proc_self_mem_thread() 66 c += write(mfd, str, strlen(str)); in proc_self_mem_thread() 105 mfd = SAFE_OPEN("/proc/self/mem", O_RDWR); in main()
|
/third_party/python/Lib/test/ |
H A D | test_ioctl.py | 72 mfd, sfd = pty.openpty() 84 new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_pos, our_winsz) 85 new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_maybe_neg, our_winsz) 87 os.close(mfd)
|
Completed in 1 milliseconds