/kernel/linux/linux-6.6/include/net/ |
H A D | xfrm.h | 709 static inline void xfrm_audit_helper_usrinfo(bool task_valid, in xfrm_audit_helper_usrinfo() argument 712 const unsigned int auid = from_kuid(&init_user_ns, task_valid ? in xfrm_audit_helper_usrinfo() 715 const unsigned int ses = task_valid ? audit_get_sessionid(current) : in xfrm_audit_helper_usrinfo() 722 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid); 724 bool task_valid); 725 void xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid); 726 void xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid); 739 bool task_valid) in xfrm_audit_policy_add() 744 bool task_valid) in xfrm_audit_policy_delete() 749 bool task_valid) in xfrm_audit_state_add() 738 xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid) xfrm_audit_policy_add() argument 743 xfrm_audit_policy_delete(struct xfrm_policy *xp, int result, bool task_valid) xfrm_audit_policy_delete() argument 748 xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid) xfrm_audit_state_add() argument 753 xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid) xfrm_audit_state_delete() argument [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | xfrm.h | 691 static inline void xfrm_audit_helper_usrinfo(bool task_valid, in xfrm_audit_helper_usrinfo() argument 694 const unsigned int auid = from_kuid(&init_user_ns, task_valid ? in xfrm_audit_helper_usrinfo() 697 const unsigned int ses = task_valid ? audit_get_sessionid(current) : in xfrm_audit_helper_usrinfo() 704 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid); 706 bool task_valid); 707 void xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid); 708 void xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid); 721 bool task_valid) in xfrm_audit_policy_add() 726 bool task_valid) in xfrm_audit_policy_delete() 731 bool task_valid) in xfrm_audit_state_add() 720 xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid) xfrm_audit_policy_add() argument 725 xfrm_audit_policy_delete(struct xfrm_policy *xp, int result, bool task_valid) xfrm_audit_policy_delete() argument 730 xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid) xfrm_audit_state_add() argument 735 xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid) xfrm_audit_state_delete() argument [all...] |
/kernel/linux/linux-5.10/net/xfrm/ |
H A D | xfrm_state.c | 703 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument 713 xfrm_audit_state_delete(x, 0, task_valid); in xfrm_state_flush_secctx_check() 723 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check() argument 736 xfrm_audit_state_delete(x, 0, task_valid); in xfrm_dev_state_flush_secctx_check() 746 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument 752 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check() argument 758 int xfrm_state_flush(struct net *net, u8 proto, bool task_valid, bool sync) in xfrm_state_flush() argument 763 err = xfrm_state_flush_secctx_check(net, proto, task_valid); in xfrm_state_flush() 779 task_valid); in xfrm_state_flush() 801 int xfrm_dev_state_flush(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush() argument 2773 xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid) xfrm_audit_state_add() argument 2787 xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid) xfrm_audit_state_delete() argument [all...] |
H A D | xfrm_policy.c | 1751 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument 1764 xfrm_audit_policy_delete(pol, 0, task_valid); in xfrm_policy_flush_secctx_check() 1772 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument 1778 int xfrm_policy_flush(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush() argument 1785 err = xfrm_policy_flush_secctx_check(net, type, task_valid); in xfrm_policy_flush() 1800 xfrm_audit_policy_delete(pol, 1, task_valid); in xfrm_policy_flush() 4261 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid) in xfrm_audit_policy_add() argument 4268 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_policy_add() 4276 bool task_valid) in xfrm_audit_policy_delete() 4283 xfrm_audit_helper_usrinfo(task_valid, audit_bu in xfrm_audit_policy_delete() 4275 xfrm_audit_policy_delete(struct xfrm_policy *xp, int result, bool task_valid) xfrm_audit_policy_delete() argument [all...] |
/kernel/linux/linux-6.6/net/xfrm/ |
H A D | xfrm_state.c | 751 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument 761 xfrm_audit_state_delete(x, 0, task_valid); in xfrm_state_flush_secctx_check() 771 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check() argument 784 xfrm_audit_state_delete(x, 0, task_valid); in xfrm_dev_state_flush_secctx_check() 794 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() argument 800 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check() argument 806 int xfrm_state_flush(struct net *net, u8 proto, bool task_valid, bool sync) in xfrm_state_flush() argument 811 err = xfrm_state_flush_secctx_check(net, proto, task_valid); in xfrm_state_flush() 827 task_valid); in xfrm_state_flush() 849 int xfrm_dev_state_flush(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush() argument 2985 xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid) xfrm_audit_state_add() argument 2999 xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid) xfrm_audit_state_delete() argument [all...] |
H A D | xfrm_policy.c | 1758 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument 1771 xfrm_audit_policy_delete(pol, 0, task_valid); in xfrm_policy_flush_secctx_check() 1780 bool task_valid) in xfrm_dev_policy_flush_secctx_check() 1793 xfrm_audit_policy_delete(pol, 0, task_valid); in xfrm_dev_policy_flush_secctx_check() 1801 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check() argument 1808 bool task_valid) in xfrm_dev_policy_flush_secctx_check() 1814 int xfrm_policy_flush(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush() argument 1821 err = xfrm_policy_flush_secctx_check(net, type, task_valid); in xfrm_policy_flush() 1839 xfrm_audit_policy_delete(pol, 1, task_valid); in xfrm_policy_flush() 1855 bool task_valid) in xfrm_dev_policy_flush() 1778 xfrm_dev_policy_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) xfrm_dev_policy_flush_secctx_check() argument 1806 xfrm_dev_policy_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) xfrm_dev_policy_flush_secctx_check() argument 1854 xfrm_dev_policy_flush(struct net *net, struct net_device *dev, bool task_valid) xfrm_dev_policy_flush() argument 4309 xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid) xfrm_audit_policy_add() argument 4323 xfrm_audit_policy_delete(struct xfrm_policy *xp, int result, bool task_valid) xfrm_audit_policy_delete() argument [all...] |