Searched refs:task_valid (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/include/net/ |
D | xfrm.h | 686 static inline void xfrm_audit_helper_usrinfo(bool task_valid, in xfrm_audit_helper_usrinfo() argument 689 const unsigned int auid = from_kuid(&init_user_ns, task_valid ? in xfrm_audit_helper_usrinfo() 692 const unsigned int ses = task_valid ? audit_get_sessionid(current) : in xfrm_audit_helper_usrinfo() 699 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid); 701 bool task_valid); 702 void xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid); 703 void xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid); 716 bool task_valid) in xfrm_audit_policy_add() argument 721 bool task_valid) in xfrm_audit_policy_delete() argument 726 bool task_valid) in xfrm_audit_state_add() argument [all …]
|
/Linux-v5.10/net/xfrm/ |
D | xfrm_state.c | 704 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument 714 xfrm_audit_state_delete(x, 0, task_valid); in xfrm_state_flush_secctx_check() 724 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check() argument 737 xfrm_audit_state_delete(x, 0, task_valid); in xfrm_dev_state_flush_secctx_check() 747 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument 753 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check() argument 759 int xfrm_state_flush(struct net *net, u8 proto, bool task_valid, bool sync) in xfrm_state_flush() argument 764 err = xfrm_state_flush_secctx_check(net, proto, task_valid); in xfrm_state_flush() 780 task_valid); in xfrm_state_flush() 802 int xfrm_dev_state_flush(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush() argument [all …]
|
D | xfrm_policy.c | 1742 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument 1755 xfrm_audit_policy_delete(pol, 0, task_valid); in xfrm_policy_flush_secctx_check() 1763 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument 1769 int xfrm_policy_flush(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush() argument 1776 err = xfrm_policy_flush_secctx_check(net, type, task_valid); in xfrm_policy_flush() 1791 xfrm_audit_policy_delete(pol, 1, task_valid); in xfrm_policy_flush() 4206 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid) in xfrm_audit_policy_add() argument 4213 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_policy_add() 4221 bool task_valid) in xfrm_audit_policy_delete() argument 4228 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_policy_delete()
|