/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown05.c | 88 uid_t user_id; member 108 uid_t user_id; /* user id of the user set for testfile */ in main() local 120 user_id = test_cases[i].user_id; in main() 123 TEST(CHOWN(cleanup, TESTFILE, user_id, group_id)); in main() 131 if (user_id == -1) in main() 132 user_id = test_cases[i - 1].user_id; in main() 136 if (stat_buf.st_uid != user_id || in main() 140 "%d", TESTFILE, user_id, in main()
|
D | chown02.c | 98 uid_t user_id; member 120 uid_t user_id; /* user id of the user set for testfile */ in main() local 136 user_id = test_cases[i].user_id; in main() 144 TEST(CHOWN(cleanup, file_name, user_id, group_id)); in main() 165 if (stat_buf.st_uid != user_id || in main() 170 user_id, group_id); in main()
|
D | chown03.c | 103 uid_t user_id; /* Owner id of the test file. */ in main() local 114 UID16_CHECK((user_id = geteuid()), "chown", cleanup) in main() 129 if (stat_buf.st_uid != user_id || in main() 134 stat_buf.st_gid, user_id, group_id); in main()
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown05.c | 45 uid_t user_id; member 66 uid_t user_id; in main() local 77 user_id = tc[i].user_id; in main() 80 TEST(FCHOWN(cleanup, fildes, user_id, group_id)); in main() 90 if (user_id == (uid_t)-1) in main() 91 user_id = tc[i - 1].user_id; in main() 96 if ((stat_buf.st_uid != user_id) || in main() 100 TESTFILE, user_id, group_id); in main()
|
D | fchown03.c | 64 uid_t user_id; in main() local 74 user_id = geteuid(); in main() 87 if ((stat_buf.st_uid != user_id) || in main() 91 TESTFILE, user_id, group_id); in main()
|
D | fchown02.c | 58 uid_t user_id; member 74 TEST(FCHOWN(cleanup, *t->fd, t->user_id, t->group_id)); in verify_fchown() 83 if ((stat_buf.st_uid != t->user_id) || in verify_fchown() 87 t->pathname, t->user_id, t->group_id, in verify_fchown()
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown01.c | 55 uid_t user_id; member 87 uid_t user_id = test_cases[i].user_id; in main() local 96 TEST(LCHOWN(cleanup, SFILE, user_id, group_id)); in main() 111 if (user_id == -1) { in main() 113 user_id = in main() 114 test_cases[i - 1].user_id; in main() 116 user_id = geteuid(); in main() 131 if ((stat_buf.st_uid != user_id) || in main() 136 user_id, group_id); in main()
|
D | lchown02.c | 112 uid_t user_id; in main() local 120 user_id = geteuid(); in main() 121 UID16_CHECK(user_id, lchown, cleanup); in main() 137 TEST(LCHOWN(cleanup, file_name, user_id, group_id)); in main()
|
/external/autotest/client/common_lib/cros/ |
D | enrollment.py | 31 def RemoraEnrollment(browser, user_id, password): argument 40 user_id, password, enterprise_enroll=True, 44 def EnterpriseEnrollment(browser, user_id, password, auto_login=False): argument 52 browser.oobe.NavigateGaiaLogin(user_id, password, 56 browser.oobe.NavigateGaiaLogin(user_id, password) 61 def EnterpriseFakeEnrollment(browser, user_id, password, gaia_id, argument 71 browser.oobe.NavigateFakeLogin(user_id, password, gaia_id, 74 browser.oobe.NavigateFakeLogin(user_id, password, gaia_id)
|
/external/ltp/testcases/kernel/fs/fs_perms/ |
D | fs_perms.c | 69 int user_id, int group_id) in testsetup() argument 98 if (chown(file_name, user_id, group_id)) in testsetup() 106 static int testfperm(const char *file_name, int flag, int user_id, in testfperm() argument 118 if (setuid(user_id)) in testfperm() 120 "Could not setuid to %d.", user_id); in testfperm() 182 uid_t fuser_id, user_id; in main() local 202 user_id = str_to_l(argv[4], "tester uid", 10); in main() 213 res2 = testfperm(TEST_FILE_NAME2, 1, user_id, group_id, fperm); in main() 221 res1 = testfperm(TEST_FILE_NAME1, 0, user_id, group_id, fperm); in main() 225 fperm[0], fmode, fuser_id, fgroup_id, user_id, group_id); in main()
|
/external/autotest/client/site_tests/enterprise_KioskPerf/ |
D | enterprise_KioskPerf.py | 48 def verify_enrollment(self, user_id): argument 51 if not user_id in f.read(): 56 user_id, password = utils.get_signin_credentials(os.path.join( 58 if not (user_id and password): 64 user_id, password, 68 self.verify_enrollment(user_id)
|
/external/selinux/secilc/docs/ |
D | cil_user_statements.md | 11 (user user_id) 26 <td align="left"><p><code>user_id</code></p></td> 47 (userrole user_id role_id) 62 <td align="left"><p><code>user_id</code></p></td> 125 (userattributeset userattribute_id (user_id ... | expr ...)) 144 <td align="left"><p><code>user_id</code></p></td> 146 <p>Note that there must be at least one <code>user_id</code> or <code>expr</code> parameter declare… 151 <p><code> (and (user_id ...) (user_id ...))</code></p> 152 <p><code> (or (user_id ...) (user_id ...))</code></p> 153 <p><code> (xor (user_id ...) (user_id ...))</code></p> [all …]
|
D | cil_constraint_statements.md | 35 <p><code> (op u1 user_id)</code></p> 36 <p><code> (op u2 user_id)</code></p> 47 <p><code> user_id : A single user or userattribute identifier.</code></p> 122 <p><code> (op u1 user_id)</code></p> 123 <p><code> (op u2 user_id)</code></p> 124 <p><code> (op u3 user_id)</code></p> 138 <p><code> user_id : A single user or userattribute identifier.</code></p> 197 <p><code> (op u1 user_id)</code></p> 198 <p><code> (op u2 user_id)</code></p> 209 <p><code> user_id : A single user or userattribute identifier.</code></p> [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_thread_registry.cc | 20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase() 43 user_id = 0; in SetDead() 52 user_id = 0; in SetJoined() 71 user_id = _user_id; in SetCreated() 121 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument 152 tctx->SetCreated(user_id, total_threads_++, detached, in CreateThread() 209 void ThreadRegistry::SetThreadNameByUserId(uptr user_id, const char *name) { in SetThreadNameByUserId() argument 213 if (tctx != 0 && tctx->user_id == user_id && in SetThreadNameByUserId()
|
/external/ltp/testcases/kernel/syscalls/getresuid/ |
D | getresuid02.c | 139 struct passwd *user_id; /* passwd struct for test user */ in setup() local 151 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup() 156 pe_uid = user_id->pw_uid; in setup() 159 ps_uid = user_id->pw_uid; in setup()
|
D | getresuid03.c | 141 struct passwd *user_id; /* passwd struct for test user */ in setup() local 156 if ((user_id = getpwnam("nobody")) == NULL) { in setup() 162 pe_uid = user_id->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/getresgid/ |
D | getresgid02.c | 142 struct passwd *user_id; /* passwd struct for test user */ in setup() local 154 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup() 159 pe_gid = user_id->pw_gid; in setup() 162 ps_gid = user_id->pw_gid; in setup()
|
D | getresgid03.c | 146 struct passwd *user_id; /* passwd struct for test user */ in setup() local 161 if ((user_id = getpwnam("nobody")) == NULL) { in setup() 167 pe_gid = user_id->pw_gid; in setup()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
D | stat01.c | 44 static uid_t user_id; variable 62 if (stat_buf.st_uid != user_id) { in verify() 64 stat_buf.st_uid, user_id); in verify() 145 user_id = getuid(); in setup()
|
/external/ltp/testcases/kernel/syscalls/fstat/ |
D | fstat02.c | 43 static uid_t user_id; variable 62 if (stat_buf.st_uid != user_id) { in verify() 64 stat_buf.st_uid, user_id); in verify() 142 user_id = getuid(); in setup()
|
/external/autotest/client/site_tests/enterprise_RemoraRequisition/ |
D | enterprise_RemoraRequisition.py | 18 user_id, password = utils.get_signin_credentials(os.path.join( 20 if not (user_id and password): 26 enrollment.RemoraEnrollment(cr.browser, user_id, password)
|
/external/ltp/testcases/kernel/syscalls/lstat/ |
D | lstat03.c | 52 static uid_t user_id; variable 80 if ((stat_buf.st_uid != user_id) || in main() 114 user_id = getuid(); in setup()
|
/external/autotest/database/ |
D | schema_051.sql | 77 `user_id` int(11) default NULL, 78 UNIQUE KEY `acl_groups_users_both_ids` (`aclgroup_id`,`user_id`), 79 KEY `acl_groups_users_user_id` (`user_id`), 81 …CONSTRAINT `acl_groups_users_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `afe_users` (`id`) ON … 563 `user_id` int(11) NOT NULL, 571 KEY `planner_history_user_id` (`user_id`), 575 CONSTRAINT `history_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `afe_users` (`id`) 647 `user_id` int(11) NOT NULL, 649 UNIQUE KEY `plan_id` (`plan_id`,`user_id`), 650 KEY `plan_owners_user_id_fk` (`user_id`), [all …]
|
/external/autotest/client/site_tests/enterprise_KioskEnrollment/ |
D | enterprise_KioskEnrollment.py | 42 user_id, password = utils.get_signin_credentials(os.path.join( 45 if not (user_id and password): 51 enrollment.EnterpriseEnrollment(cr.browser, user_id, password)
|
/external/ltp/testcases/realtime/func/async_handler/ |
D | async_handler_jk.c | 139 int user_id; // User thread - that fires the event in main() local 150 user_id = in main() 155 join_thread(user_id); in main()
|