Home
last modified time | relevance | path

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

/linux/include/net/
H A Dxfrm.h823 static inline void xfrm_audit_helper_usrinfo(bool task_valid, in xfrm_audit_helper_usrinfo() argument
826 const unsigned int auid = from_kuid(&init_user_ns, task_valid ? in xfrm_audit_helper_usrinfo()
829 const unsigned int ses = task_valid ? audit_get_sessionid(current) : in xfrm_audit_helper_usrinfo()
836 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid);
838 bool task_valid);
839 void xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid);
840 void xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid);
853 bool task_valid) in xfrm_audit_policy_add() argument
858 bool task_valid) in xfrm_audit_policy_delete() argument
863 bool task_valid) in xfrm_audit_state_add() argument
868 xfrm_audit_state_delete(struct xfrm_state * x,int result,bool task_valid) xfrm_audit_state_delete() argument
[all...]
/linux/net/xfrm/
H A Dxfrm_state.c866 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument
876 xfrm_audit_state_delete(x, 0, task_valid); in xfrm_state_flush_secctx_check()
886 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check() argument
899 xfrm_audit_state_delete(x, 0, task_valid); in xfrm_dev_state_flush_secctx_check()
909 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument
915 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check() argument
921 int xfrm_state_flush(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush() argument
926 err = xfrm_state_flush_secctx_check(net, proto, task_valid); in xfrm_state_flush()
942 task_valid); in xfrm_state_flush()
961 int xfrm_dev_state_flush(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush() argument
[all …]
H A Dxfrm_policy.c1762 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument
1775 xfrm_audit_policy_delete(pol, 0, task_valid); in xfrm_policy_flush_secctx_check()
1784 bool task_valid) in xfrm_dev_policy_flush_secctx_check() argument
1797 xfrm_audit_policy_delete(pol, 0, task_valid); in xfrm_dev_policy_flush_secctx_check()
1805 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument
1812 bool task_valid) in xfrm_dev_policy_flush_secctx_check() argument
1818 int xfrm_policy_flush(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush() argument
1825 err = xfrm_policy_flush_secctx_check(net, type, task_valid); in xfrm_policy_flush()
1842 xfrm_audit_policy_delete(pol, 1, task_valid); in xfrm_policy_flush()
1858 bool task_valid) in xfrm_dev_policy_flush() argument
[all …]