/linux-master/fs/fuse/ |
H A D | dir.c | 1424 gid_eq(cred->sgid, fc->group_id) && 1439 * excludes processes started by other users, suid or sgid processes. 1958 /* Kill suid/sgid for non-directory chown unconditionally */ 1968 /* Kill suid/sgid for truncate only if no CAP_FSETID */ 2058 * The only sane way to reliably kill suid/sgid is to do it in
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_flower.c | 808 sf->sgid = psfp_sgid; 1253 u32 isdx, sfid, sgid, fmid; local 1269 sgid = sparx5_psfp_sf_get_sg(sparx5, sfid); 1275 if (sgid && sparx5_psfp_sg_del(sparx5, sgid) < 0) 1276 pr_err("%s:%d Could not delete invalid sgid: %d", __func__, 1277 __LINE__, sgid);
|
H A D | sparx5_main.h | 517 u32 sgid; /* Gate id */ member in struct:sparx5_psfp_sf
|
/linux-master/drivers/infiniband/core/ |
H A D | cm.c | 495 &path->sgid, 1368 pri_path->sgid; 1422 alt_path->sgid; 1699 primary_path->sgid = 1726 alt_path->sgid = *IBA_GET_MEM_PTR( 1777 * reject them as the local_gid will not match the sgid. Therefore, 1790 (ib_is_opa_gid(&path->sgid))) { 1791 union ib_gid sgid; local 1793 if (rdma_query_gid(dev, port_num, 0, &sgid)) { 1795 "Error updating sgid i [all...] |
H A D | verbs.c | 704 u16 vlan_id, const union ib_gid *sgid, 710 return rdma_find_gid_by_filter(device, sgid, port_num, find_gid_index, 716 union ib_gid *sgid, union ib_gid *dgid) 722 if (!sgid || !dgid) 733 (struct in6_addr *)sgid); 740 *sgid = hdr->ibgrh.sgid; 781 * getting executed and, sgid contains the GID of the sender. 784 * as sgid and, sgid i 703 get_sgid_attr_from_eth(struct ib_device *device, u32 port_num, u16 vlan_id, const union ib_gid *sgid, enum ib_gid_type gid_type) argument 714 ib_get_gids_from_rdma_hdr(const union rdma_network_hdr *hdr, enum rdma_network_type net_type, union ib_gid *sgid, union ib_gid *dgid) argument 801 union ib_gid sgid; local [all...] |
/linux-master/kernel/ |
H A D | sys.c | 405 gid_eq(old->sgid, kegid) || 414 new->sgid = new->egid; 457 new->gid = new->egid = new->sgid = new->fsgid = kgid; 458 else if (gid_eq(kgid, old->gid) || gid_eq(kgid, old->sgid)) 767 * Same as above, but for rgid, egid, sgid. 769 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) argument 780 ksgid = make_kgid(ns, sgid); 786 if ((sgid != (gid_t) -1) && !gid_valid(ksgid)) 795 (sgid == (gid_t) -1 || gid_eq(ksgid, old->sgid))) 840 gid_t rgid, egid, sgid; local [all...] |
H A D | ptrace.c | 321 gid_eq(caller_gid, tcred->sgid) &&
|
H A D | cred.c | 49 .sgid = GLOBAL_ROOT_GID, 276 new->sgid = new->fsgid = new->egid; 452 !gid_eq(new->sgid, old->sgid) ||
|
H A D | audit.c | 2257 " egid=%u sgid=%u fsgid=%u tty=%s ses=%u", 2267 from_kgid(&init_user_ns, cred->sgid),
|
/linux-master/include/rdma/ |
H A D | ib_verbs.h | 793 union ib_gid sgid; member in struct:ib_grh 3543 * ib_get_gids_from_rdma_hdr - Get sgid and dgid from GRH or IPv4 header 3547 * @sgid: place to store source gid 3552 union ib_gid *sgid, union ib_gid *dgid);
|
/linux-master/include/linux/ |
H A D | syscalls.h | 675 asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); 676 asmlinkage long sys_getresgid(gid_t __user *rgid, gid_t __user *egid, gid_t __user *sgid); 1130 asmlinkage long sys_setresgid16(old_gid_t rgid, old_gid_t egid, old_gid_t sgid); 1132 old_gid_t __user *egid, old_gid_t __user *sgid);
|
H A D | cred.h | 116 kgid_t sgid; /* saved GID of the task */ member in struct:cred 377 #define current_sgid() (current_cred_xxx(sgid))
|
/linux-master/security/integrity/ima/ |
H A D | ima_policy.c | 620 && !rule->gid_op(cred->sgid, rule->gid)
|
/linux-master/net/core/ |
H A D | scm.c | 61 gid_eq(gid, cred->sgid)) || ns_capable(cred->user_ns, CAP_SETGID))) {
|
/linux-master/io_uring/ |
H A D | fdinfo.c | 34 seq_put_decimal_ull(m, "\t\t", from_kgid_munged(uns, cred->sgid));
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_rdma.c | 1388 qp->sgid = params->sgid;
|
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 872 path->pathrec.sgid = priv->local_gid;
|
H A D | ipoib_ib.c | 180 union ib_gid *sgid; local 233 sgid = &((struct ib_grh *)skb->data)->sgid; 243 sgid->global.interface_id != priv->local_gid.global.interface_id)
|
/linux-master/drivers/infiniband/hw/qedr/ |
H A D | verbs.c | 85 int index, union ib_gid *sgid) 89 memset(sgid->raw, 0, sizeof(sgid->raw)); 90 ether_addr_copy(sgid->raw, dev->ndev->dev_addr); 92 DP_DEBUG(dev, QEDR_MSG_INIT, "QUERY sgid[%d]=%llx:%llx\n", index, 93 sgid->global.interface_id, sgid->global.subnet_prefix); 1146 memcpy(&qp_params->sgid.bytes[0], &gid_attr->gid.raw[0], 1147 sizeof(qp_params->sgid)); 1156 memcpy(&qp_params->sgid 84 qedr_iw_query_gid(struct ib_device *ibdev, u32 port, int index, union ib_gid *sgid) argument [all...] |
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 1090 union ib_gid sgid; local 1100 rc = bnxt_re_query_gid(&rdev->ibdev, 1, 0, &sgid); 1104 /* supply the dgid data same as sgid */ 1105 memcpy(ah->qplib_ah.dgid.data, &sgid.raw, 2308 /* For vlan, check the sgid for vlan existence */
|
/linux-master/fs/proc/ |
H A D | array.c | 195 seq_put_decimal_ull(m, "\t", from_kgid_munged(user_ns, cred->sgid));
|
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | topology.c | 20 u32 sgid; /* Sub Graph ID */ member in struct:snd_ar_control 795 scontrol->sgid = le32_to_cpu(w_elem->value); 1174 scontrol->sgid = le32_to_cpu(c_elem->value);
|
/linux-master/security/safesetid/ |
H A D | lsm.c | 159 gid_eq(new_id.gid, old->sgid)) 179 __kgid_val(old->sgid), __kgid_val(new_id.gid)); 226 id_permitted_for_cred(old, (kid_t){.gid = new->sgid}, GID) &&
|
/linux-master/security/ |
H A D | commoncap.c | 931 new->sgid = new->fsgid = new->egid;
|
/linux-master/security/keys/ |
H A D | keyctl.c | 1686 !gid_eq(pcred->sgid, mycred->egid))
|