/external/ltp/testcases/kernel/syscalls/utils/ |
H A D | compat_gid.h | 30 int GID_SIZE_CHECK(gid_t gid) argument 33 Return 0 if gid is too large to store 35 return ((gid) & ~0xFFFF)? 0: 1; 41 int GID_SIZE_CHECK(gid_t gid LTP_ATTRIBUTE_UNUSED)
|
/external/strace/tests/ |
H A D | fchownat.c | 44 uid_t gid = getegid(); local 49 long rc = syscall(__NR_fchownat, AT_FDCWD, sample, uid, gid, 0); 51 sample, uid, gid, sprintrc(rc));
|
H A D | overflowuid.c | 92 check_overflowgid(const int gid) argument 94 check_overflow_id(gid, "/proc/sys/kernel/overflowgid");
|
/external/strace/tests-m32/ |
H A D | fchownat.c | 44 uid_t gid = getegid(); local 49 long rc = syscall(__NR_fchownat, AT_FDCWD, sample, uid, gid, 0); 51 sample, uid, gid, sprintrc(rc));
|
H A D | overflowuid.c | 92 check_overflowgid(const int gid) argument 94 check_overflow_id(gid, "/proc/sys/kernel/overflowgid");
|
/external/strace/tests-mx32/ |
H A D | fchownat.c | 44 uid_t gid = getegid(); local 49 long rc = syscall(__NR_fchownat, AT_FDCWD, sample, uid, gid, 0); 51 sample, uid, gid, sprintrc(rc));
|
H A D | overflowuid.c | 92 check_overflowgid(const int gid) argument 94 check_overflow_id(gid, "/proc/sys/kernel/overflowgid");
|
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | ib_mcast.h | 21 struct ib_gid gid; member in struct:ib_mc_membership 39 struct ib_gid *gid,
|
H A D | ipoib.h | 25 struct ib_gid gid; member in struct:ipoib_mac
|
/external/ltp/testcases/kernel/syscalls/setfsgid/ |
H A D | setfsgid01.c | 43 gid_t gid; local 52 gid = getegid(); 53 GID16_CHECK(gid, setfsgid, cleanup); 55 TEST(SETFSGID(cleanup, gid)); 63 if (TEST_RETURN != gid) { 65 TEST_RETURN, gid);
|
H A D | setfsgid02.c | 46 gid_t gid; local 55 gid = 1; 56 while (getgrgid(gid)) 57 gid++; 59 GID16_CHECK(gid, setfsgid, cleanup); 61 TEST(SETFSGID(cleanup, gid)); 69 if (TEST_RETURN == gid) { 71 TEST_RETURN, gid);
|
H A D | setfsgid03.c | 49 gid_t gid; local 58 gid = 1; 59 while (!getgrgid(gid)) 60 gid++; 62 GID16_CHECK(gid, setfsgid, cleanup); 64 TEST(SETFSGID(cleanup, gid)); 72 if (TEST_RETURN == gid) { 75 TEST_RETURN, gid);
|
/external/ltp/testcases/kernel/syscalls/setgid/ |
H A D | setgid01.c | 50 static gid_t gid; variable 63 TEST(SETGID(cleanup, gid)); 66 tst_resm(TFAIL, "setgid(%d) Failed, errno=%d : %s", gid, 69 tst_resm(TPASS, "setgid(%d) returned %ld", gid, 85 gid = getgid(); 86 GID16_CHECK(gid, setgid, cleanup);
|
/external/ltp/testcases/kernel/syscalls/setregid/ |
H A D | setregid01.c | 53 static gid_t gid, egid; /* current real and effective group id */ variable 69 * Dont change either real or effective gid 71 gid = getgid(); 72 GID16_CHECK(gid, setregid, NULL); 81 "setregid - Dont change either real or effective gid failed, errno=%d : %s", 85 "setregid - Dont change either real or effective gid returned %ld", 91 * change effective to effective gid 98 "setregid - change effective to effective gid failed, errno=%d : %s", 102 "setregid - change effective to effective gid returned %ld", 108 * change real to real gid [all...] |
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | ipcbuf.h | 23 __kernel_gid32_t gid; member in struct:ipc64_perm
|
/external/libbrillo/brillo/ |
H A D | userdb_utils.cc | 19 bool GetUserInfo(const std::string& user, uid_t* uid, gid_t* gid) { argument 33 if (gid) 34 *gid = pwd->pw_gid; 38 bool GetGroupInfo(const std::string& group, gid_t* gid) { argument 50 if (gid) 51 *gid = grp->gr_gid;
|
H A D | file_utils.cc | 54 // Checks if a regular file owned by |uid| and |gid| exists at |path|, otherwise 59 gid_t gid) { 71 file_stat.st_gid == gid) { 96 gid_t gid, 98 RegularFileOrDeleteResult result = RegularFileOrDelete(path, uid, gid); 136 gid_t gid) { 144 if (!TouchFileInternal(path, uid, gid, &scoped_fd)) { 57 RegularFileOrDelete(const base::FilePath& path, uid_t uid, gid_t gid) argument 94 TouchFileInternal(const base::FilePath& path, uid_t uid, gid_t gid, base::ScopedFD* fd_out) argument 133 TouchFile(const base::FilePath& path, int new_file_permissions, uid_t uid, gid_t gid) argument
|
/external/ltp/testcases/kernel/syscalls/chown/ |
H A D | chown01.c | 125 int uid, gid; variable 142 TEST(CHOWN(cleanup, fname, uid, gid)); 146 fname, uid, gid); 149 fname, uid, gid, TEST_RETURN); 168 GID16_CHECK((gid = getegid()), "chown", cleanup)
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/ |
H A D | rpc_authunix_create.c | 62 gid_t gid; local 67 gid = getegid(); 81 authUnx = authunix_create(hostname, uid, gid, num_groups, aup_gids);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/ |
H A D | tirpc_authsys_create.c | 48 gid_t gid, aup_gids[NGRPS]; local 53 gid = getegid(); 57 authSys = authsys_create(argc[1], uid, gid, len, aup_gids);
|
/external/libcap/progs/old/ |
H A D | sucap.c | 57 gid_t gid; local 80 /* Convert groupname to gid */ 87 gid = gr->gr_gid; 123 /* 1. mother process sets gid and uid 138 /* Set gid and uid (this probably clears capabilities) */ 139 setregid(gid, gid);
|
/external/ltp/testcases/kernel/containers/userns/ |
H A D | userns02.c | 45 int uid, gid; local 49 gid = getegid(); 51 if (uid == 100 && gid == 100) { 52 printf("Got expected uid and gid.\n"); 55 printf("Got unexpected result of uid=%d gid=%d\n", uid, gid);
|
/external/ltp/testcases/kernel/syscalls/bind/ |
H A D | bind02.c | 71 gid_t gid; variable 81 if ((rc = setegid(gid)) == -1) { 82 tst_brkm(TBROK | TERRNO, 0, "setegid(%u) failed", gid); 139 gid = gr->gr_gid;
|
/external/squashfs-tools/squashfs-tools/ |
H A D | pseudo.h | 30 unsigned int gid; member in struct:pseudo_dev
|
/external/strace/ |
H A D | stat.h | 42 unsigned long long gid; member in struct:strace_stat
|