Open justincormack opened 10 years ago
ALso found notes in code saying:
-- setreuid, setregid are deprecated, implement by other means
-- setpgrp see man pages, may need these for BSD
starting to deal with the *at ones, which are partially in netbsd 6, more in head.
the sem ones are in src/lib/librt/sem.c they basically look almost like the librt ones
EDITed ones that are done
Some that are implemented in Linux but not shared yet.
partial implementations I think (see unistd.h defined as incomplete) not sure how best to feature detect.
fh stuff
getfh fhopen = ffi.C.rump_sysimplfhopen40, fhstat = ffi.C.rumpsysimpl_fhstat50, fhstatvfs = ffi.C.rump___sysimpl_fhstatvfs140,
unfinished/statvfs
getvfsstat incompelte (type missing) statvfs missing too
misc (plus check, could have missed some)
getlogin issetugid DONE modctl (kernel modules) nfssvc quotactl sysctl
ksem - these are the syscalls for sem_open etc in -lrt
_ksem_close = ffi.C.rump_sysimplksem_close, _ksem_destroy = ffi.C.rump_sysimplksem_destroy, _ksem_getvalue = ffi.C.rump_sysimplksem_getvalue, _ksem_init = ffi.C.rump_sysimplksem_init, _ksem_open = ffi.C.rump_sysimplksem_open, _ksem_post = ffi.C.rump_sysimplksem_post, -- _ksem_timedwait = ffi.C.rump_sysimplksem_timedwait, _ksem_trywait = ffi.C.rump_sysimplksem_trywait, _ksem_unlink = ffi.C.rump_sysimplksem_unlink, _ksem_wait = ffi.C.rump_sysimplksem_wait,