List of syscall masks by name

Here we give the list of Linux syscalls and the sysmask masks acting on them, up to call number 269. Syscalls with higher numbers are masked by the mask "new".

Please note that many library functions are based on system calls. For example, fopen() uses open, printf() uses write, ftell() uses lseek, malloc() uses brk. The masking of a syscall will break EVERY library function that depends on it.

NameNumberHard masksPartial masks
access33dread
acct51sysadm
adjtimex124sysadm, nonstd
alarm27signal
bdflush134nonstd, rootmisc
brk45brk
capget184sysmask
capset185sysmask
chdir12chdir
chmod15chmod
chown212rootmisc
chown16182rootmisc
chroot61chroot
clock_getres266nonstd, rt
clock_gettime265nonstd, rt
clock_nanosleep267nonstd, rt
clock_settime264nonstd, rt
clone120fork
close6---
creat8openropen, wopen, creat
create_module127sysadm, nonstd
delete_module129sysadm, nonstd
dup41fmisc
dup263fmisc
epoll_create254nonstd, poll
epoll_ctl255nonstd, poll
epoll_wait256nonstd, poll
execve11execveexec, suid
exit1---
exit_group252---
fadvise64250nonstd
fchdir133chdir
fchmod94chmod
fchown207rootmisc
fchown1695rootmisc
fcntl55open, fmisc
fcntl64221open, fmisc
fdatasync148fnoharm
fgetxattr231dread
flistxattr234dread
flock143fmisc
fork2fork
fremovexattr237chmod
fsetxattr228chmod
fstat28dread, obsolete
fstat64197dread
fstatfs100fs
fstatfs64269nonstd, fs
fsync118fnoharm
ftruncate93fmisc
ftruncate64194fmisc
futex240nonstd
getcwd183dread
getdents141dread
getdents64220dread
getegid202harmless
getegid1650harmless
geteuid201harmless
geteuid1649harmless
getgid200harmless
getgid1647harmless
getgroups205harmless
getgroups1680harmless
getitimer105rlim
get_kernel_syms130sysadm, nonstd
getpgid132spid
getpgrp65harmless
getpid20harmless
getppid64harmless
getpriority96rlim
getresgid211nonstd
getresgid16171nonstd
getresuid209nonstd
getresuid16165nonstd
getrlimit191rlim
getrusage77rlim
getsid147spid
get_thread_area244nonstd, misc
gettid224harmless
gettimeofday78harmless
getuid199harmless
getuid1624harmless
getxattr229dread
init_module128sysadm, nonstd
io_cancel249nonstd, rt
ioctl54ioctl
io_destroy246nonstd, rt
io_getevents247nonstd, rt
ioperm101rootmisc, nonstd
iopl110rootmisc, nonstd
io_setup245nonstd, rt
io_submit248nonstd, rt
ipc117ipc
kill37kill
lchown198rootmisc
lchown1616rootmisc
lgetxattr230dread
link9link
listxattr232dread
llistxattr233dread
llseek140fnoharm
lookup_dcookie253nonstd, dread
lremovexattr236chmod
lseek19fnoharm
lsetxattr227chmod
lstat84obsolete, dread
lstat64196dread
madvise219rootmisc, nonstd
mincore218rootmisc, nonstd
mkdir39dir
mknod14mount
mlock150rootmisc
mlockall152rootmisc
mmap2192mmap
modify_ldt123ldt
mount21mount
mprotect125misc, mmap
mremap163mmap, nonstd
msync144mmap, fnoharm
munlock151rootmisc
munlockall153rootmisc
munmap91mmap
nanosleep162harmless
newfstat108dread
newlstat107dread
newstat106dread
newuname122harmless
nfsservctl169sysadm, nonstd
nice34rlim
old_getrlimit76rlim
old_mmap90mmap
old_readdir89obsolete
old_select82poll
oldumount22mount
olduname59obsolete
open5openropen, wopen, dev, procfs, creat
pause29harmless
personality136nonstd
pipe42fmisc
pivot_root217rootmisc, nonstd
poll168poll
prctl172nonstd, kill
pread64180harmless
ptrace26misc
pwrite64181harmless
query_module167sysadm, nonstd
quotactl131sysadm
read3---
readahead225nonstd
readlink85dread
readv145harmless
reboot88rootmisc
remap_file_pages257nonstd, mmap
removexattr235chmod
rename38link
restart_syscall0new
rmdir40dir, erase
rt_sigaction174signal
rt_sigpending176signal
rt_sigprocmask175signal
rt_sigqueueinfo178signal
rt_sigreturn173signal
rt_sigsuspend179signal
rt_sigtimedwait177signal
sched_getaffinity242nonstd, rootmisc
sched_getparam155rootmisc
sched_get_priority_max159rlim
sched_get_priority_min160rlim
sched_getscheduler157rootmisc
sched_rr_get_interval161rootmisc
sched_setaffinity241nonstd, rootmisc
sched_setparam154rootmisc
sched_setscheduler156rootmisc
select142poll
sendfile187nonstd
sendfile64239nonstd
setdomainname121sysadm, nonstd
setfsgid216nonstdsuid
setfsgid16139nonstdsuid
setfsuid215nonstdsuid
setfsuid16138nonstdsuid
setgid214---suid
setgid1646---suid
setgroups206---suid
setgroups1681---suid
sethostname74sysadm
setitimer104rlim
setpgid57spid
setpriority97rlim
setregid204---suid
setregid1671---suid
setresgid210nonstd
setresgid16170nonstd
setresuid208nonstd
setresuid16164nonstd
setreuid203---suid
setreuid1670---suid
setrlimit75rlim
setsid66spid
set_thread_area243nonstd, misc
set_tid_address258nonstd
settimeofday79sysadm
setuid213---suid
setuid1623---suid
setxattr226chmod
sgetmask68signal
sigaction67signal
sigaltstack186signal, nonstd
signal48signal
sigpending73signal
sigprocmask126signal
sigreturn119signal
sigsuspend72signal
socketcall102socketcallsockopen, socknet, sockop
ssetmask69signal
stat18obsolete, dread
stat64195dread
statfs99fs
statfs64268nonstd, fs
stime25sysadm
swapoff115mount
swapon87mount
symlink83link
sync36fnoharm
sysctl149sysadm, nonstd
sysfs135fs
sysinfo116nonstd
syslog103rootmisc
time13harmless
timer_create259nonstd, rt
timer_delete263nonstd, rt
timer_getoverrun262nonstd, rt
timer_gettime261nonstd, rt
timer_settime260nonstd, rt
times43harmless
tkill238kill, nonstd
truncate92erase
truncate64193erase
umask60chmod
umount52mount
uname109obsolete
unlink10erase
uselib86obsolete
ustat62fs
utime30chmod
vfork190fork
vhangup111rootmisc, nonstd
vm86166nonstd
vm86old113obsolete
wait4114fork
waitpid7fork
write4---
writev146harmless
yield158rlim