Home
last modified time | relevance | path

Searched refs:sessionid (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/Documentation/ABI/stable/
Dprocfs-audit_loginuid19 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/
Dnetlabel_user.h37 audit_info->sessionid = audit_get_sessionid(current); in netlbl_netlink_auditinfo()
Dnetlabel_user.c99 audit_info->sessionid); in netlbl_audit_start_common()
Dnetlabel_unlabeled.c1543 audit_info.sessionid = 0; in netlbl_unlabel_defconf()
/linux-6.6.21/drivers/tty/
Dtty_audit.c68 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/
Daudit.c2166 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()
Dauditsc.c474 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/
Dstate.h219 struct nfs4_sessionid sessionid; member
234 struct nfs4_sessionid sessionid; member
Dxdr4.h436 struct nfs4_sessionid sessionid; /* request/response */ member
448 struct nfs4_sessionid sessionid; member
Dnfs4state.c1677 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 …]
Dnfs4xdr.c645 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/
Dinit_task.c139 .sessionid = AUDIT_SID_UNSET,
/linux-6.6.21/include/linux/
Dnfs_xdr.h1350 struct nfs4_sessionid sessionid; member
1357 struct nfs4_sessionid sessionid; member
1383 struct nfs4_sessionid sessionid; member
Daudit.h205 return tsk->sessionid; in audit_get_sessionid()
Dsched.h1122 unsigned int sessionid; member
/linux-6.6.21/include/net/
Dnetlabel.h102 unsigned int sessionid; member
/linux-6.6.21/security/smack/
Dsmackfs.c188 nap->sessionid = audit_get_sessionid(current); in smk_netlabel_audit_set()
/linux-6.6.21/fs/nfs/
Dnfs4xdr.c1792 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()
Dnfs4proc.c8508 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()