HomeSort by relevance Sort by last modified time
    Searched refs:ltpuser (Results 76 - 94 of 94) sorted by null

1 2 34

  /external/ltp/testcases/kernel/syscalls/move_pages/
move_pages11.c 202 struct passwd *ltpuser; local
210 if ((ltpuser = getpwnam("nobody")) == NULL) {
214 SAFE_SETEUID(NULL, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/readlink/
readlink03.c 117 struct passwd *ltpuser; local
124 ltpuser = SAFE_GETPWNAM(cleanup, "nobody");
125 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/sysctl/
sysctl03.c 103 struct passwd *ltpuser; local
145 if ((ltpuser = getpwnam("nobody")) == NULL) {
150 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/utime/
utime06.c 59 static struct passwd *ltpuser; variable in typeref:struct:passwd
128 ltpuser = SAFE_GETPWNAM(cleanup, "nobody");
157 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/module/create_module/
create_module02.c 120 struct passwd *ltpuser; variable in typeref:struct:passwd
203 if (seteuid(ltpuser->pw_uid) == -1) {
205 " uid to %d", ltpuser->pw_uid);
253 if ((ltpuser = getpwnam(nobody_uid)) == NULL) {
  /external/ltp/testcases/kernel/syscalls/setns/
setns01.c 105 static struct passwd *ltpuser; variable in typeref:struct:passwd
144 SAFE_SETEUID(NULL, ltpuser->pw_uid);
213 ltpuser = getpwnam(nobody_uid);
214 if (ltpuser == NULL)
  /external/ltp/testcases/kernel/syscalls/stat/
stat03.c 103 struct passwd *ltpuser; variable in typeref:struct:passwd
223 ltpuser = getpwnam(nobody_uid);
224 if (setuid(ltpuser->pw_uid) == -1) {
226 "to set the effective uid to %d", ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/symlink/
symlink03.c 145 struct passwd *ltpuser; variable in typeref:struct:passwd
238 ltpuser = getpwnam(nobody_uid);
239 if (setuid(ltpuser->pw_uid) == -1)
240 tst_resm(TINFO | TERRNO, "setuid(%d) failed", ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/lchown/
lchown02.c 104 static struct passwd *ltpuser; variable in typeref:struct:passwd
174 ltpuser = getpwnam(TEST_USER);
176 if (ltpuser == NULL)
179 if (setgid(ltpuser->pw_uid) == -1)
213 if (seteuid(ltpuser->pw_uid) == -1)
214 tst_resm(TBROK | TERRNO, "seteuid(%d) failed", ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/mount/
mount03.c 133 struct passwd *ltpuser; local
272 ltpuser = getpwnam(nobody_uid);
273 if (setreuid(ltpuser->pw_uid, ltpuser->pw_uid) == -1)
276 ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/acct/
acct01.c 84 static struct passwd *ltpuser; variable in typeref:struct:passwd
127 ltpuser = SAFE_GETPWNAM(cleanup, "nobody");
194 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/chown/
chown04.c 138 struct passwd *ltpuser; local
143 ltpuser = SAFE_GETPWNAM(NULL, "nobody");
178 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/linkat/
linkat02.c 83 static struct passwd *ltpuser; variable in typeref:struct:passwd
159 ltpuser = SAFE_GETPWNAM(cleanup, "nobody");
184 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/truncate/
truncate03.c 119 struct passwd *ltpuser; local
128 ltpuser = SAFE_GETPWNAM(cleanup, "nobody");
129 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/migrate_pages/
migrate_pages02.c 72 static struct passwd *ltpuser; variable in typeref:struct:passwd
212 SAFE_SETEUID(NULL, ltpuser->pw_uid);
268 SAFE_SETEUID(NULL, ltpuser->pw_uid);
289 SAFE_SETEUID(NULL, ltpuser->pw_uid);
390 ltpuser = getpwnam(nobody_uid);
391 if (ltpuser == NULL)
migrate_pages01.c 168 struct passwd *ltpuser; local
183 ltpuser = getpwnam(nobody_uid);
184 if (ltpuser == NULL)
186 SAFE_SETUID(NULL, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/cma/
process_vm01.c 334 struct passwd *ltpuser; local
349 ltpuser = getpwnam(nobody_uid);
350 if (ltpuser == NULL)
352 SAFE_SETUID(NULL, ltpuser->pw_uid);
  /external/ltp/testcases/kernel/syscalls/nftw/
nftw.c 49 struct passwd *ltpuser; /* password struct for ltpuser */ variable in typeref:struct:passwd
680 if ((ltpuser = getpwnam("nobody")) == NULL) {
686 setuid(ltpuser->pw_uid);
nftw64.c 49 struct passwd *ltpuser; /* password struct for ltpuser */ variable in typeref:struct:passwd
707 if ((ltpuser = getpwnam("nobody")) == NULL) {
713 setuid(ltpuser->pw_uid);

Completed in 457 milliseconds

1 2 34