Home
last modified time | relevance | path

Searched refs:task_valid (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/include/net/
Dxfrm.h705 static inline void xfrm_audit_helper_usrinfo(bool task_valid, in xfrm_audit_helper_usrinfo() argument
708 const unsigned int auid = from_kuid(&init_user_ns, task_valid ? in xfrm_audit_helper_usrinfo()
711 const unsigned int ses = task_valid ? audit_get_sessionid(current) : in xfrm_audit_helper_usrinfo()
718 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid);
720 bool task_valid);
721 void xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid);
722 void xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid);
735 bool task_valid) in xfrm_audit_policy_add() argument
740 bool task_valid) in xfrm_audit_policy_delete() argument
745 bool task_valid) in xfrm_audit_state_add() argument
[all …]
/linux-4.1.27/net/xfrm/
Dxfrm_state.c556 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument
566 xfrm_audit_state_delete(x, 0, task_valid); in xfrm_state_flush_secctx_check()
576 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument
582 int xfrm_state_flush(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush() argument
587 err = xfrm_state_flush_secctx_check(net, proto, task_valid); in xfrm_state_flush()
603 task_valid); in xfrm_state_flush()
2183 void xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid) in xfrm_audit_state_add() argument
2190 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_state_add()
2197 void xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid) in xfrm_audit_state_delete() argument
2204 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_state_delete()
Dxfrm_policy.c893 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument
907 xfrm_audit_policy_delete(pol, 0, task_valid); in xfrm_policy_flush_secctx_check()
921 task_valid); in xfrm_policy_flush_secctx_check()
931 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument
937 int xfrm_policy_flush(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush() argument
943 err = xfrm_policy_flush_secctx_check(net, type, task_valid); in xfrm_policy_flush()
960 xfrm_audit_policy_delete(pol, 1, task_valid); in xfrm_policy_flush()
979 xfrm_audit_policy_delete(pol, 1, task_valid); in xfrm_policy_flush()
3103 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid) in xfrm_audit_policy_add() argument
3110 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_policy_add()
[all …]