Searched refs:fsfd (Results 1 – 2 of 2) sorted by relevance
| /tools/testing/selftests/filesystems/overlayfs/ |
| A D | dev_in_maps.c | 52 int tmpfs, fsfd, ovl; in ovl_mount() local 54 fsfd = sys_fsopen("tmpfs", 0); in ovl_mount() 55 if (fsfd == -1) in ovl_mount() 61 tmpfs = sys_fsmount(fsfd, 0, 0); in ovl_mount() 65 close(fsfd); in ovl_mount() 77 fsfd = sys_fsopen("overlay", 0); in ovl_mount() 78 if (fsfd == -1) in ovl_mount() 87 ovl = sys_fsmount(fsfd, 0, 0); in ovl_mount() 134 int fsfd; in main() local 137 if (fsfd == -1) { in main() [all …]
|
| /tools/testing/selftests/proc/ |
| A D | proc-fsconfig-hidepid.c | 35 int fsfd, ret; in main() local 38 assert((fsfd = fsopen("proc", 0)) != -1); in main() 40 ret = fsconfig(fsfd, FSCONFIG_SET_BINARY, "hidepid", &hidepid, 0); in main() 44 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "2", 0)); in main() 45 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "invisible", 0)); in main() 47 assert(!close(fsfd)); in main()
|
Completed in 3 milliseconds