netlabel.h (3dcbbcda7c5b77c400791b26facd6593c5b176e0) netlabel.h (95d4e6be25a68cd9fbe8c0d356b585504d8db1c7)
1/*
2 * NetLabel System
3 *
4 * The NetLabel system manages static and dynamic label mappings for network
5 * protocols such as CIPSO and RIPSO.
6 *
7 * Author: Paul Moore <paul.moore@hp.com>
8 *

--- 78 unchanged lines hidden (view full) ---

87 * The following functions are provided for use by other kernel modules,
88 * specifically kernel LSM modules, to provide a consistent, transparent API
89 * for dealing with explicit packet labeling protocols such as CIPSO and
90 * RIPSO. The functions defined here are implemented in the
91 * net/netlabel/netlabel_kapi.c file.
92 *
93 */
94
1/*
2 * NetLabel System
3 *
4 * The NetLabel system manages static and dynamic label mappings for network
5 * protocols such as CIPSO and RIPSO.
6 *
7 * Author: Paul Moore <paul.moore@hp.com>
8 *

--- 78 unchanged lines hidden (view full) ---

87 * The following functions are provided for use by other kernel modules,
88 * specifically kernel LSM modules, to provide a consistent, transparent API
89 * for dealing with explicit packet labeling protocols such as CIPSO and
90 * RIPSO. The functions defined here are implemented in the
91 * net/netlabel/netlabel_kapi.c file.
92 *
93 */
94
95/* NetLabel audit information */
96struct netlbl_audit {
97 u32 secid;
98 uid_t loginuid;
99};
100
95/* Domain mapping definition struct */
96struct netlbl_dom_map;
97
98/* Domain mapping operations */
101/* Domain mapping definition struct */
102struct netlbl_dom_map;
103
104/* Domain mapping operations */
99int netlbl_domhsh_remove(const char *domain, u32 audit_secid);
105int netlbl_domhsh_remove(const char *domain, struct netlbl_audit *audit_info);
100
101/* LSM security attributes */
102struct netlbl_lsm_cache {
103 void (*free) (const void *data);
104 void *data;
105};
106struct netlbl_lsm_secattr {
107 char *domain;

--- 148 unchanged lines hidden ---
106
107/* LSM security attributes */
108struct netlbl_lsm_cache {
109 void (*free) (const void *data);
110 void *data;
111};
112struct netlbl_lsm_secattr {
113 char *domain;

--- 148 unchanged lines hidden ---