Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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-v6.1/drivers/tty/
Dtty_audit.c68 unsigned int sessionid = audit_get_sessionid(current); in tty_audit_log() local
76 loginuid, sessionid, MAJOR(dev), MINOR(dev)); in tty_audit_log()
/Linux-v6.1/kernel/
Daudit.c2150 unsigned int sessionid = audit_get_sessionid(current); in audit_log_session_info() local
2153 audit_log_format(ab, "auid=%u ses=%u", auid, sessionid); in audit_log_session_info()
2310 unsigned int sessionid, int rc) in audit_log_set_loginuid() argument
2332 oldsessionid, sessionid, !rc); in audit_log_set_loginuid()
2347 unsigned int oldsessionid, sessionid = AUDIT_SID_UNSET; in audit_set_loginuid() local
2360 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid()
2361 if (unlikely(sessionid == AUDIT_SID_UNSET)) in audit_set_loginuid()
2362 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid()
2365 current->sessionid = sessionid; in audit_set_loginuid()
2368 audit_log_set_loginuid(oldloginuid, loginuid, oldsessionid, sessionid, rc); in audit_set_loginuid()
Dauditsc.c471 unsigned int sessionid; in audit_filter_rules() local
540 sessionid = audit_get_sessionid(tsk); in audit_filter_rules()
541 result = audit_comparator(sessionid, f->op, f->val); in audit_filter_rules()
1086 kuid_t auid, kuid_t uid, unsigned int sessionid, in audit_log_pid_context() argument
1100 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context()
2931 unsigned int sessionid; in audit_log_task() local
2935 sessionid = audit_get_sessionid(current); in audit_log_task()
2942 sessionid); in audit_log_task()
/Linux-v6.1/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.c1667 hash_sessionid(struct nfs4_sessionid *sessionid) in hash_sessionid() argument
1669 struct nfsd4_sessionid *sid = (struct nfsd4_sessionid *)sessionid; in hash_sessionid()
1676 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument
1678 u32 *ptr = (u32 *)(&sessionid->data[0]); in dump_sessionid()
1683 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument
1998 __find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid, struct net *net) in __find_in_sessionid_hashtbl() argument
2006 dump_sessionid(__func__, sessionid); in __find_in_sessionid_hashtbl()
2007 idx = hash_sessionid(sessionid); in __find_in_sessionid_hashtbl()
2010 if (!memcmp(elem->se_sessionid.data, sessionid->data, in __find_in_sessionid_hashtbl()
2021 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()
1469 status = nfsd4_decode_sessionid4(argp, &bcts->sessionid); in nfsd4_decode_bind_conn_to_session()
1686 return nfsd4_decode_sessionid4(argp, &destroy_session->sessionid); in nfsd4_decode_destroy_session()
1813 status = nfsd4_decode_sessionid4(argp, &seq->sessionid); in nfsd4_decode_sequence()
3654 p = xdr_encode_opaque_fixed(p, bcts->sessionid.data, in nfsd4_encode_bind_conn_to_session()
4459 p = xdr_encode_opaque_fixed(p, sess->sessionid.data, in nfsd4_encode_create_session()
4512 p = xdr_encode_opaque_fixed(p, seq->sessionid.data, in nfsd4_encode_sequence()
/Linux-v6.1/init/
Dinit_task.c139 .sessionid = AUDIT_SID_UNSET,
/Linux-v6.1/include/linux/
Dnfs_xdr.h1349 struct nfs4_sessionid sessionid; member
1356 struct nfs4_sessionid sessionid; member
1382 struct nfs4_sessionid sessionid; member
Daudit.h204 return tsk->sessionid; in audit_get_sessionid()
Dsched.h1122 unsigned int sessionid; member
/Linux-v6.1/include/net/
Dnetlabel.h102 unsigned int sessionid; member
/Linux-v6.1/security/smack/
Dsmackfs.c188 nap->sessionid = audit_get_sessionid(current); in smk_netlabel_audit_set()
/Linux-v6.1/fs/nfs/
Dnfs4xdr.c1792 encode_opaque_fixed(xdr, args->sessionid.data, NFS4_MAX_SESSIONID_LEN); in encode_bind_conn_to_session()
5779 status = decode_sessionid(xdr, &res->sessionid); in decode_bind_conn_to_session()
5807 status = decode_sessionid(xdr, &res->sessionid); in decode_create_session()
Dnfs4proc.c8486 nfs4_copy_sessionid(&args.sessionid, &clp->cl_session->sess_id); in nfs4_proc_bind_one_conn_to_session()
8502 if (memcmp(res.sessionid.data, in nfs4_proc_bind_one_conn_to_session()
9185 nfs4_copy_sessionid(&session->sess_id, &res->sessionid); in nfs4_update_session()