Interface LinuxCLibrary
public interface LinuxCLibrary
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordCorresponds to struct sock_filterstatic interface -
Method Summary
Modifier and TypeMethodDescriptionintfallocate(int fd, int mode, long offset, long length) newSockFProg(LinuxCLibrary.SockFilter[] filters) intprctl(int option, long arg2, long arg3, long arg4, long arg5) maps to prctl(2)longsyscall(long number, int operation, int flags, long address) used to call seccomp(2), its too new...
-
Method Details
-
newSockFProg
-
prctl
int prctl(int option, long arg2, long arg3, long arg4, long arg5) maps to prctl(2) -
syscall
long syscall(long number, int operation, int flags, long address) used to call seccomp(2), its too new... this is the only way, DON'T use it on some other architecture unless you know wtf you are doing -
fallocate
int fallocate(int fd, int mode, long offset, long length)
-