/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-misc.h | 547 * lws_get_effective_uid_gid() - find out eventual uid and gid while still root 551 * \param gid: pointer to gid result 553 * This helper allows you to find out what the uid and gid for the process will 559 lws_get_effective_uid_gid(struct lws_context *context, uid_t *uid, gid_t *gid);
|
/third_party/libwebsockets/test-apps/ |
H A D | test-client.c | 724 info.gid = (gid_t)-1; in main()
|
/third_party/libfuse/include/ |
H A D | fuse_lowlevel.h | 106 * Note that the reported client uid, gid and pid may be zero in some 109 * there is no valid uid/pid/gid that could be reported. 116 gid_t gid; member
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_archive_util.py | 340 # this works even if there's not gid/uid support 388 self.assertEqual(member.gid, 0)
|
H A D | test_sdist.py | 464 self.assertEqual(member.gid, 0)
|
/third_party/zlib/contrib/untgz/ |
H A D | untgz.c | 86 char gid[8]; /* 116 */ member
|
/kernel/linux/linux-6.6/mm/ |
H A D | shmem.c | 117 kgid_t gid; member 3877 fsparam_u32 ("gid", Opt_gid), 3963 * The requested gid must be representable in the in shmem_parse_one() 3969 ctx->gid = kgid; in shmem_parse_one() 4228 if (!gid_eq(sbinfo->gid, GLOBAL_ROOT_GID)) in shmem_show_options() 4229 seq_printf(seq, ",gid=%u", in shmem_show_options() 4230 from_kgid_munged(&init_user_ns, sbinfo->gid)); in shmem_show_options() 4329 sbinfo->gid = ctx->gid; in shmem_fill_super() 4378 inode->i_gid = sbinfo->gid; in shmem_fill_super() [all...] |
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 335 pub gid: ::gid_t, 3585 pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; in chown() 3586 pub fn lchown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; in lchown() 3624 pub fn setegid(gid: gid_t) -> ::c_int; in setegid() 3625 pub fn setgid(gid: gid_t) -> ::c_int; in setgid() 4023 pub fn setfsgid(gid: ::gid_t) -> ::c_int; in setfsgid() 4174 gid: ::gid_t, in getgrgid_r() 4218 pub fn getgrgid(gid: ::gid_t) -> *mut ::group; in getgrgid()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | port.c | 1448 mlx4_warn(dev, "requested gid entry for slave:%d is a duplicate of gid at index %d\n", in mlx4_common_set_port() 1857 int mlx4_get_slave_from_roce_gid(struct mlx4_dev *dev, int port, u8 *gid, in mlx4_get_slave_from_roce_gid() argument 1875 if (!memcmp(priv->port[port].gid_table.roce_gids[i].raw, gid, in mlx4_get_slave_from_roce_gid() 1883 /* Calculate a slave_gid which is the slave number in the gid in mlx4_get_slave_from_roce_gid() 1957 u8 *gid) in mlx4_get_roce_gid_from_slave() 1964 memcpy(gid, priv->port[port].gid_table.roce_gids[slave_id].raw, in mlx4_get_roce_gid_from_slave() 1956 mlx4_get_roce_gid_from_slave(struct mlx4_dev *dev, int port, int slave_id, u8 *gid) mlx4_get_roce_gid_from_slave() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_verbs.c | 2587 * @gid: Global ID 2592 union ib_gid *gid) in i40iw_query_gid() 2596 memset(gid->raw, 0, sizeof(gid->raw)); in i40iw_query_gid() 2597 ether_addr_copy(gid->raw, iwdev->netdev->dev_addr); in i40iw_query_gid() 2589 i40iw_query_gid(struct ib_device *ibdev, u8 port, int index, union ib_gid *gid) i40iw_query_gid() argument
|
/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 412 kgid_t gid; in ff_layout_alloc_lseg() local 487 gid = make_kgid(&init_user_ns, id); in ff_layout_alloc_lseg() 500 kcred->fsgid = gid; in ff_layout_alloc_lseg() 522 dprintk("%s: iomode %s uid %u gid %u\n", __func__, in ff_layout_alloc_lseg() 525 from_kgid(&init_user_ns, gid)); in ff_layout_alloc_lseg()
|
/kernel/linux/linux-6.6/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 418 kgid_t gid; in ff_layout_alloc_lseg() local 493 gid = make_kgid(&init_user_ns, id); in ff_layout_alloc_lseg() 506 kcred->fsgid = gid; in ff_layout_alloc_lseg() 528 dprintk("%s: iomode %s uid %u gid %u\n", __func__, in ff_layout_alloc_lseg() 531 from_kgid(&init_user_ns, gid)); in ff_layout_alloc_lseg()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | dir.c | 2934 if (gid_lt(ga->gid[g], gb->gid[g])) in access_cmp() 2936 if (gid_gt(ga->gid[g], gb->gid[g])) in access_cmp()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | port.c | 1448 mlx4_warn(dev, "requested gid entry for slave:%d is a duplicate of gid at index %d\n", in mlx4_common_set_port() 1857 int mlx4_get_slave_from_roce_gid(struct mlx4_dev *dev, int port, u8 *gid, in mlx4_get_slave_from_roce_gid() argument 1875 if (!memcmp(priv->port[port].gid_table.roce_gids[i].raw, gid, in mlx4_get_slave_from_roce_gid() 1883 /* Calculate a slave_gid which is the slave number in the gid in mlx4_get_slave_from_roce_gid() 1957 u8 *gid) in mlx4_get_roce_gid_from_slave() 1964 memcpy(gid, priv->port[port].gid_table.roce_gids[slave_id].raw, in mlx4_get_roce_gid_from_slave() 1956 mlx4_get_roce_gid_from_slave(struct mlx4_dev *dev, int port, int slave_id, u8 *gid) mlx4_get_roce_gid_from_slave() argument
|
/kernel/liteos_a/fs/fat/os_adapt/ |
H A D | fatfs.c | 470 vp->gid = fs->fs_gid; in fatfs_create_obj() 562 vp->gid = fs->fs_gid; in fatfs_lookup() 1164 fs->fs_gid = mnt->vnodeBeCovered->gid; in fatfs_mount() 1203 vp->gid = fs->fs_gid; in fatfs_mount()
|
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | mod.rs | 360 pub gid: ::gid_t, 417 pub gid: ::gid_t, 1752 gid: ::gid_t, in getgrgid_r() 1805 pub fn getgrgid(gid: ::gid_t) -> *mut ::group; in getgrgid()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | installd_host.cpp | 553 int32_t gid = data.ReadInt32(); in HandleMkdir() local 554 ErrCode result = Mkdir(dir, mode, uid, gid); in HandleMkdir()
|
H A D | installd_proxy.cpp | 418 const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) in Mkdir() 425 INSTALLD_PARCEL_WRITE(data, Int32, gid); in Mkdir() 417 Mkdir( const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) Mkdir() argument
|
/foundation/filemanagement/storage_service/services/storage_daemon/quota/ |
H A D | quota_manager.cpp | 133 static int64_t GetOccupiedSpaceForGid(int32_t gid, int64_t &size)
in GetOccupiedSpaceForGid() argument 148 if (quotactl(QCMD(Q_GETQUOTA, GRPQUOTA), device.c_str(), gid, reinterpret_cast<char*>(&dq)) != 0) {
in GetOccupiedSpaceForGid()
|
/kernel/linux/linux-5.10/drivers/fsi/ |
H A D | fsi-core.c | 899 kuid_t *uid, kgid_t *gid) in cfam_devnode() 917 kuid_t *uid, kgid_t *gid) in fsi_cdev_devnode() 898 cfam_devnode(struct device *dev, umode_t *mode, kuid_t *uid, kgid_t *gid) cfam_devnode() argument 916 fsi_cdev_devnode(struct device *dev, umode_t *mode, kuid_t *uid, kgid_t *gid) fsi_cdev_devnode() argument
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | debug.c | 637 * @gid: Group ID for debugfs files. Currently only 0 is supported. 648 uid_t uid, gid_t gid) in debug_register_mode() 652 /* Since debugfs currently does not support uid/gid other than root, */ in debug_register_mode() 653 /* we do not allow gid/uid != 0 until we get support for that. */ in debug_register_mode() 654 if ((uid != 0) || (gid != 0)) in debug_register_mode() 646 debug_register_mode(const char *name, int pages_per_area, int nr_areas, int buf_size, umode_t mode, uid_t uid, gid_t gid) debug_register_mode() argument
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | debug.c | 637 * @gid: Group ID for debugfs files. Currently only 0 is supported. 648 uid_t uid, gid_t gid) in debug_register_mode() 652 /* Since debugfs currently does not support uid/gid other than root, */ in debug_register_mode() 653 /* we do not allow gid/uid != 0 until we get support for that. */ in debug_register_mode() 654 if ((uid != 0) || (gid != 0)) in debug_register_mode() 646 debug_register_mode(const char *name, int pages_per_area, int nr_areas, int buf_size, umode_t mode, uid_t uid, gid_t gid) debug_register_mode() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_send.c | 633 attr->dgid_attr.gid, sizeof(attr->dgid_attr.gid)); in dr_cmd_modify_qp_init2rtr()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nfnetlink_log.c | 605 __be32 gid = htonl(from_kgid_munged(user_ns, cred->fsgid)); in __build_packet_message() local 608 nla_put_be32(inst->skb, NFULA_GID, gid)) in __build_packet_message() 714 + nla_total_size(sizeof(u_int32_t)) /* gid */ in nfulnl_log_packet()
|
/kernel/linux/linux-5.10/security/keys/ |
H A D | keyring.c | 517 struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid, in keyring_alloc() argument 527 uid, gid, cred, perm, flags, restrict_link); in keyring_alloc()
|