File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
src/unix/bsd/netbsdlike/openbsd Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -525,6 +525,7 @@ fn test_openbsd(target: &str) {
525
525
"sys/syscall.h" ,
526
526
"sys/shm.h" ,
527
527
"sys/param.h" ,
528
+ "sys/auxv.h" ,
528
529
}
529
530
530
531
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
Original file line number Diff line number Diff line change @@ -1040,6 +1040,12 @@ pub const AT_SYMLINK_NOFOLLOW: c_int = 0x02;
1040
1040
pub const AT_SYMLINK_FOLLOW : c_int = 0x04 ;
1041
1041
pub const AT_REMOVEDIR : c_int = 0x08 ;
1042
1042
1043
+ pub const AT_NULL : :: c_int = 0 ;
1044
+ pub const AT_IGNORE : :: c_int = 1 ;
1045
+ pub const AT_PAGESZ : :: c_int = 6 ;
1046
+ pub const AT_HWCAP : :: c_int = 25 ;
1047
+ pub const AT_HWCAP2 : :: c_int = 26 ;
1048
+
1043
1049
#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
1044
1050
pub const RLIM_NLIMITS : c_int = 9 ;
1045
1051
@@ -2074,6 +2080,8 @@ extern "C" {
2074
2080
pub fn fstatfs ( fd : c_int , buf : * mut statfs ) -> c_int ;
2075
2081
pub fn getmntinfo ( mntbufp : * mut * mut crate :: statfs , flags : c_int ) -> c_int ;
2076
2082
pub fn getfsstat ( buf : * mut statfs , bufsize : size_t , flags : c_int ) -> c_int ;
2083
+
2084
+ pub fn elf_aux_info ( aux : :: c_int , buf : * mut :: c_void , buflen : :: c_int ) -> :: c_int ;
2077
2085
}
2078
2086
2079
2087
#[ link( name = "execinfo" ) ]
You can’t perform that action at this time.
0 commit comments