Home
last modified time | relevance | path

Searched refs:gid (Results 1 – 25 of 33) sorted by relevance

12

/device/google/cuttlefish_common/common/libs/utils/
Dusers.cpp77 auto gid = GroupIdFromName(group); in InGroup() local
78 if (gid == static_cast<gid_t>(-1)) { in InGroup()
82 if (gid == getegid()) { in InGroup()
88 if (std::find(groups.cbegin(), groups.cend(), gid) != groups.cend()) { in InGroup()
/device/google/cuttlefish_common/common/libs/fs/
Dgce_fs.cpp40 int gce_fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in gce_fs_prepare_dir() argument
57 if (((sb.st_mode & ALL_PERMS) == mode) && (sb.st_uid == uid) && (sb.st_gid == gid)) { in gce_fs_prepare_dir()
77 if (GCE_TEMP_FAILURE_RETRY(chown(path, uid, gid)) == -1) { in gce_fs_prepare_dir()
78 LOG(ERROR) << "Failed to chown(" << path << ", " << uid << ", " << gid in gce_fs_prepare_dir()
Dgce_fs.h44 extern int gce_fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsre_parse.py73 gid = self.groups
74 self.groups = gid + 1
79 "was group %d" % (repr(name), gid, ogid))
80 self.groupdict[name] = gid
81 self.open.append(gid)
82 return gid
83 def closegroup(self, gid): argument
84 self.open.remove(gid)
85 def checkgroup(self, gid): argument
86 return gid < self.groups and gid not in self.open
[all …]
Dshutil.py374 gid = _get_gid(group)
377 if gid is not None:
378 tarinfo.gid = gid
Dtarfile.py925 self.gid = 0 # group id
965 "gid": self.gid,
1206 obj.gid = nti(buf[116:124])
1886 tarinfo.gid = statres.st_gid
1901 tarinfo.gname = grp.getgrgid(tarinfo.gid)[0]
1922 tarinfo.gname or tarinfo.gid),
2268 g = grp.getgrgid(tarinfo.gid)[2]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Darchive_util.py89 gid = _get_gid(group)
92 if gid is not None:
93 tarinfo.gid = gid
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dsre_parse.py75 gid = self.groups
76 self.groups = gid + 1
81 "was group %d" % (repr(name), gid, ogid))
82 self.groupdict[name] = gid
83 self.open.append(gid)
84 return gid
85 def closegroup(self, gid): argument
86 self.open.remove(gid)
87 def checkgroup(self, gid): argument
88 return gid < self.groups and gid not in self.open
[all …]
Dshutil.py379 gid = _get_gid(group)
382 if gid is not None:
383 tarinfo.gid = gid
/device/generic/goldfish/fingerprint/
Dfingerprint.c254 static int fingerprint_set_active_group(struct fingerprint_device *device, uint32_t gid, in fingerprint_set_active_group() argument
259 qdev->group_id = gid; in fingerprint_set_active_group()
287 uint64_t operation_id, __unused uint32_t gid) in fingerprint_authenticate() argument
310 uint32_t __unused gid, in fingerprint_enroll() argument
427 message.data.enumerated.finger.gid = qdev->group_id; in fingerprint_enumerate()
450 uint32_t __unused gid, uint32_t fid) { in fingerprint_remove() argument
457 gid, fid); in fingerprint_remove()
483 msg.data.removed.finger.gid = qdev->group_id; in fingerprint_remove()
498 msg.data.removed.finger.gid = qdev->group_id; in fingerprint_remove()
520 msg.data.removed.finger.gid = qdev->group_id; in fingerprint_remove()
[all …]
/device/google/wahoo/
Dinit.hardware.usb.rc46 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1
49 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
50 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
Dfstab.hardware8 …me/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmas…
/device/linaro/hikey/
Dinit.common.usb.rc25 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
28 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
29 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
/device/google/bonito/
Dinit.hardware.usb.rc45 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1
48 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
49 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
Dfstab.hardware14 … /vendor/firmware_mnt vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmas…
/device/google/crosshatch/
Dinit.hardware.usb.rc45 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1
48 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
49 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
Dfstab.hardware10 … /vendor/firmware_mnt vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmas…
Dfstab.mainline.hardware12 … /vendor/firmware_mnt vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmas…
/device/ti/beagle_x15/
Dinit.beagle_x15board.usb.rc20 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
22 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
/device/google/marlin/
Dinit.common.usb.rc20 mount functionfs adb /dev/usb-ffs/adb noatime uid=2000,gid=2000,no_disconnect=1
23 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
24 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
Dfstab.common10 …by-name/modem /firmware/radio vfat ro,shortname=lower,uid=1000,gid=0,dmask=227,fmask=3…
/device/google/cuttlefish/shared/config/
Dinit.hardware.usb.rc44 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
47 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
48 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
Dedk2module.c813 long uid, gid; in posix_chown() local
817 &uid, &gid)) in posix_chown()
820 res = chown(path, (uid_t) uid, (gid_t) gid); in posix_chown()
840 long uid, gid; in posix_fchown() local
842 if (!PyArg_ParseTuple(args, "ill:chown", &fd, &uid, &gid)) in posix_fchown()
845 res = fchown(fd, (uid_t) uid, (gid_t) gid); in posix_fchown()
863 long uid, gid; in posix_lchown() local
867 &uid, &gid)) in posix_lchown()
870 res = lchown(path, (uid_t) uid, (gid_t) gid); in posix_lchown()
2434 long gid; in posix_initgroups() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dedk2module.c814 long uid, gid; in edk2_chown() local
818 &uid, &gid)) in edk2_chown()
821 res = chown(path, (uid_t) uid, (gid_t) gid); in edk2_chown()
841 long uid, gid; in edk2_fchown() local
843 if (!PyArg_ParseTuple(args, "ill:chown", &fd, &uid, &gid)) in edk2_fchown()
846 res = fchown(fd, (uid_t) uid, (gid_t) gid); in edk2_fchown()
864 long uid, gid; in edk2_lchown() local
868 &uid, &gid)) in edk2_lchown()
871 res = lchown(path, (uid_t) uid, (gid_t) gid); in edk2_lchown()
/device/linaro/poplar/vendor/
Dinit.poplar.usb.rc25 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000

12