@@ -4694,6 +4694,51 @@ pub const RTNLGRP_MCTP_IFADDR: c_uint = 0x22;
46944694pub const RTNLGRP_TUNNEL : c_uint = 0x23 ;
46954695pub const RTNLGRP_STATS : c_uint = 0x24 ;
46964696
4697+ // linux/cn_proc.h
4698+ c_enum ! {
4699+ proc_cn_mcast_op {
4700+ PROC_CN_MCAST_LISTEN = 1 ,
4701+ PROC_CN_MCAST_IGNORE = 2 ,
4702+ }
4703+ }
4704+
4705+ c_enum ! {
4706+ proc_cn_event {
4707+ PROC_EVENT_NONE = 0x00000000 ,
4708+ PROC_EVENT_FORK = 0x00000001 ,
4709+ PROC_EVENT_EXEC = 0x00000002 ,
4710+ PROC_EVENT_UID = 0x00000004 ,
4711+ PROC_EVENT_GID = 0x00000040 ,
4712+ PROC_EVENT_SID = 0x00000080 ,
4713+ PROC_EVENT_PTRACE = 0x00000100 ,
4714+ PROC_EVENT_COMM = 0x00000200 ,
4715+ PROC_EVENT_NONZERO_EXIT = 0x20000000 ,
4716+ PROC_EVENT_COREDUMP = 0x40000000 ,
4717+ PROC_EVENT_EXIT = 0x80000000 ,
4718+ }
4719+ }
4720+
4721+ // linux/connector.h
4722+ pub const CN_IDX_PROC : c_uint = 0x1 ;
4723+ pub const CN_VAL_PROC : c_uint = 0x1 ;
4724+ pub const CN_IDX_CIFS : c_uint = 0x2 ;
4725+ pub const CN_VAL_CIFS : c_uint = 0x1 ;
4726+ pub const CN_W1_IDX : c_uint = 0x3 ;
4727+ pub const CN_W1_VAL : c_uint = 0x1 ;
4728+ pub const CN_IDX_V86D : c_uint = 0x4 ;
4729+ pub const CN_VAL_V86D_UVESAFB : c_uint = 0x1 ;
4730+ pub const CN_IDX_BB : c_uint = 0x5 ;
4731+ pub const CN_DST_IDX : c_uint = 0x6 ;
4732+ pub const CN_DST_VAL : c_uint = 0x1 ;
4733+ pub const CN_IDX_DM : c_uint = 0x7 ;
4734+ pub const CN_VAL_DM_USERSPACE_LOG : c_uint = 0x1 ;
4735+ pub const CN_IDX_DRBD : c_uint = 0x8 ;
4736+ pub const CN_VAL_DRBD : c_uint = 0x1 ;
4737+ pub const CN_KVP_IDX : c_uint = 0x9 ;
4738+ pub const CN_KVP_VAL : c_uint = 0x1 ;
4739+ pub const CN_VSS_IDX : c_uint = 0xA ;
4740+ pub const CN_VSS_VAL : c_uint = 0x1 ;
4741+
46974742// linux/module.h
46984743pub const MODULE_INIT_IGNORE_MODVERSIONS : c_uint = 0x0001 ;
46994744pub const MODULE_INIT_IGNORE_VERMAGIC : c_uint = 0x0002 ;
0 commit comments