Skip to content

Commit ba6bf1e

Browse files
committed
Add iopl/ioperm to all linuxes
1 parent 01a3617 commit ba6bf1e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

libc-test/semver/linux.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3998,6 +3998,8 @@ wait4
39983998
waitid
39993999
eventfd_read
40004000
eventfd_write
4001+
ioperm
4002+
iopl
40014003
__c_anonymous_ifru_map
40024004
__c_anonymous_ifr_ifru
40034005
__c_anonymous_ifc_ifcu

src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,6 @@ extern "C" {
802802
pub fn setcontext(ucp: *const ucontext_t) -> ::c_int;
803803
pub fn makecontext(ucp: *mut ucontext_t, func: extern "C" fn(), argc: ::c_int, ...);
804804
pub fn swapcontext(uocp: *mut ucontext_t, ucp: *const ucontext_t) -> ::c_int;
805-
pub fn iopl(level: ::c_int) -> ::c_int;
806-
pub fn ioperm(from: ::c_ulong, num: ::c_ulong, turn_on: ::c_int) -> ::c_int;
807805
}
808806

809807
cfg_if! {

src/unix/linux_like/linux/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6127,6 +6127,8 @@ extern "C" {
61276127
pub fn klogctl(syslog_type: ::c_int, bufp: *mut ::c_char, len: ::c_int) -> ::c_int;
61286128

61296129
pub fn ioctl(fd: ::c_int, request: ::Ioctl, ...) -> ::c_int;
6130+
pub fn iopl(level: ::c_int) -> ::c_int;
6131+
pub fn ioperm(from: ::c_ulong, num: ::c_ulong, turn_on: ::c_int) -> ::c_int;
61306132
}
61316133

61326134
// LFS64 extensions

0 commit comments

Comments
 (0)