netlabel.h (d7cce01504a0ccb95b5007d846560cfccbc1947f) netlabel.h (3faa8f982f958961fda68b8d63e682fe77a032d4)
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@paul-moore.com>
8 *

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

429 u32 start,
430 u32 end,
431 gfp_t flags);
432int netlbl_catmap_setlong(struct netlbl_lsm_catmap **catmap,
433 u32 offset,
434 unsigned long bitmap,
435 gfp_t flags);
436
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@paul-moore.com>
8 *

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

429 u32 start,
430 u32 end,
431 gfp_t flags);
432int netlbl_catmap_setlong(struct netlbl_lsm_catmap **catmap,
433 u32 offset,
434 unsigned long bitmap,
435 gfp_t flags);
436
437/* Bitmap functions
438 */
439int netlbl_bitmap_walk(const unsigned char *bitmap, u32 bitmap_len,
440 u32 offset, u8 state);
441void netlbl_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state);
442
437/*
438 * LSM protocol operations (NetLabel LSM/kernel API)
439 */
440int netlbl_enabled(void);
441int netlbl_sock_setattr(struct sock *sk,
442 u16 family,
443 const struct netlbl_lsm_secattr *secattr);
444void netlbl_sock_delattr(struct sock *sk);

--- 189 unchanged lines hidden ---
443/*
444 * LSM protocol operations (NetLabel LSM/kernel API)
445 */
446int netlbl_enabled(void);
447int netlbl_sock_setattr(struct sock *sk,
448 u16 family,
449 const struct netlbl_lsm_secattr *secattr);
450void netlbl_sock_delattr(struct sock *sk);

--- 189 unchanged lines hidden ---