Home
last modified time | relevance | path

Searched refs:creds (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/include/net/
Dscm.h34 struct scm_creds creds; /* Skb credentials */ member
60 scm->creds.pid = pid_vnr(pid); in scm_set_cred()
61 scm->creds.uid = uid; in scm_set_cred()
62 scm->creds.gid = gid; in scm_set_cred()
82 scm->creds.uid = INVALID_UID; in scm_send()
83 scm->creds.gid = INVALID_GID; in scm_send()
137 .pid = scm->creds.pid, in scm_recv()
138 .uid = from_kuid_munged(current_ns, scm->creds.uid), in scm_recv()
139 .gid = from_kgid_munged(current_ns, scm->creds.gid), in scm_recv()
/linux-4.19.296/include/linux/
Dnetlink.h24 struct scm_creds creds; /* Skb credentials */ member
34 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds)
/linux-4.19.296/lib/
Dkobject_uevent.c300 parms->creds.uid = GLOBAL_ROOT_UID; in alloc_uevent_skb()
301 parms->creds.gid = GLOBAL_ROOT_GID; in alloc_uevent_skb()
363 parms->creds.uid = root_uid; in uevent_net_broadcast_tagged()
368 parms->creds.gid = root_gid; in uevent_net_broadcast_tagged()
/linux-4.19.296/fs/
Daio.c172 struct cred *creds; member
1588 const struct cred *old_cred = override_creds(iocb->fsync.creds); in aio_fsync_work()
1592 put_cred(iocb->fsync.creds); in aio_fsync_work()
1606 req->creds = prepare_creds(); in aio_fsync()
1607 if (!req->creds) in aio_fsync()