Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/getxattr/
Dgetxattr05.c42 #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/
Duserns_helper.h19 #define UID_MAP 0 macro
50 if (type == UID_MAP) in updatemap()
Duserns03.c57 #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()
Duserns07.c70 updatemap(cpid1, UID_MAP, 0, parentuid, NULL); in child_fn1()
111 updatemap(cpid1, UID_MAP, 0, parentuid, cleanup); in test_max_nest()
Duserns06.c149 updatemap(cpid1, UID_MAP, CHILD1UID, parentuid, cleanup); in main()
150 updatemap(cpid2, UID_MAP, CHILD2UID, parentuid, cleanup); in main()