about summary refs log tree commit diff
path: root/src/linux/err.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-07-23 16:54:53 -0400
committerRich Felker <dalias@aerifal.cx>2012-07-23 16:54:53 -0400
commitd426b045332718ae6d42237303d657fd97c51455 (patch)
tree5399f0e33644483d99ca9376c2abbc8929c219ec /src/linux/err.c
parent53147f902b7f84d8108bd9738641a53722a4a205 (diff)
downloadmusl-d426b045332718ae6d42237303d657fd97c51455.tar.gz
musl-d426b045332718ae6d42237303d657fd97c51455.tar.xz
musl-d426b045332718ae6d42237303d657fd97c51455.zip
add ioperm/iopl syscalls
based on patches by orc and Isaac Dunham, with some fixes. sys/io.h
exists and contains prototypes for these functions regardless of
whether the target arch has them; this is a bit unorthodox but I don't
think it will break anything. the function definitions do not exist
unless the appropriate SYS_* syscall number macro is defined, which
should make sure configure scripts looking for these functions don't
find them on other systems.

presently, sys/io.h does not have the inb/outb/etc. port io
macros/functions. I'd be surprised if ioperm/iopl are useful without
them, so they probably need to be added at some point in appropriate
bits/io.h files...
Diffstat (limited to 'src/linux/err.c')
0 files changed, 0 insertions, 0 deletions