Home
last modified time | relevance | path

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

12

/third_party/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 ((int)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.c109 uid_t user_id; in main() local
117 user_id = geteuid(); in main()
118 UID16_CHECK(user_id, lchown, cleanup); in main()
134 TEST(LCHOWN(cleanup, file_name, user_id, group_id)); in main()
/third_party/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()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dsouphttpsrc.c76 static const char *user_id = NULL; variable
189 if (user_id != NULL) in run_test()
190 g_object_set (src, "user-id", user_id, NULL); in run_test()
323 user_id = good_user; in GST_START_TEST()
326 GST_DEBUG ("Basic Auth user %s password %s res = %d", user_id, user_pw, res); in GST_START_TEST()
327 user_id = user_pw = NULL; in GST_START_TEST()
337 user_id = bad_user; in GST_START_TEST()
340 GST_DEBUG ("Basic Auth user %s password %s res = %d", user_id, user_pw, res); in GST_START_TEST()
341 user_id = user_pw = NULL; in GST_START_TEST()
351 user_id = good_user; in GST_START_TEST()
[all …]
/third_party/selinux/secilc/docs/
Dcil_user_statements.md12 (user user_id)
28 <td align="left"><p><code>user_id</code></p></td>
52 (userrole user_id role_id)
68 <td align="left"><p><code>user_id</code></p></td>
138 (userattributeset userattribute_id (user_id ... | expr ...))
158 <td align="left"><p><code>user_id</code></p></td>
160 <p>Note that there must be at least one <code>user_id</code> or <code>expr</code> parameter declare…
165 <p><code> (and (user_id ...) (user_id ...))</code></p>
166 <p><code> (or (user_id ...) (user_id ...))</code></p>
167 <p><code> (xor (user_id ...) (user_id ...))</code></p>
[all …]
Dcil_constraint_statements.md37 <p><code> (op u1 user_id | (user_id ...))</code></p>
38 <p><code> (op u2 user_id | (user_id ...))</code></p>
49 <p><code> user_id : A single user or userattribute identifier.</code></p>
128 <p><code> (op u1 user_id)</code></p>
129 <p><code> (op u2 user_id)</code></p>
130 <p><code> (op u3 user_id)</code></p>
144 <p><code> user_id : A single user or userattribute identifier.</code></p>
207 <p><code> (op u1 user_id)</code></p>
208 <p><code> (op u2 user_id)</code></p>
219 <p><code> user_id : A single user or userattribute identifier.</code></p>
[all …]
Dcil_context_statement.md20 (context context_id (user_id role_id type_id levelrange_id)))
40 <td align="left"><p><code>user_id</code></p></td>
/third_party/ltp/testcases/kernel/syscalls/getresgid/
Dgetresgid02.c141 struct passwd *user_id; /* passwd struct for test user */ in setup() local
153 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup()
158 pe_gid = user_id->pw_gid; in setup()
161 ps_gid = user_id->pw_gid; in setup()
Dgetresgid03.c144 struct passwd *user_id; /* passwd struct for test user */ in setup() local
159 if ((user_id = getpwnam("nobody")) == NULL) { in setup()
165 pe_gid = user_id->pw_gid; in setup()
/third_party/ltp/testcases/kernel/syscalls/fstat/
Dfstat02.c24 static uid_t user_id; variable
40 if (stat_buf.st_uid != user_id) { in run()
42 stat_buf.st_uid, user_id); in run()
72 user_id = getuid(); in setup()
/third_party/ltp/testcases/kernel/syscalls/getresuid/
Dgetresuid02.c138 struct passwd *user_id; /* passwd struct for test user */ in setup() local
150 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup()
155 pe_uid = user_id->pw_uid; in setup()
158 ps_uid = user_id->pw_uid; in setup()
Dgetresuid03.c139 struct passwd *user_id; /* passwd struct for test user */ in setup() local
154 if ((user_id = getpwnam("nobody")) == NULL) { in setup()
160 pe_uid = user_id->pw_uid; in setup()
/third_party/ltp/testcases/kernel/syscalls/stat/
Dstat01.c25 uid_t user_id; variable
50 if (stat_buf.st_uid != user_id) { in verify_stat()
52 stat_buf.st_uid, user_id); in verify_stat()
98 user_id = getuid(); in setup()
/third_party/ltp/testcases/kernel/syscalls/lstat/
Dlstat01.c26 static uid_t user_id; variable
40 stat_buf.st_uid != user_id || in run()
53 user_id = getuid(); in setup()
/third_party/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()
/third_party/gstreamer/gstplugins_good/ext/soup/
Dgstsouphttpclientsink.c230 souphttpsink->user_id = NULL; in gst_soup_http_client_sink_init()
325 g_free (souphttpsink->user_id); in gst_soup_http_client_sink_set_property()
326 souphttpsink->user_id = g_value_dup_string (value); in gst_soup_http_client_sink_set_property()
397 g_value_set_string (value, souphttpsink->user_id); in gst_soup_http_client_sink_get_property()
457 g_free (souphttpsink->user_id); in gst_soup_http_client_sink_finalize()
904 if (souphttpsink->user_id && souphttpsink->user_pw) in authenticate()
905 _soup_auth_authenticate (auth, souphttpsink->user_id, in authenticate()
Dgstsouphttpclientsink.h61 char *user_id; member
Dgstsouphttpsrc.h70 gchar *user_id; /* Authentication user id for location URI. */ member
/third_party/spirv-tools/source/opt/
Dssa_rewrite_pass.cpp104 for (uint32_t user_id : phi_to_remove.users()) { in ReplacePhiUsersWith() local
105 PhiCandidate* user_phi = GetPhiCandidate(user_id); in ReplacePhiUsersWith()
106 BasicBlock* bb = pass_->context()->get_instr_block(user_id); in ReplacePhiUsersWith()
115 } else if (bb->id() == user_id) { in ReplacePhiUsersWith()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dssa_rewrite_pass.cpp105 for (uint32_t user_id : phi_to_remove.users()) { in ReplacePhiUsersWith() local
106 PhiCandidate* user_phi = GetPhiCandidate(user_id); in ReplacePhiUsersWith()
107 BasicBlock* bb = pass_->context()->get_instr_block(user_id); in ReplacePhiUsersWith()
116 } else if (bb->id() == user_id) { in ReplacePhiUsersWith()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dssa_rewrite_pass.cpp105 for (uint32_t user_id : phi_to_remove.users()) { in ReplacePhiUsersWith() local
106 PhiCandidate* user_phi = GetPhiCandidate(user_id); in ReplacePhiUsersWith()
107 BasicBlock* bb = pass_->context()->get_instr_block(user_id); in ReplacePhiUsersWith()
116 } else if (bb->id() == user_id) { in ReplacePhiUsersWith()
/third_party/ltp/testcases/kernel/security/prot_hsymlinks/
Dprot_hsymlinks.c563 uid_t user_id = 0; in set_user() local
573 user_id = pswd->pw_uid; in set_user()
578 SAFE_SETEUID(cleanup, user_id); in set_user()
/third_party/selinux/checkpolicy/
Dmodule_compiler.c462 char *user_id, user_datum_t *user) in user_implicit_bounds() argument
467 delim = strrchr(user_id, '.'); in user_implicit_bounds()
471 bounds_id = strdup(user_id); in user_implicit_bounds()
476 bounds_id[(size_t)(delim - user_id)] = '\0'; in user_implicit_bounds()
481 bounds_id, user_id); in user_implicit_bounds()
489 user_id, bounds_id, in user_implicit_bounds()
/third_party/ffmpeg/doc/examples/
Davio_list_dir.c82 snprintf(uid_and_gid, 20, "%"PRId64"(%"PRId64")", entry->user_id, entry->group_id); in list_op()
/third_party/mbedtls/include/psa/
Dcrypto_extra.h1391 uint8_t *user_id, size_t user_id_size, size_t *user_id_len);
1585 const uint8_t *user_id,

12