Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/netlabel/
Dnetlabel_user.h39 audit_info->sessionid = audit_get_sessionid(current); in netlbl_netlink_auditinfo()
Dnetlabel_user.c99 audit_info->sessionid); in netlbl_audit_start_common()
Dnetlabel_unlabeled.c1544 audit_info.sessionid = 0; in netlbl_unlabel_defconf()
/kernel/linux/linux-5.10/drivers/tty/
Dtty_audit.c67 unsigned int sessionid = audit_get_sessionid(current); in tty_audit_log() local
75 loginuid, sessionid, MAJOR(dev), MINOR(dev)); in tty_audit_log()
/kernel/linux/linux-5.10/kernel/
Daudit.c2149 unsigned int sessionid = audit_get_sessionid(current); in audit_log_session_info() local
2152 audit_log_format(ab, "auid=%u ses=%u", auid, sessionid); in audit_log_session_info()
2309 unsigned int sessionid, int rc) in audit_log_set_loginuid() argument
2331 oldsessionid, sessionid, !rc); in audit_log_set_loginuid()
2346 unsigned int oldsessionid, sessionid = AUDIT_SID_UNSET; in audit_set_loginuid() local
2359 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid()
2360 if (unlikely(sessionid == AUDIT_SID_UNSET)) in audit_set_loginuid()
2361 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid()
2364 current->sessionid = sessionid; in audit_set_loginuid()
2367 audit_log_set_loginuid(oldloginuid, loginuid, oldsessionid, sessionid, rc); in audit_set_loginuid()
Dauditsc.c477 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()
985 kuid_t auid, kuid_t uid, unsigned int sessionid, in audit_log_pid_context() argument
999 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context()
2661 unsigned int sessionid; in audit_log_task() local
2665 sessionid = audit_get_sessionid(current); in audit_log_task()
2672 sessionid); in audit_log_task()
/kernel/linux/linux-5.10/fs/nfsd/
Dstate.h218 struct nfs4_sessionid sessionid; member
233 struct nfs4_sessionid sessionid; member
Dnfs4state.c1558 hash_sessionid(struct nfs4_sessionid *sessionid) in hash_sessionid() argument
1560 struct nfsd4_sessionid *sid = (struct nfsd4_sessionid *)sessionid; in hash_sessionid()
1567 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument
1569 u32 *ptr = (u32 *)(&sessionid->data[0]); in dump_sessionid()
1574 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument
1887 __find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid, struct net *net) in __find_in_sessionid_hashtbl() argument
1895 dump_sessionid(__func__, sessionid); in __find_in_sessionid_hashtbl()
1896 idx = hash_sessionid(sessionid); in __find_in_sessionid_hashtbl()
1899 if (!memcmp(elem->se_sessionid.data, sessionid->data, in __find_in_sessionid_hashtbl()
1910 find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid, struct net *net, in find_in_sessionid_hashtbl() argument
[all …]
Dxdr4.h445 struct nfs4_sessionid sessionid; /* request/response */ member
457 struct nfs4_sessionid sessionid; member
Dnfs4xdr.c663 COPYMEM(bcts->sessionid.data, NFS4_MAX_SESSIONID_LEN); in nfsd4_decode_bind_conn_to_session()
1501 COPYMEM(destroy_session->sessionid.data, NFS4_MAX_SESSIONID_LEN); in nfsd4_decode_destroy_session()
1526 COPYMEM(seq->sessionid.data, NFS4_MAX_SESSIONID_LEN); in nfsd4_decode_sequence()
3500 p = xdr_encode_opaque_fixed(p, bcts->sessionid.data, in nfsd4_encode_bind_conn_to_session()
4308 p = xdr_encode_opaque_fixed(p, sess->sessionid.data, in nfsd4_encode_create_session()
4361 p = xdr_encode_opaque_fixed(p, seq->sessionid.data, in nfsd4_encode_sequence()
/kernel/linux/linux-5.10/init/
Dinit_task.c141 .sessionid = AUDIT_SID_UNSET,
/kernel/linux/linux-5.10/include/linux/
Dnfs_xdr.h1329 struct nfs4_sessionid sessionid; member
1336 struct nfs4_sessionid sessionid; member
1362 struct nfs4_sessionid sessionid; member
Daudit.h205 return tsk->sessionid; in audit_get_sessionid()
Dsched.h1133 unsigned int sessionid; member
/kernel/linux/linux-5.10/include/net/
Dnetlabel.h102 unsigned int sessionid; member
/kernel/linux/linux-5.10/security/smack/
Dsmackfs.c187 nap->sessionid = audit_get_sessionid(current); in smk_netlabel_audit_set()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4xdr.c1764 encode_opaque_fixed(xdr, args->sessionid.data, NFS4_MAX_SESSIONID_LEN); in encode_bind_conn_to_session()
5678 status = decode_sessionid(xdr, &res->sessionid); in decode_bind_conn_to_session()
5706 status = decode_sessionid(xdr, &res->sessionid); in decode_create_session()
Dnfs4proc.c8282 nfs4_copy_sessionid(&args.sessionid, &clp->cl_session->sess_id); in nfs4_proc_bind_one_conn_to_session()
8298 if (memcmp(res.sessionid.data, in nfs4_proc_bind_one_conn_to_session()
8983 nfs4_copy_sessionid(&session->sess_id, &res->sessionid); in nfs4_update_session()