Home
last modified time | relevance | path

Searched refs:user_id (Results 1 – 25 of 44) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/chown/
Dchown05.c88 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()
Dchown02.c98 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()
Dchown03.c103 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/
Dfchown05.c45 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()
Dfchown03.c64 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()
Dfchown02.c58 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/
Dlchown01.c55 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()
Dlchown02.c112 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/
Denrollment.py31 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/
Dfs_perms.c69 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/
Denterprise_KioskPerf.py48 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/
Dcil_user_statements.md11 (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 …]
Dcil_constraint_statements.md35 <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/
Dsanitizer_thread_registry.cc20 : 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/
Dgetresuid02.c139 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()
Dgetresuid03.c141 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/
Dgetresgid02.c142 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()
Dgetresgid03.c146 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/
Dstat01.c44 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/
Dfstat02.c43 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/
Denterprise_RemoraRequisition.py18 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/
Dlstat03.c52 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/
Dschema_051.sql77 `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/
Denterprise_KioskEnrollment.py42 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/
Dasync_handler_jk.c139 int user_id; // User thread - that fires the event in main() local
150 user_id = in main()
155 join_thread(user_id); in main()

12