File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
src/unix/bsd/netbsdlike/openbsd Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -553,6 +553,7 @@ fn test_openbsd(target: &str) {
553
553
"sys/syscall.h" ,
554
554
"sys/shm.h" ,
555
555
"sys/param.h" ,
556
+ "sys/auxv.h" ,
556
557
}
557
558
558
559
cfg. rename_type ( |ty| match ty {
Original file line number Diff line number Diff line change @@ -63,6 +63,11 @@ ATF_PUBL
63
63
ATF_USETRAILERS
64
64
AT_EACCESS
65
65
AT_FDCWD
66
+ AT_HWCAP
67
+ AT_HWCAP2
68
+ AT_IGNORE
69
+ AT_NULL
70
+ AT_PAGESZ
66
71
AT_REMOVEDIR
67
72
AT_SYMLINK_FOLLOW
68
73
AT_SYMLINK_NOFOLLOW
@@ -1095,6 +1100,7 @@ dl_phdr_info
1095
1100
drand48
1096
1101
dup3
1097
1102
duplocale
1103
+ elf_aux_info
1098
1104
endgrent
1099
1105
endpwent
1100
1106
endservent
Original file line number Diff line number Diff line change @@ -1041,6 +1041,12 @@ pub const AT_SYMLINK_NOFOLLOW: c_int = 0x02;
1041
1041
pub const AT_SYMLINK_FOLLOW : c_int = 0x04 ;
1042
1042
pub const AT_REMOVEDIR : c_int = 0x08 ;
1043
1043
1044
+ pub const AT_NULL : c_int = 0 ;
1045
+ pub const AT_IGNORE : c_int = 1 ;
1046
+ pub const AT_PAGESZ : c_int = 6 ;
1047
+ pub const AT_HWCAP : c_int = 25 ;
1048
+ pub const AT_HWCAP2 : c_int = 26 ;
1049
+
1044
1050
#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
1045
1051
pub const RLIM_NLIMITS : c_int = 9 ;
1046
1052
@@ -2093,6 +2099,8 @@ extern "C" {
2093
2099
pub fn fstatfs ( fd : c_int , buf : * mut statfs ) -> c_int ;
2094
2100
pub fn getmntinfo ( mntbufp : * mut * mut crate :: statfs , flags : c_int ) -> c_int ;
2095
2101
pub fn getfsstat ( buf : * mut statfs , bufsize : size_t , flags : c_int ) -> c_int ;
2102
+
2103
+ pub fn elf_aux_info ( aux : c_int , buf : * mut c_void , buflen : c_int ) -> c_int ;
2096
2104
}
2097
2105
2098
2106
#[ link( name = "execinfo" ) ]
You can’t perform that action at this time.
0 commit comments