netlabel_user.h (3dcbbcda7c5b77c400791b26facd6593c5b176e0) | netlabel_user.h (95d4e6be25a68cd9fbe8c0d356b585504d8db1c7) |
---|---|
1/* 2 * NetLabel NETLINK Interface 3 * 4 * This file defines the NETLINK interface for the NetLabel system. The 5 * NetLabel system manages static and dynamic label mappings for network 6 * protocols such as CIPSO and RIPSO. 7 * 8 * Author: Paul Moore <paul.moore@hp.com> --- 58 unchanged lines hidden (view full) --- 67 seq, 68 type, 69 0, 70 flags, 71 cmd, 72 NETLBL_PROTO_VERSION); 73} 74 | 1/* 2 * NetLabel NETLINK Interface 3 * 4 * This file defines the NETLINK interface for the NetLabel system. The 5 * NetLabel system manages static and dynamic label mappings for network 6 * protocols such as CIPSO and RIPSO. 7 * 8 * Author: Paul Moore <paul.moore@hp.com> --- 58 unchanged lines hidden (view full) --- 67 seq, 68 type, 69 0, 70 flags, 71 cmd, 72 NETLBL_PROTO_VERSION); 73} 74 |
75/** 76 * netlbl_netlink_auditinfo - Fetch the audit information from a NETLINK msg 77 * @skb: the packet 78 * @audit_info: NetLabel audit information 79 */ 80static inline void netlbl_netlink_auditinfo(struct sk_buff *skb, 81 struct netlbl_audit *audit_info) 82{ 83 audit_info->secid = NETLINK_CB(skb).sid; 84 audit_info->loginuid = NETLINK_CB(skb).loginuid; 85} 86 |
|
75/* NetLabel NETLINK I/O functions */ 76 77int netlbl_netlink_init(void); 78 79/* NetLabel Audit Functions */ 80 | 87/* NetLabel NETLINK I/O functions */ 88 89int netlbl_netlink_init(void); 90 91/* NetLabel Audit Functions */ 92 |
81struct audit_buffer *netlbl_audit_start_common(int type, u32 secid); 82void netlbl_audit_nomsg(int type, u32 secid); | 93struct audit_buffer *netlbl_audit_start_common(int type, 94 struct netlbl_audit *audit_info); |
83 84#endif | 95 96#endif |