File tree Expand file tree Collapse file tree
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2596,6 +2596,13 @@ fn test_freebsd(target: &str) {
25962596 true
25972597 }
25982598
2599+ // Added in FreeBSD 14.1
2600+ "KCMP_FILE" | "KCMP_FILEOBJ" | "KCMP_FILES" | "KCMP_SIGHAND" | "KCMP_VM"
2601+ if Some ( 14 ) > freebsd_ver =>
2602+ {
2603+ true
2604+ }
2605+
25992606 // FIXME: Removed in FreeBSD 15:
26002607 "LOCAL_CONNWAIT" if freebsd_ver >= Some ( 15 ) => true ,
26012608
@@ -2716,6 +2723,9 @@ fn test_freebsd(target: &str) {
27162723 true
27172724 }
27182725
2726+ // Those are introduced in FreeBSD 14.1.
2727+ "kcmp" => true ,
2728+
27192729 _ => false ,
27202730 }
27212731 } ) ;
Original file line number Diff line number Diff line change @@ -689,6 +689,11 @@ JAIL_SYS_DISABLE
689689JAIL_SYS_INHERIT
690690JAIL_SYS_NEW
691691JAIL_UPDATE
692+ KCMP_FILE
693+ KCMP_FILEOBJ
694+ KCMP_FILES
695+ KCMP_SIGHAND
696+ KCMP_VM
692697KENV_DUMP
693698KENV_DUMP_LOADER
694699KENV_DUMP_STATIC
@@ -2007,6 +2012,7 @@ jail_get
20072012jail_remove
20082013jail_set
20092014jrand48
2015+ kcmp
20102016kevent
20112017key_t
20122018killpg
Original file line number Diff line number Diff line change @@ -4902,6 +4902,12 @@ pub const TFD_TIMER_CANCEL_ON_SET: ::c_int = 0x02;
49024902
49034903pub const CLOSE_RANGE_CLOEXEC : :: c_uint = 1 << 2 ;
49044904
4905+ pub const KCMP_FILE : :: c_int = 100 ;
4906+ pub const KCMP_FILEOBJ : :: c_int = 101 ;
4907+ pub const KCMP_FILES : :: c_int = 102 ;
4908+ pub const KCMP_SIGHAND : :: c_int = 103 ;
4909+ pub const KCMP_VM : :: c_int = 104 ;
4910+
49054911pub const fn MAP_ALIGNED ( a : :: c_int ) -> :: c_int {
49064912 a << 24
49074913}
@@ -5620,10 +5626,20 @@ extern "C" {
56205626 pub fn closefrom ( lowfd : :: c_int ) ;
56215627 pub fn close_range ( lowfd : :: c_uint , highfd : :: c_uint , flags : :: c_int ) -> :: c_int ;
56225628
5629+ <<<<<<< HEAD
56235630 pub fn execvpe(
56245631 file : * const :: c_char ,
56255632 argv : * const * const :: c_char ,
56265633 envp : * const * const :: c_char ,
5634+ ||||||| parent of 68 ebe1d18 ( freebsd kcmp call support. )
5635+ =======
5636+ pub fn kcmp (
5637+ pid1 : :: pid_t ,
5638+ pid2 : :: pid_t ,
5639+ type_ : :: c_int ,
5640+ idx1 : :: c_ulong ,
5641+ idx2 : :: c_ulong ,
5642+ >>>>>>> 68 ebe1d18 ( freebsd kcmp call support. )
56275643 ) -> :: c_int ;
56285644}
56295645
You can’t perform that action at this time.
0 commit comments