Home
last modified time | relevance | path

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

/linux/Documentation/ABI/stable/
H A 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/kernel/
H A Daudit.c2165 unsigned int sessionid = audit_get_sessionid(current); in audit_log_session_info() local
2168 audit_log_format(ab, "auid=%u ses=%u", auid, sessionid); in audit_log_session_info()
2325 unsigned int sessionid, int rc) in audit_log_set_loginuid() argument
2347 oldsessionid, sessionid, !rc); in audit_log_set_loginuid()
2362 unsigned int oldsessionid, sessionid = AUDIT_SID_UNSET; in audit_set_loginuid() local
2375 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid()
2376 if (unlikely(sessionid == AUDIT_SID_UNSET)) in audit_set_loginuid()
2377 sessionid = (unsigned int)atomic_inc_return(&session_id); in audit_set_loginuid()
2380 current->sessionid = sessionid; in audit_set_loginuid()
2383 audit_log_set_loginuid(oldloginuid, loginuid, oldsessionid, sessionid, rc); in audit_set_loginuid()
H A 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()
1097 unsigned int sessionid, struct lsm_prop *prop, in audit_log_pid_context() argument
1111 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context()
2947 unsigned int sessionid; in audit_log_task() local
2951 sessionid = audit_get_sessionid(current); in audit_log_task()
2958 sessionid); in audit_log_task()
/linux/net/netlabel/
H A Dnetlabel_user.h37 audit_info->sessionid = audit_get_sessionid(current); in netlbl_netlink_auditinfo()
H A Dnetlabel_user.c99 audit_info->sessionid); in netlbl_audit_start_common()
H A Dnetlabel_unlabeled.c1543 audit_info.sessionid = 0; in netlbl_unlabel_defconf()
/linux/drivers/tty/
H A 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/init/
H A Dinit_task.c148 .sessionid = AUDIT_SID_UNSET,
/linux/fs/nfsd/
H A Dnfs4state.c1842 hash_sessionid(struct nfs4_sessionid *sessionid) in hash_sessionid() argument
1844 struct nfsd4_sessionid *sid = (struct nfsd4_sessionid *)sessionid; in hash_sessionid()
1851 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument
1853 u32 *ptr = (u32 *)(&sessionid->data[0]); in dump_sessionid()
1858 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument
2177 __find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid, struct net *net) in __find_in_sessionid_hashtbl() argument
2185 dump_sessionid(__func__, sessionid); in __find_in_sessionid_hashtbl()
2186 idx = hash_sessionid(sessionid); in __find_in_sessionid_hashtbl()
2189 if (!memcmp(elem->se_sessionid.data, sessionid->data, in __find_in_sessionid_hashtbl()
2200 find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid, struct net *net, in find_in_sessionid_hashtbl() argument
[all …]
H A Dtrace.h750 (struct nfsd4_sessionid *)&sequence->sessionid;
/linux/include/linux/
H A Dnfs_xdr.h1382 struct nfs4_sessionid sessionid; member
1389 struct nfs4_sessionid sessionid; member
1415 struct nfs4_sessionid sessionid; member
H A Daudit.h206 return tsk->sessionid; in audit_get_sessionid()
H A Dsched.h1182 unsigned int sessionid; member
/linux/include/net/
H A Dnetlabel.h102 unsigned int sessionid; member
/linux/security/smack/
H A Dsmackfs.c186 nap->sessionid = audit_get_sessionid(current); in smk_netlabel_audit_set()
/linux/fs/nfs/
H A Dnfs4xdr.c1826 encode_opaque_fixed(xdr, args->sessionid.data, NFS4_MAX_SESSIONID_LEN); in encode_bind_conn_to_session()
5835 status = decode_sessionid(xdr, &res->sessionid); in decode_bind_conn_to_session()
5863 status = decode_sessionid(xdr, &res->sessionid); in decode_create_session()
H A Dnfs4proc.c8692 nfs4_copy_sessionid(&args.sessionid, &clp->cl_session->sess_id); in nfs4_proc_bind_one_conn_to_session()
8708 if (memcmp(res.sessionid.data, in nfs4_proc_bind_one_conn_to_session()
9400 nfs4_copy_sessionid(&session->sess_id, &res->sessionid); in nfs4_update_session()