HomeSort by relevance Sort by last modified time
    Searched defs:user_id (Results 1 - 25 of 43) sorted by null

1 2

  /external/ltp/testcases/kernel/syscalls/chown/
chown03.c 102 uid_t user_id; /* Owner id of the test file. */ local
113 UID16_CHECK((user_id = geteuid()), "chown", cleanup)
128 if (stat_buf.st_uid != user_id ||
133 stat_buf.st_gid, user_id, group_id);
chown05.c 87 uid_t user_id; member in struct:test_case_t
107 uid_t user_id; /* user id of the user set for testfile */ local
119 user_id = test_cases[i].user_id;
122 TEST(CHOWN(cleanup, TESTFILE, user_id, group_id));
130 if (user_id == -1)
131 user_id = test_cases[i - 1].user_id;
135 if (stat_buf.st_uid != user_id ||
139 "%d", TESTFILE, user_id,
    [all...]
chown02.c 97 uid_t user_id; member in struct:test_case_t
119 uid_t user_id; /* user id of the user set for testfile */ local
135 user_id = test_cases[i].user_id;
143 TEST(CHOWN(cleanup, file_name, user_id, group_id));
164 if (stat_buf.st_uid != user_id ||
169 user_id, group_id);
chown04.c 100 uid_t user_id; local
107 UID16_CHECK((user_id = geteuid()), "chown", cleanup)
114 TEST(CHOWN(cleanup, tc[i].pathname, user_id, group_id));
  /external/ltp/testcases/kernel/syscalls/fchown/
fchown03.c 64 uid_t user_id; local
74 user_id = geteuid();
87 if ((stat_buf.st_uid != user_id) ||
91 TESTFILE, user_id, group_id);
fchown05.c 45 uid_t user_id; member in struct:test_case_t
66 uid_t user_id; local
77 user_id = tc[i].user_id;
80 TEST(FCHOWN(cleanup, fildes, user_id, group_id));
90 if (user_id == (uid_t)-1)
91 user_id = tc[i - 1].user_id;
96 if ((stat_buf.st_uid != user_id) ||
100 TESTFILE, user_id, group_id)
    [all...]
fchown02.c 58 uid_t user_id; member in struct:test_case
74 TEST(FCHOWN(cleanup, *t->fd, t->user_id, t->group_id));
83 if ((stat_buf.st_uid != t->user_id) ||
87 t->pathname, t->user_id, t->group_id,
  /external/ltp/testcases/kernel/syscalls/getresgid/
getresgid02.c 142 struct passwd *user_id; /* passwd struct for test user */ local
154 if ((user_id = getpwnam(LTPUSER)) == NULL) {
159 pe_gid = user_id->pw_gid;
162 ps_gid = user_id->pw_gid;
getresgid03.c 146 struct passwd *user_id; /* passwd struct for test user */ local
161 if ((user_id = getpwnam("nobody")) == NULL) {
167 pe_gid = user_id->pw_gid;
  /external/ltp/testcases/kernel/syscalls/getresuid/
getresuid02.c 139 struct passwd *user_id; /* passwd struct for test user */ local
151 if ((user_id = getpwnam(LTPUSER)) == NULL) {
156 pe_uid = user_id->pw_uid;
159 ps_uid = user_id->pw_uid;
getresuid03.c 141 struct passwd *user_id; /* passwd struct for test user */ local
156 if ((user_id = getpwnam("nobody")) == NULL) {
162 pe_uid = user_id->pw_uid;
  /frameworks/native/libs/vr/libvrflinger/
display_manager_service.cpp 45 const int user_id = message.GetEffectiveUserId(); local
46 const bool trusted = user_id == AID_ROOT || IsTrustedUid(user_id);
95 surface->user_id(), surface->attributes(),
display_surface.h 31 DisplayService* service, int surface_id, int process_id, int user_id,
40 int user_id() const { return user_id_; } function in class:android::dvr::DisplaySurface
56 int surface_id, int process_id, int user_id);
121 int process_id, int user_id)
123 process_id, user_id) {}
141 int user_id)
143 user_id),
  /hardware/libhardware/include/hardware/
hw_auth_token.h 42 uint64_t user_id; // secure user ID, not Android user ID member in struct:__anon43187
  /system/gatekeeper/include/gatekeeper/
password_handle.h 36 secure_id_t user_id; member in struct:gatekeeper::password_handle_t
  /external/ltp/testcases/kernel/syscalls/lchown/
lchown01.c 54 uid_t user_id; member in struct:test_case_t
86 uid_t user_id = test_cases[i].user_id; local
95 TEST(LCHOWN(cleanup, SFILE, user_id, group_id));
110 if (user_id == -1) {
112 user_id =
113 test_cases[i - 1].user_id;
115 user_id = geteuid();
130 if ((stat_buf.st_uid != user_id) ||
135 user_id, group_id)
    [all...]
lchown02.c 111 uid_t user_id; local
119 user_id = geteuid();
120 UID16_CHECK(user_id, lchown, cleanup);
136 TEST(LCHOWN(cleanup, file_name, user_id, group_id));
  /external/ltp/testcases/kernel/syscalls/lstat/
lstat03.c 52 static uid_t user_id; variable
80 if ((stat_buf.st_uid != user_id) ||
114 user_id = getuid();
  /external/ltp/testcases/realtime/func/async_handler/
async_handler_jk.c 139 int user_id; // User thread - that fires the event local
150 user_id =
155 join_thread(user_id);
  /external/ltp/testcases/kernel/fs/fs_perms/
fs_perms.c 69 int user_id, int group_id)
98 if (chown(file_name, user_id, group_id))
106 static int testfperm(const char *file_name, int flag, int user_id,
118 if (setuid(user_id))
120 "Could not setuid to %d.", user_id);
182 uid_t fuser_id, user_id; local
202 user_id = str_to_l(argv[4], "tester uid", 10);
213 res2 = testfperm(TEST_FILE_NAME2, 1, user_id, group_id, fperm);
221 res1 = testfperm(TEST_FILE_NAME1, 0, user_id, group_id, fperm);
225 fperm[0], fmode, fuser_id, fgroup_id, user_id, group_id)
    [all...]
  /external/ltp/testcases/kernel/syscalls/fstat/
fstat02.c 43 static uid_t user_id; variable
62 if (stat_buf.st_uid != user_id) {
64 stat_buf.st_uid, user_id);
142 user_id = getuid();
  /external/ltp/testcases/kernel/syscalls/stat/
stat01.c 44 static uid_t user_id; variable
62 if (stat_buf.st_uid != user_id) {
64 stat_buf.st_uid, user_id);
145 user_id = getuid();
stat02.c 91 uid_t user_id; /* eff. user id/group id of test process */ variable
128 if ((stat_buf.st_uid != user_id) ||
216 user_id = getuid();
  /device/generic/goldfish/gatekeeper/
SoftGateKeeper.h 111 virtual bool GetFailureRecord(uint32_t uid, secure_id_t user_id, failure_record_t *record,
114 if (user_id != stored->secure_user_id) {
115 stored->secure_user_id = user_id;
123 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool /* secure */) {
125 stored->secure_user_id = user_id;
155 uint64_t user_id = android::base::get_unaligned<secure_id_t>(&expected_handle->user_id); local
156 FastHashMap::const_iterator it = fast_hash_map_.find(user_id);
163 fast_hash_map_[user_id] = ComputeFastHash(password, salt);
  /frameworks/native/services/vr/performanced/
task.h 36 const std::array<int, 4>& user_id() const { return user_id_; } function in class:android::dvr::Task

Completed in 6900 milliseconds

1 2