agl / lsmsb

Linux Security Modules based sandboxing scheme

This URL has Read+Write access

lsmsb / lsmsb_external.h
100644 13 lines (11 sloc) 0.311 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
struct lsmsb_filter_wire {
uint32_t filter_code;
uint32_t num_operations;
uint32_t num_spill_slots;
uint32_t num_constants;
};
 
struct lsmsb_constant_wire {
uint8_t type; // 0 for integer, 1 for bytestring
uint32_t value;
/* In the case of a bytestring, the bytes follow and |value| is the length */
};