Home
last modified time | relevance | path

Searched refs:sid (Results 1 – 6 of 6) sorted by relevance

/kernel/
Daudit.c265 uid_t loginuid, u32 sessionid, u32 sid, in audit_log_config_change() argument
274 if (sid) { in audit_log_config_change()
278 rc = security_secid_to_secctx(sid, &ctx, &len); in audit_log_config_change()
280 audit_log_format(ab, " sid=%u", sid); in audit_log_config_change()
294 u32 sid) in audit_do_config_change() argument
306 sessionid, sid, allow_changes); in audit_do_config_change()
321 u32 sid) in audit_set_rate_limit() argument
324 limit, loginuid, sessionid, sid); in audit_set_rate_limit()
328 u32 sid) in audit_set_backlog_limit() argument
331 limit, loginuid, sessionid, sid); in audit_set_backlog_limit()
[all …]
Dauditsc.c442 u32 sid; in audit_filter_rules() local
567 security_task_getsecid(tsk, &sid); in audit_filter_rules()
570 result = security_audit_rule_match(sid, f->type, in audit_filter_rules()
924 u32 sid; in audit_log_task_context() local
926 security_task_getsecid(current, &sid); in audit_log_task_context()
927 if (!sid) in audit_log_task_context()
930 error = security_secid_to_secctx(sid, &ctx, &len); in audit_log_task_context()
979 u32 sid, char *comm) in audit_log_pid_context() argument
992 if (security_secid_to_secctx(sid, &ctx, &len)) { in audit_log_pid_context()
2496 u32 sid; in audit_core_dumps() local
[all …]
Dsys.c1068 struct pid *sid; in SYSCALL_DEFINE1() local
1073 sid = task_session(current); in SYSCALL_DEFINE1()
1079 sid = task_session(p); in SYSCALL_DEFINE1()
1080 if (!sid) in SYSCALL_DEFINE1()
1087 retval = pid_vnr(sid); in SYSCALL_DEFINE1()
1096 struct pid *sid = task_pid(group_leader); in SYSCALL_DEFINE0() local
1097 pid_t session = pid_vnr(sid); in SYSCALL_DEFINE0()
1108 if (pid_task(sid, PIDTYPE_PGID)) in SYSCALL_DEFINE0()
1112 __set_special_pids(sid); in SYSCALL_DEFINE0()
Dauditfilter.c1507 static void audit_log_rule_change(uid_t loginuid, u32 sessionid, u32 sid, in audit_log_rule_change() argument
1520 if (sid) { in audit_log_rule_change()
1523 if (security_secid_to_secctx(sid, &ctx, &len)) in audit_log_rule_change()
1524 audit_log_format(ab, " ssid=%u", sid); in audit_log_rule_change()
1552 size_t datasz, uid_t loginuid, u32 sessionid, u32 sid) in audit_receive_filter() argument
1598 audit_log_rule_change(loginuid, sessionid, sid, "add", in audit_receive_filter()
1614 audit_log_rule_change(loginuid, sessionid, sid, "remove", in audit_receive_filter()
Dexit.c237 struct pid *sid = NULL; in session_of_pgrp() local
243 sid = task_session(p); in session_of_pgrp()
245 return sid; in session_of_pgrp()
Dsignal.c581 struct pid *sid; in check_kill_permission() local
602 sid = task_session(t); in check_kill_permission()
607 if (!sid || sid == task_session(current)) in check_kill_permission()