HomeSort by relevance Sort by last modified time
    Searched refs:sgid (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /external/minijail/examples/
drop_privs.cpp 27 gid_t rgid, egid, sgid; local
29 getresgid(&rgid, &egid, &sgid);
32 LOG(INFO) << "rgid " << rgid << " egid " << egid << " sgid " << sgid; local
  /external/libchrome/sandbox/linux/services/
syscall_wrappers_unittest.cc 77 gid_t rgid, egid, sgid; local
79 ASSERT_EQ(0, getresgid(&rgid, &egid, &sgid));
83 EXPECT_EQ(sgid, sys_sgid);
syscall_wrappers.cc 117 int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid) {
122 res = syscall(__NR_getresgid32, rgid, egid, sgid);
124 res = syscall(__NR_getresgid, rgid, egid, sgid);
129 if (sgid) MSAN_UNPOISON(sgid, sizeof(*sgid));
syscall_wrappers.h 64 SANDBOX_EXPORT int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid);
credentials.cc 46 gid_t rgid, egid, sgid; local
48 PCHECK(sys_getresgid(&rgid, &egid, &sgid) == 0);
50 const bool gids_are_equal = (rgid == egid) && (rgid == sgid);
  /external/minijail/test/
libminijail_test.cpp 98 gid_t rgid, egid, sgid; local
100 getresgid(&rgid, &egid, &sgid);
103 LOG(INFO) << "rgid " << rgid << " egid " << egid << " sgid " << sgid; local
  /bionic/libc/kernel/uapi/rdma/
ib_user_sa.h 42 __u8 sgid[16]; member in struct:ib_user_path_rec
  /external/kernel-headers/original/uapi/rdma/
ib_user_sa.h 56 __u8 sgid[16]; member in struct:ib_user_path_rec
  /external/libcap-ng/libcap-ng-0.7/utils/
captest.c 58 gid_t gid, egid, sgid; local
68 getresgid(&gid, &egid, &sgid);
79 getresgid(&gid, &egid, &sgid);
89 printf("Group credentials gid:%d egid:%d sgid:%d\n", gid, egid, sgid);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rdma/
ib_user_sa.h 56 __u8 sgid[16]; member in struct:ib_user_path_rec
  /external/squashfs-tools/squashfs-tools/
pseudo.c 279 char suid[100], sgid[100]; /* overflow safe */ local
309 n = sscanf(def, " %c %o %99s %99s %n", &type, &mode, suid, sgid,
418 gid = strtoll(sgid, &ptr, 10);
421 ERROR("Gid %s out of range\n", sgid);
425 struct group *grgid = getgrnam(sgid);
429 ERROR("Gid %s invalid uid or unknown user\n", sgid);
  /system/core/crash_reporter/
user_collector.cc 413 gid_t rgid, egid, sgid; local
414 if (getresgid(&rgid, &egid, &sgid) != 0) {
417 if (setresgid(sgid, sgid, -1) != 0) {
420 if (getresgid(&rgid, &egid, &sgid) != 0) {
613 // access their /proc files. Do not set suid/sgid, so that we can switch
  /development/ndk/platforms/android-12/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /development/ndk/platforms/android-21/include/
unistd.h 91 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /development/ndk/platforms/android-3/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /development/ndk/platforms/android-8/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /development/ndk/platforms/android-9/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
  /prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/
unistd.h 94 extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);

Completed in 1018 milliseconds

1 2 3 4 5