Home
last modified time | relevance | path

Searched refs:real_uid (Results 1 – 14 of 14) sorted by relevance

/external/ltp/testcases/kernel/syscalls/getresuid/
Dgetresuid01.c87 UID_T real_uid, /* real/eff./saved user id from getresuid() */ in main() local
102 TEST(GETRESUID(cleanup, &real_uid, &eff_uid, &sav_uid)); in main()
110 if ((real_uid != pr_uid) || (eff_uid != pe_uid) || in main()
114 real_uid, eff_uid, sav_uid); in main()
Dgetresuid03.c91 UID_T real_uid, /* real/eff./saved user id from getresuid() */ in main() local
107 TEST(GETRESUID(cleanup, &real_uid, &eff_uid, &sav_uid)); in main()
115 if ((real_uid != pr_uid) || (eff_uid != pe_uid) || in main()
119 real_uid, eff_uid, sav_uid); in main()
Dgetresuid02.c92 UID_T real_uid, /* real/eff./saved user id from getresuid() */ in main() local
108 TEST(GETRESUID(cleanup, &real_uid, &eff_uid, &sav_uid)); in main()
116 if ((real_uid != pr_uid) || (eff_uid != pe_uid) || in main()
120 real_uid, eff_uid, sav_uid); in main()
/external/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid03.c50 uid_t *real_uid; member
109 TEST(SETREUID(cleanup, *test_data[i].real_uid, in main()
119 *test_data[i].real_uid, in main()
125 *test_data[i].real_uid, in main()
130 *test_data[i].real_uid, in main()
136 *test_data[i].real_uid, in main()
Dsetreuid05.c43 uid_t *real_uid; member
105 TEST(SETREUID(cleanup, *test_data[i].real_uid, in main()
116 [i].real_uid, in main()
124 *test_data[i].real_uid, in main()
130 *test_data[i].real_uid, in main()
136 *test_data[i].real_uid, in main()
Dsetreuid04.c46 uid_t *real_uid; member
83 TEST(SETREUID(cleanup, *test_data[i].real_uid, in main()
89 *test_data[i].real_uid, in main()
94 *test_data[i].real_uid, in main()
Dsetreuid02.c44 uid_t *real_uid; member
82 TEST(SETREUID(cleanup, *test_data[i].real_uid, in main()
87 *test_data[i].real_uid, in main()
/external/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid02.c88 uid_t *real_uid; member
138 TEST(SETRESUID(NULL, *test_data[i].real_uid, in main()
145 *test_data[i].real_uid, in main()
151 *test_data[i].real_uid, in main()
Dsetresuid03.c94 uid_t *real_uid; member
147 TEST(SETRESUID(NULL, *test_data[i].real_uid, in main()
155 *test_data[i].real_uid, in main()
161 *test_data[i].real_uid, in main()
Dsetresuid01.c86 uid_t *real_uid; member
138 TEST(SETRESUID(cleanup, *test_data[i].real_uid, in main()
144 *test_data[i].real_uid, in main()
/external/ltp/testcases/network/packet/
Dfanout01.c33 int real_uid = getuid(); in setup() local
45 FILE_PRINTF("/proc/self/uid_map", "0 %d 1\n", real_uid); in setup()
/external/libchrome/base/memory/
Dshared_memory_posix.cc145 const uid_t real_uid = getuid(); in Create() local
149 (fstat(fd.get(), &sb) != 0 || sb.st_uid != real_uid || in Create()
/external/syzkaller/executor/
Dcommon_linux.h1607 static int real_uid; variable
1617 if (!write_file("/proc/self/uid_map", "0 %d 1\n", real_uid)) in namespace_sandbox_proc()
1728 real_uid = getuid(); in do_sandbox_namespace()
/external/syzkaller/pkg/csource/
Dgenerated.go3100 static int real_uid;
3108 if (!write_file("/proc/self/uid_map", "0 %d 1\n", real_uid))
3206 real_uid = getuid();