Home
last modified time | relevance | path

Searched refs:pw_gid (Results 51 - 75 of 99) sorted by relevance

1234

/third_party/ltp/testcases/kernel/syscalls/execve/
H A Dexecve03.c88 SAFE_SETGID(ltpuser->pw_gid); in setup()
/third_party/ltp/testcases/kernel/syscalls/utime/
H A Dutime03.c52 SAFE_CHOWN(TEMP_FILE, pw->pw_uid, pw->pw_gid); in setup()
H A Dutime02.c40 SAFE_CHOWN(TEMP_FILE, pw->pw_uid, pw->pw_gid); in setup()
/third_party/ltp/testcases/kernel/syscalls/fchown/
H A Dfchown03.c78 SAFE_SETEGID(ltpuser->pw_gid); in setup()
/third_party/ltp/testcases/kernel/connectors/pec/
H A Devent_generator.c185 ltp_gid = ent->pw_gid; in main()
/third_party/musl/src/passwd/
H A Dgetpw_a.c113 pw->pw_gid = passwdbuf[PWGID]; in __getpw_a()
/third_party/ltp/testcases/kernel/syscalls/creat/
H A Dcreat08.c43 nobody_gid = ltpuser->pw_gid; in setup()
/third_party/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod03.c224 group1_gid = user1->pw_gid; in setup()
H A Dmknod04.c229 group1_gid = user1->pw_gid; in setup()
H A Dmknod08.c225 group1_gid = user1->pw_gid; in setup()
H A Dmknod05.c221 group1_gid = user1->pw_gid; in setup()
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen10.c41 nobody_gid = ltpuser->pw_gid; in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/
H A Dshmget02.c104 SAFE_SETGID(pw->pw_gid); in do_test()
/third_party/toybox/openharmony/
H A Dsu.c88 if (initgroups(pwd->pw_name, pwd->pw_gid) || setgid(pwd->pw_uid) || setuid(pwd->pw_uid)) in xsetuser()
/third_party/toybox/toys/other/
H A Dlogin.c119 if (fchown(tty, pwd->pw_uid, pwd->pw_gid) || fchmod(tty, 0600)) in login_main()
/third_party/toybox/toys/posix/
H A Did.c99 gid = egid = pw->pw_gid; in do_id()
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount03.c196 nobody_gid = ltpuser->pw_gid; in setup()
/third_party/rust/crates/libc/src/unix/linux_like/android/b32/
H A Dmod.rs135 pub pw_gid: ::gid_t,
/third_party/python/Modules/
H A Dpwdmodule.c19 {"pw_gid", "group id"},
29 (pw_name,pw_passwd,pw_uid,pw_gid,pw_gecos,pw_dir,pw_shell)\n\
45 pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell.\n\
96 PyStructSequence_SET_ITEM(v, setIndex++, _PyLong_FromGid(p->pw_gid)); in mkpwent()
/third_party/curl/lib/
H A Dsetup-vms.h180 vms_passwd_cache.pw_gid = my_passwd->pw_uid; in vms_getpwuid()
/third_party/libfuse/util/
H A Dmount.fuse.c410 if (!pwd || setgid(pwd->pw_gid) == -1 || setuid(pwd->pw_uid) == -1) { in main()
/third_party/rust/crates/libc/src/unix/linux_like/android/b64/
H A Dmod.rs41 pub pw_gid: ::gid_t,
/third_party/selinux/libselinux/src/
H A Dseusers.c107 gid = pwent->pw_gid; in get_default_gid()
/third_party/libuv/test/
H A Dtest-spawn.c1482 options.gid = pw->pw_gid; in TEST_IMPL()
1484 snprintf(gidstr, sizeof(gidstr), "%d", pw->pw_gid); in TEST_IMPL()
1519 ASSERT_OK(setgid(pw->pw_gid)); in TEST_IMPL()
1570 ASSERT_OK(setgid(pw->pw_gid)); in TEST_IMPL()
/kernel/linux/linux-6.6/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c124 p.pw_gid=uid; in ensure_user_exists()

Completed in 16 milliseconds

1234