Searched defs:gid (Results 1 - 25 of 114) sorted by relevance

12345

/external/libchrome/sandbox/linux/services/
H A Dnamespace_utils_unittest.cc41 const gid_t gid = getgid(); local
58 RAW_CHECK(getgid() != gid);
59 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/gid_map", gid));
60 RAW_CHECK(getgid() == gid);
/external/dbus/dbus/
H A Ddbus-sysdeps-unix.h113 dbus_gid_t gid; /**< GID */ member in struct:DBusGroupInfo
129 dbus_gid_t gid,
H A Ddbus-userdb-util.c151 * @param gid return location for GID
156 dbus_gid_t *gid)
176 *gid = info->gid;
223 * Looks up a gid or group name in the user database. Only one of
229 * @param gid the group ID or #DBUS_GID_UNSET
236 dbus_gid_t gid,
245 if (gid == DBUS_UID_UNSET)
250 gid = n;
254 if (gid !
155 _dbus_get_group_id(const DBusString *groupname, dbus_gid_t *gid) argument
235 _dbus_user_database_lookup_group(DBusUserDatabase *db, dbus_gid_t gid, const DBusString *groupname, DBusError *error) argument
360 _dbus_user_database_get_gid(DBusUserDatabase *db, dbus_gid_t gid, const DBusGroupInfo **info, DBusError *error) argument
[all...]
/external/icu/icu4c/source/layout/
H A DStateTableProcessor2.cpp89 LEGlyphID gid = glyphStorage[currGlyph]; local
90 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
95 classCode = SWAPW(lookupTable0->valueArray[gid]);
120 LEGlyphID gid = glyphStorage[currGlyph]; local
121 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
127 lookupTable2->lookupSegment(lookupTable2, lookupTable2->segments, gid, success);
161 LEGlyphID gid = glyphStorage[currGlyph]; local
162 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
167 const LookupSingle *segment = lookupTable6->lookupSingle(lookupTable6, lookupTable6->entries, gid, success);
H A DContextualGlyphSubstProc2.cpp76 TTGlyphID ContextualGlyphSubstitutionProcessor2::lookup(le_uint32 offset, LEGlyphID gid, LEErrorCode &success) argument
91 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
100 const LookupSegment *segment = lookupTable2->lookupSegment(lookupTable2->segments, gid);
116 const LEReferenceTo<LookupSingle> segment = lookupTable6->lookupSingle(lookupTable6->entries, gid);
129 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
/external/kernel-headers/original/uapi/asm-generic/
H A Dipcbuf.h22 __kernel_gid32_t gid; member in struct:ipc64_perm
/external/libbrillo/brillo/
H A Duserdb_utils.cc19 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 Dfile_utils.cc54 // 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
H A Dprocess_unittest.cc242 gid_t gid = getegid(); local
244 process_.SetGid(gid);
/external/tlsdate/src/
H A Dutil-plan9.c69 gid_t gid; local
89 gid = pw->pw_gid;
90 if (0 == gid || 0 == gr->gr_gid)
101 if (0 != setresgid (gid, gid, gid))
104 if (0 != (setgid (gid) | setegid (gid)))
/external/libcap/progs/old/
H A Dsucap.c57 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/squashfs-tools/squashfs-tools/
H A Dpseudo.h30 unsigned int gid; member in struct:pseudo_dev
/external/toybox/toys/other/
H A Dmakedevs.c21 <name> <type> <mode> <uid> <gid> <major> <minor> <start> <increment> <count>
60 gid_t gid; local
82 gid = *group ? xgetgrnamid(group)->gr_gid : getgid();
107 if (chown(ptr, uid, gid) || chmod(ptr, mode))
/external/valgrind/include/
H A Dpub_tool_libcfile.h61 UInt gid; member in struct:vg_stat
/external/fio/os/windows/posix/include/sys/
H A Dshm.h17 gid_t gid; /* owner's group ID */ member in struct:ipc_perm
/external/harfbuzz_ng/src/
H A Dsample.py52 gid = info.codepoint variable
58 print("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
/external/kernel-headers/original/uapi/linux/
H A Dncp_mount.h39 __kernel_gid_t gid; member in struct:ncp_mount_data
63 unsigned long gid; member in struct:ncp_mount_data_v4
H A Dcramfs_fs.h32 __u32 size:CRAMFS_SIZE_WIDTH, gid:CRAMFS_GID_WIDTH; member in struct:cramfs_inode
H A Dipc.h13 __kernel_gid_t gid; member in struct:ipc_perm
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dcaptest.c58 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);
90 if (uid != euid || gid != egid)
/external/toybox/toys/posix/
H A Did.c91 gid_t gid = getgid(), egid = getegid(), *groups; local
99 gid = egid = pw->pw_gid;
107 grp = xgetgrgid(i ? gid : egid);
112 showid(" gid=", grp->gr_gid, grp->gr_name);
119 if (gid != egid) {
131 ngroups = username ? getgrouplist(username, gid, groups, &i)
/external/dbus/bus/
H A Dpolicy.h102 dbus_gid_t gid; member in struct:BusPolicyRule::__anon3432::__anon3437
131 dbus_gid_t gid,
/external/iproute2/ip/
H A Diptuntap.c48 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid) argument
70 if (gid != -1 && ioctl(fd, TUNSETGROUP, gid)) {
107 static int parse_args(int argc, char **argv, struct ifreq *ifr, uid_t *uid, gid_t *gid) argument
149 } else if (gid && matches(*argv, "group") == 0) {
156 *gid = group;
163 *gid = gr->gr_gid;
202 gid_t gid = -1; local
204 if (parse_args(argc, argv, &ifr, &uid, &gid) < 0)
207 return tap_add_ioctl(&ifr, uid, gid);
[all...]
/external/libbrillo/brillo/minijail/
H A Dminijail.cc33 void Minijail::DropRoot(struct minijail* jail, uid_t uid, gid_t gid) { argument
35 minijail_change_gid(jail, gid);
/external/minijail/
H A Dminijail0.c36 int gid = strtod(arg, &end); local
38 minijail_change_gid(j, gid);
100 "[-M \"<gid> <lowergid> <count>[,<uid> <loweruid> <count>]\"] "
113 " -g <group>: change gid to <group>\n"
130 " -M: set the gid mapping of a user namespace (implies -pU).\n"

Completed in 907 milliseconds

12345