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 @@ -525,6 +525,7 @@ fn test_openbsd(target: &str) {
525525 "sys/syscall.h" ,
526526 "sys/shm.h" ,
527527 "sys/param.h" ,
528+ "sys/auxv.h" ,
528529 }
529530
530531 cfg. rename_type ( |ty| match ty {
Original file line number Diff line number Diff line change @@ -63,6 +63,11 @@ ATF_PUBL
6363ATF_USETRAILERS
6464AT_EACCESS
6565AT_FDCWD
66+ AT_HWCAP
67+ AT_HWCAP2
68+ AT_IGNORE
69+ AT_NULL
70+ AT_PAGESZ
6671AT_REMOVEDIR
6772AT_SYMLINK_FOLLOW
6873AT_SYMLINK_NOFOLLOW
@@ -1091,6 +1096,7 @@ dl_phdr_info
10911096drand48
10921097dup3
10931098duplocale
1099+ elf_aux_info
10941100endgrent
10951101endpwent
10961102endservent
Original file line number Diff line number Diff line change @@ -1040,6 +1040,12 @@ pub const AT_SYMLINK_NOFOLLOW: c_int = 0x02;
10401040pub const AT_SYMLINK_FOLLOW : c_int = 0x04 ;
10411041pub const AT_REMOVEDIR : c_int = 0x08 ;
10421042
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+
10431049#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
10441050pub const RLIM_NLIMITS : c_int = 9 ;
10451051
@@ -2076,6 +2082,8 @@ extern "C" {
20762082 pub fn fstatfs ( fd : c_int , buf : * mut statfs ) -> c_int ;
20772083 pub fn getmntinfo ( mntbufp : * mut * mut crate :: statfs , flags : c_int ) -> c_int ;
20782084 pub fn getfsstat ( buf : * mut statfs , bufsize : size_t , flags : c_int ) -> c_int ;
2085+
2086+ pub fn elf_aux_info ( aux : c_int , buf : * mut c_void , buflen : c_int ) -> c_int ;
20792087}
20802088
20812089#[ link( name = "execinfo" ) ]
You can’t perform that action at this time.
0 commit comments