21 lines
420 B
C
21 lines
420 B
C
#ifndef _IPT_OWNER_H
|
|
#define _IPT_OWNER_H
|
|
|
|
/* match and invert flags */
|
|
#define IPT_OWNER_UID 0x01
|
|
#define IPT_OWNER_GID 0x02
|
|
#define IPT_OWNER_PID 0x04
|
|
#define IPT_OWNER_SID 0x08
|
|
#define IPT_OWNER_COMM 0x10
|
|
|
|
struct ipt_owner_info {
|
|
__kernel_uid32_t uid;
|
|
__kernel_gid32_t gid;
|
|
__kernel_pid_t pid;
|
|
__kernel_pid_t sid;
|
|
char comm[16];
|
|
u_int8_t match, invert; /* flags */
|
|
};
|
|
|
|
#endif /*_IPT_OWNER_H*/
|