Searched refs:UID_MAP (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/syscalls/getxattr/ |
D | getxattr05.c | 42 #define UID_MAP "/proc/self/uid_map" macro 103 if (access(UID_MAP, F_OK)) in do_unshare() 104 tst_brk(TBROK, "file %s didn't exist", UID_MAP); in do_unshare() 106 SAFE_FILE_PRINTF(UID_MAP, "%d %d %d", 0, 0, 1); in do_unshare()
|
/external/ltp/testcases/kernel/containers/userns/ |
D | userns_helper.h | 19 #define UID_MAP 0 macro 50 if (type == UID_MAP) in updatemap()
|
D | userns03.c | 57 #define UID_MAP 0 macro 222 updatemap(cpid1, UID_MAP, CHILD1UID, parentuid, cleanup); in main() 223 updatemap(cpid2, UID_MAP, CHILD2UID, parentuid, cleanup); in main()
|
D | userns07.c | 70 updatemap(cpid1, UID_MAP, 0, parentuid, NULL); in child_fn1() 111 updatemap(cpid1, UID_MAP, 0, parentuid, cleanup); in test_max_nest()
|
D | userns06.c | 149 updatemap(cpid1, UID_MAP, CHILD1UID, parentuid, cleanup); in main() 150 updatemap(cpid2, UID_MAP, CHILD2UID, parentuid, cleanup); in main()
|