Searched refs:current_ns (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/security/apparmor/ |
| D | procattr.c | 36 struct aa_ns *current_ns = aa_get_current_ns(); in aa_getprocattr() local 39 if (!aa_ns_visible(current_ns, ns, true)) { in aa_getprocattr() 40 aa_put_ns(current_ns); in aa_getprocattr() 44 len = aa_label_snxprint(NULL, 0, current_ns, label, in aa_getprocattr() 51 aa_put_ns(current_ns); in aa_getprocattr() 55 len = aa_label_snxprint(*string, len + 2, current_ns, label, in aa_getprocattr() 59 aa_put_ns(current_ns); in aa_getprocattr() 66 aa_put_ns(current_ns); in aa_getprocattr()
|
| /Linux-v5.15/include/net/ |
| D | scm.h | 124 struct user_namespace *current_ns = current_user_ns(); in scm_recv() local 127 .uid = from_kuid_munged(current_ns, scm->creds.uid), in scm_recv() 128 .gid = from_kgid_munged(current_ns, scm->creds.gid), in scm_recv()
|
| /Linux-v5.15/Documentation/networking/ |
| D | sysfs-tagging.rst | 44 - current_ns() which returns current's namespace
|
| /Linux-v5.15/drivers/net/dsa/hirschmann/ |
| D | hellcreek.c | 1537 s64 base_time_ns, current_ns; in hellcreek_schedule_startable() local 1548 current_ns = hellcreek->seconds * NSEC_PER_SEC + hellcreek->last_ts; in hellcreek_schedule_startable() 1554 return base_time_ns - current_ns < (s64)4 * NSEC_PER_SEC; in hellcreek_schedule_startable() 1561 s64 current_ns; in hellcreek_start_schedule() local 1569 current_ns = hellcreek->seconds * NSEC_PER_SEC + hellcreek->last_ts; in hellcreek_start_schedule() 1572 current_time = ns_to_ktime(current_ns); in hellcreek_start_schedule()
|
| /Linux-v5.15/drivers/ptp/ |
| D | ptp_clockmatrix.c | 954 s64 current_ns = 0; in set_tod_write_overhead() local 980 current_ns = ktime_to_ns(diff); in set_tod_write_overhead() 983 lowest_ns = current_ns; in set_tod_write_overhead() 985 if (current_ns < lowest_ns) in set_tod_write_overhead() 986 lowest_ns = current_ns; in set_tod_write_overhead()
|
| /Linux-v5.15/net/core/ |
| D | sock.c | 1396 struct user_namespace *current_ns = current_user_ns(); in cred_to_ucred() local 1398 ucred->uid = from_kuid_munged(current_ns, cred->euid); in cred_to_ucred() 1399 ucred->gid = from_kgid_munged(current_ns, cred->egid); in cred_to_ucred()
|