@@ -4734,6 +4734,51 @@ pub const RTNLGRP_MCTP_IFADDR: c_uint = 0x22;
4734
4734
pub const RTNLGRP_TUNNEL : c_uint = 0x23 ;
4735
4735
pub const RTNLGRP_STATS : c_uint = 0x24 ;
4736
4736
4737
+ // linux/cn_proc.h
4738
+ c_enum ! {
4739
+ proc_cn_mcast_op {
4740
+ PROC_CN_MCAST_LISTEN = 1 ,
4741
+ PROC_CN_MCAST_IGNORE = 2 ,
4742
+ }
4743
+ }
4744
+
4745
+ c_enum ! {
4746
+ proc_cn_event {
4747
+ PROC_EVENT_NONE = 0x00000000 ,
4748
+ PROC_EVENT_FORK = 0x00000001 ,
4749
+ PROC_EVENT_EXEC = 0x00000002 ,
4750
+ PROC_EVENT_UID = 0x00000004 ,
4751
+ PROC_EVENT_GID = 0x00000040 ,
4752
+ PROC_EVENT_SID = 0x00000080 ,
4753
+ PROC_EVENT_PTRACE = 0x00000100 ,
4754
+ PROC_EVENT_COMM = 0x00000200 ,
4755
+ PROC_EVENT_NONZERO_EXIT = 0x20000000 ,
4756
+ PROC_EVENT_COREDUMP = 0x40000000 ,
4757
+ PROC_EVENT_EXIT = 0x80000000 ,
4758
+ }
4759
+ }
4760
+
4761
+ // linux/connector.h
4762
+ pub const CN_IDX_PROC : c_uint = 0x1 ;
4763
+ pub const CN_VAL_PROC : c_uint = 0x1 ;
4764
+ pub const CN_IDX_CIFS : c_uint = 0x2 ;
4765
+ pub const CN_VAL_CIFS : c_uint = 0x1 ;
4766
+ pub const CN_W1_IDX : c_uint = 0x3 ;
4767
+ pub const CN_W1_VAL : c_uint = 0x1 ;
4768
+ pub const CN_IDX_V86D : c_uint = 0x4 ;
4769
+ pub const CN_VAL_V86D_UVESAFB : c_uint = 0x1 ;
4770
+ pub const CN_IDX_BB : c_uint = 0x5 ;
4771
+ pub const CN_DST_IDX : c_uint = 0x6 ;
4772
+ pub const CN_DST_VAL : c_uint = 0x1 ;
4773
+ pub const CN_IDX_DM : c_uint = 0x7 ;
4774
+ pub const CN_VAL_DM_USERSPACE_LOG : c_uint = 0x1 ;
4775
+ pub const CN_IDX_DRBD : c_uint = 0x8 ;
4776
+ pub const CN_VAL_DRBD : c_uint = 0x1 ;
4777
+ pub const CN_KVP_IDX : c_uint = 0x9 ;
4778
+ pub const CN_KVP_VAL : c_uint = 0x1 ;
4779
+ pub const CN_VSS_IDX : c_uint = 0xA ;
4780
+ pub const CN_VSS_VAL : c_uint = 0x1 ;
4781
+
4737
4782
// linux/module.h
4738
4783
pub const MODULE_INIT_IGNORE_MODVERSIONS : c_uint = 0x0001 ;
4739
4784
pub const MODULE_INIT_IGNORE_VERMAGIC : c_uint = 0x0002 ;
0 commit comments