/external/toybox/lib/ |
xwrap.c | 602 struct group *xgetgrgid(gid_t gid) 604 struct group *group = getgrgid(gid); 606 if (!group) perror_exit("gid %ld", (long)gid); 628 long gid; local 632 gid = estrtol(name, &s, 10); 633 if (!errno && s && !*s && gid>=0 && gid<=UINT_MAX) return gid;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
key_prot.x | 124 const MAXGIDS = 16; /* max number of gids in gid list */ 131 u_int gid; 199 * Get me the uid, gid and group-access-list associated 241 * Get me the uid, gid and group-access-list associated
|
nfs_prot.x | 117 unsigned gid; /* owner group id */ 135 unsigned gid; /* owner group id */
|
/prebuilts/go/darwin-x86/src/os/user/ |
listgroups_unix.go | 24 ug, err := strconv.Atoi(u.Gid) 26 return nil, fmt.Errorf("user: list groups for %s: invalid gid %q", u.Username, u.Gid)
|
/prebuilts/go/linux-x86/src/os/user/ |
listgroups_unix.go | 24 ug, err := strconv.Atoi(u.Gid) 26 return nil, fmt.Errorf("user: list groups for %s: invalid gid %q", u.Username, u.Gid)
|
/system/core/liblog/ |
logger_write.c | 62 gid_t gid = getgid(); local 63 if ((gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) { 64 gid = getegid(); 65 if ((gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) {
|
/system/core/libprocinfo/ |
process_test.cpp | 49 ASSERT_EQ(getgid(), self.gid); 64 ASSERT_EQ(getgid(), self.gid);
|
/system/core/run-as/ |
run-as.cpp | 78 // Must be owned by specific uid/gid. 193 uid_t gid = userAppId; local 196 minijail_change_gid(j.get(), gid);
|
/external/harfbuzz_ng/src/ |
hb-ot-cbdt-table.hh | 204 bool get_image_data (unsigned int gid, 209 if (gid < firstGlyphIndex || gid > lastGlyphIndex) 213 return (this+offsetToSubtable).get_image_data (gid - firstGlyphIndex,
|
hb-ot-post-table.hh | 166 const uint16_t *gid = (const uint16_t *) hb_bsearch_r (&st, gids, count, sizeof (gids[0]), cmp_key, (void *) this); local 167 if (gid) 169 *glyph = *gid;
|
/external/kernel-headers/original/uapi/linux/ |
auto_fs4.h | 131 __u32 gid; member in struct:autofs_v5_packet
|
/external/libchrome/base/process/ |
process_iterator.h | 49 ProcessId gid() const { return gid_; }
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
semctl04.c | 136 perm.sem_perm.gid = getgid() + 1;
|
/external/strace/ |
fetch_struct_stat.c | 93 dst->gid = zero_extend_signed_to_ull(buf.st_gid);
|
fetch_struct_stat64.c | 91 dst->gid = zero_extend_signed_to_ull(buf.st_gid);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
auto_fs4.h | 136 __u32 gid; member in struct:autofs_v5_packet
|
/system/core/adb/ |
file_sync_service.h | 59 uint32_t gid; member in struct:syncmsg::__anon2739
|
/system/core/cpio/ |
mkbootfs.c | 40 int uid, gid, mode; member in struct:fs_config_entry 47 * gid, mode). */ 63 // Use the list of file uid/gid/modes loaded from the file 74 s->st_gid = p->gid; 80 s->st_gid = empty_path_config->gid; 316 cc->gid = atoi(strtok(NULL, " \n"));
|
/external/minijail/ |
libminijail.c | 120 int gid : 1; member in struct:minijail::__anon30672 158 gid_t gid; member in struct:minijail 272 void API minijail_change_gid(struct minijail *j, gid_t gid) 274 if (gid == 0) 275 die("useless change to gid 0"); 276 j->gid = gid; 277 j->flags.gid = 1; 317 gid_t gid; local 318 int rc = lookup_user(user, &uid, &gid); 331 gid_t gid; local 1625 int gid = j->flags.gid ? j->gid : 0; local [all...] |
/external/linux-kselftest/tools/testing/selftests/mount/ |
unprivileged-remount-test.c | 157 gid_t gid; local 160 gid = getgid(); 169 write_file("/proc/self/gid_map", "0 %d 1", gid);
|
/external/python/cpython3/Lib/ |
re.py | 355 gid = s.opengroup() 357 (SUBPATTERN, (gid, 0, 0, sre_parse.parse(phrase, flags))), 359 s.closegroup(gid, p[-1])
|
/external/tensorflow/tensorflow/core/kernels/ |
softmax_op_gpu.cu.cc | 63 __host__ __device__ T operator()(const int gid) const { 64 return exp(logits_[gid] - ldg(max_logits_ + gid / num_cols_));
|
/frameworks/native/cmds/installd/ |
utils.cpp | 357 int32_t gid = p->fts_statp->st_gid; local 359 int32_t user_gid = multiuser_get_app_id(gid); 367 if (include_gid != -1 && gid != include_gid) { 370 if (exclude_gid != -1 && gid == exclude_gid) { 890 const int gid = multiuser_get_uid(userid, AID_EVERYBODY); local 894 return fs_prepare_dir(path.c_str(), 0750, uid, gid); 924 * Prepare an app cache directory, which offers to fix-up the GID and 929 uid_t uid, gid_t gid) { 935 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, gid) != 0) { 953 } else if (st.st_gid == gid && actual_mode == target_mode) [all...] |
/system/vold/ |
vold_prepare_subdirs.cpp | 19 * apply the context if it's absent. Also fixes mode, uid, gid. 57 static bool prepare_dir(struct selabel_handle* sehandle, mode_t mode, uid_t uid, gid_t gid, 65 LOG(DEBUG) << "Setting up mode " << std::oct << mode << std::dec << " uid " << uid << " gid " 66 << gid << " context " << secontext.get() << " on path: " << path; 73 if (fs_prepare_dir(path.c_str(), mode, uid, gid) != 0) {
|
/prebuilts/go/darwin-x86/src/syscall/ |
exec_linux_test.go | 96 func whoamiCmd(t *testing.T, uid, gid int, setgroups bool) *exec.Cmd { 105 {ContainerID: 0, HostID: gid, Size: 1}, 112 func testNEWUSERRemap(t *testing.T, uid, gid int, setgroups bool) { 113 cmd := whoamiCmd(t, uid, gid, setgroups) 242 Gid: 0, 250 expected := "uid=0(root) gid=0(root)" 265 uid, gid := os.Getuid(), os.Getgid() 270 Gid: uint32(gid), 276 {ContainerID: 0, HostID: gid, Size: 1} [all...] |