/linux-6.6.21/Documentation/ABI/stable/ |
D | procfs-audit_loginuid | 19 KernelVersion: 2.6.25-rc7 1e0bd7550ea9 ("[PATCH] export sessionid alongside the loginuid in procfs") 23 The /proc/$pid/sessionid pseudofile is read to get the
|
/linux-6.6.21/net/netlabel/ |
D | netlabel_user.h | 37 audit_info->sessionid = audit_get_sessionid(current); in netlbl_netlink_auditinfo()
|
D | netlabel_user.c | 99 audit_info->sessionid); in netlbl_audit_start_common()
|
D | netlabel_unlabeled.c | 1543 audit_info.sessionid = 0; in netlbl_unlabel_defconf()
|
/linux-6.6.21/drivers/tty/ |
D | tty_audit.c | 68 unsigned int sessionid = audit_get_sessionid(current); in tty_audit_log() local 76 description, pid, uid, loginuid, sessionid, in tty_audit_log()
|
/linux-6.6.21/kernel/ |
D | audit.c | 2166 unsigned int sessionid = audit_get_sessionid(current); in audit_log_session_info() local 2169 audit_log_format(ab, "auid=%u ses=%u", auid, sessionid); in audit_log_session_info() 2326 unsigned int sessionid, int rc) in audit_log_set_loginuid() argument 2348 oldsessionid, sessionid, !rc); in audit_log_set_loginuid() 2363 unsigned int oldsessionid, sessionid = AUDIT_SID_UNSET; in audit_set_loginuid() local 2376 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid() 2377 if (unlikely(sessionid == AUDIT_SID_UNSET)) in audit_set_loginuid() 2378 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid() 2381 current->sessionid = sessionid; in audit_set_loginuid() 2384 audit_log_set_loginuid(oldloginuid, loginuid, oldsessionid, sessionid, rc); in audit_set_loginuid()
|
D | auditsc.c | 474 unsigned int sessionid; in audit_filter_rules() local 543 sessionid = audit_get_sessionid(tsk); in audit_filter_rules() 544 result = audit_comparator(sessionid, f->op, f->val); in audit_filter_rules() 1094 kuid_t auid, kuid_t uid, unsigned int sessionid, in audit_log_pid_context() argument 1108 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context() 2948 unsigned int sessionid; in audit_log_task() local 2952 sessionid = audit_get_sessionid(current); in audit_log_task() 2959 sessionid); in audit_log_task()
|
/linux-6.6.21/fs/nfsd/ |
D | state.h | 219 struct nfs4_sessionid sessionid; member 234 struct nfs4_sessionid sessionid; member
|
D | xdr4.h | 436 struct nfs4_sessionid sessionid; /* request/response */ member 448 struct nfs4_sessionid sessionid; member
|
D | nfs4state.c | 1677 hash_sessionid(struct nfs4_sessionid *sessionid) in hash_sessionid() argument 1679 struct nfsd4_sessionid *sid = (struct nfsd4_sessionid *)sessionid; in hash_sessionid() 1686 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument 1688 u32 *ptr = (u32 *)(&sessionid->data[0]); in dump_sessionid() 1693 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument 2007 __find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid, struct net *net) in __find_in_sessionid_hashtbl() argument 2015 dump_sessionid(__func__, sessionid); in __find_in_sessionid_hashtbl() 2016 idx = hash_sessionid(sessionid); in __find_in_sessionid_hashtbl() 2019 if (!memcmp(elem->se_sessionid.data, sessionid->data, in __find_in_sessionid_hashtbl() 2030 find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid, struct net *net, in find_in_sessionid_hashtbl() argument [all …]
|
D | nfs4xdr.c | 645 struct nfs4_sessionid *sessionid) in nfsd4_decode_sessionid4() argument 652 memcpy(sessionid->data, p, sizeof(sessionid->data)); in nfsd4_decode_sessionid4() 1504 status = nfsd4_decode_sessionid4(argp, &bcts->sessionid); in nfsd4_decode_bind_conn_to_session() 1724 return nfsd4_decode_sessionid4(argp, &destroy_session->sessionid); in nfsd4_decode_destroy_session() 1858 status = nfsd4_decode_sessionid4(argp, &seq->sessionid); in nfsd4_decode_sequence() 3770 p = xdr_encode_opaque_fixed(p, bcts->sessionid.data, in nfsd4_encode_bind_conn_to_session() 4584 p = xdr_encode_opaque_fixed(p, sess->sessionid.data, in nfsd4_encode_create_session() 4638 p = xdr_encode_opaque_fixed(p, seq->sessionid.data, in nfsd4_encode_sequence()
|
/linux-6.6.21/init/ |
D | init_task.c | 139 .sessionid = AUDIT_SID_UNSET,
|
/linux-6.6.21/include/linux/ |
D | nfs_xdr.h | 1350 struct nfs4_sessionid sessionid; member 1357 struct nfs4_sessionid sessionid; member 1383 struct nfs4_sessionid sessionid; member
|
D | audit.h | 205 return tsk->sessionid; in audit_get_sessionid()
|
D | sched.h | 1122 unsigned int sessionid; member
|
/linux-6.6.21/include/net/ |
D | netlabel.h | 102 unsigned int sessionid; member
|
/linux-6.6.21/security/smack/ |
D | smackfs.c | 188 nap->sessionid = audit_get_sessionid(current); in smk_netlabel_audit_set()
|
/linux-6.6.21/fs/nfs/ |
D | nfs4xdr.c | 1792 encode_opaque_fixed(xdr, args->sessionid.data, NFS4_MAX_SESSIONID_LEN); in encode_bind_conn_to_session() 5775 status = decode_sessionid(xdr, &res->sessionid); in decode_bind_conn_to_session() 5803 status = decode_sessionid(xdr, &res->sessionid); in decode_create_session()
|
D | nfs4proc.c | 8508 nfs4_copy_sessionid(&args.sessionid, &clp->cl_session->sess_id); in nfs4_proc_bind_one_conn_to_session() 8524 if (memcmp(res.sessionid.data, in nfs4_proc_bind_one_conn_to_session() 9214 nfs4_copy_sessionid(&session->sess_id, &res->sessionid); in nfs4_update_session()
|