File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -686,6 +686,11 @@ JAIL_SYS_DISABLE
686686JAIL_SYS_INHERIT
687687JAIL_SYS_NEW
688688JAIL_UPDATE
689+ KCMP_FILE
690+ KCMP_FILEOBJ
691+ KCMP_FILES
692+ KCMP_SIGHAND
693+ KCMP_VM
689694KENV_GET
690695KENV_SET
691696KENV_UNSET
@@ -1972,6 +1977,7 @@ jail_get
19721977jail_remove
19731978jail_set
19741979jrand48
1980+ kcmp
19751981kevent
19761982key_t
19771983killpg
Original file line number Diff line number Diff line change @@ -4803,6 +4803,12 @@ pub const TFD_CLOEXEC: ::c_int = O_CLOEXEC;
48034803pub const TFD_TIMER_ABSTIME : :: c_int = 0x01 ;
48044804pub const TFD_TIMER_CANCEL_ON_SET : :: c_int = 0x02 ;
48054805
4806+ pub const KCMP_FILE : :: c_int = 100 ;
4807+ pub const KCMP_FILEOBJ : :: c_int = 101 ;
4808+ pub const KCMP_FILES : :: c_int = 102 ;
4809+ pub const KCMP_SIGHAND : :: c_int = 103 ;
4810+ pub const KCMP_VM : :: c_int = 104 ;
4811+
48064812pub const fn MAP_ALIGNED ( a : :: c_int ) -> :: c_int {
48074813 a << 24
48084814}
@@ -5522,6 +5528,14 @@ extern "C" {
55225528 ) -> :: c_int ;
55235529 pub fn closefrom ( lowfd : :: c_int ) ;
55245530 pub fn close_range ( lowfd : :: c_uint , highfd : :: c_uint , flags : :: c_int ) -> :: c_int ;
5531+
5532+ pub fn kcmp (
5533+ pid1 : :: pid_t ,
5534+ pid2 : :: pid_t ,
5535+ type_ : :: c_int ,
5536+ idx1 : :: c_ulong ,
5537+ idx2 : :: c_ulong ,
5538+ ) -> :: c_int ;
55255539}
55265540
55275541#[ link( name = "memstat" ) ]
You can’t perform that action at this time.
0 commit comments