List of syscall masks by call number

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.

NumberNameHard masksPartial masks
0restart_syscallnew
1exit---
2forkfork
3read---
4write---
5openopenropen, wopen, dev, procfs, creat
6close---
7waitpidfork
8creatopenropen, wopen, creat
9linklink
10unlinkerase
11execveexecveexec, suid
12chdirchdir
13timeharmless
14mknodmount
15chmodchmod
16lchown16rootmisc
18statobsolete, dread
19lseekfnoharm
20getpidharmless
21mountmount
22oldumountmount
23setuid16---suid
24getuid16harmless
25stimesysadm
26ptracemisc
27alarmsignal
28fstatdread, obsolete
29pauseharmless
30utimechmod
33accessdread
34nicerlim
36syncfnoharm
37killkill
38renamelink
39mkdirdir
40rmdirdir, erase
41dupfmisc
42pipefmisc
43timesharmless
45brkbrk
46setgid16---suid
47getgid16harmless
48signalsignal
49geteuid16harmless
50getegid16harmless
51acctsysadm
52umountmount
54ioctlioctl
55fcntlopen, fmisc
57setpgidspid
59oldunameobsolete
60umaskchmod
61chrootchroot
62ustatfs
63dup2fmisc
64getppidharmless
65getpgrpharmless
66setsidspid
67sigactionsignal
68sgetmasksignal
69ssetmasksignal
70setreuid16---suid
71setregid16---suid
72sigsuspendsignal
73sigpendingsignal
74sethostnamesysadm
75setrlimitrlim
76old_getrlimitrlim
77getrusagerlim
78gettimeofdayharmless
79settimeofdaysysadm
80getgroups16harmless
81setgroups16---suid
82old_selectpoll
83symlinklink
84lstatobsolete, dread
85readlinkdread
86uselibobsolete
87swaponmount
88rebootrootmisc
89old_readdirobsolete
90old_mmapmmap
91munmapmmap
92truncateerase
93ftruncatefmisc
94fchmodchmod
95fchown16rootmisc
96getpriorityrlim
97setpriorityrlim
99statfsfs
100fstatfsfs
101iopermrootmisc, nonstd
102socketcallsocketcallsockopen, socknet, sockop
103syslogrootmisc
104setitimerrlim
105getitimerrlim
106newstatdread
107newlstatdread
108newfstatdread
109unameobsolete
110ioplrootmisc, nonstd
111vhanguprootmisc, nonstd
113vm86oldobsolete
114wait4fork
115swapoffmount
116sysinfononstd
117ipcipc
118fsyncfnoharm
119sigreturnsignal
120clonefork
121setdomainnamesysadm, nonstd
122newunameharmless
123modify_ldtldt
124adjtimexsysadm, nonstd
125mprotectmisc, mmap
126sigprocmasksignal
127create_modulesysadm, nonstd
128init_modulesysadm, nonstd
129delete_modulesysadm, nonstd
130get_kernel_symssysadm, nonstd
131quotactlsysadm
132getpgidspid
133fchdirchdir
134bdflushnonstd, rootmisc
135sysfsfs
136personalitynonstd
138setfsuid16nonstdsuid
139setfsgid16nonstdsuid
140llseekfnoharm
141getdentsdread
142selectpoll
143flockfmisc
144msyncmmap, fnoharm
145readvharmless
146writevharmless
147getsidspid
148fdatasyncfnoharm
149sysctlsysadm, nonstd
150mlockrootmisc
151munlockrootmisc
152mlockallrootmisc
153munlockallrootmisc
154sched_setparamrootmisc
155sched_getparamrootmisc
156sched_setschedulerrootmisc
157sched_getschedulerrootmisc
158yieldrlim
159sched_get_priority_maxrlim
160sched_get_priority_minrlim
161sched_rr_get_intervalrootmisc
162nanosleepharmless
163mremapmmap, nonstd
164setresuid16nonstd
165getresuid16nonstd
166vm86nonstd
167query_modulesysadm, nonstd
168pollpoll
169nfsservctlsysadm, nonstd
170setresgid16nonstd
171getresgid16nonstd
172prctlnonstd, kill
173rt_sigreturnsignal
174rt_sigactionsignal
175rt_sigprocmasksignal
176rt_sigpendingsignal
177rt_sigtimedwaitsignal
178rt_sigqueueinfosignal
179rt_sigsuspendsignal
180pread64harmless
181pwrite64harmless
182chown16rootmisc
183getcwddread
184capgetsysmask
185capsetsysmask
186sigaltstacksignal, nonstd
187sendfilenonstd
190vforkfork
191getrlimitrlim
192mmap2mmap
193truncate64erase
194ftruncate64fmisc
195stat64dread
196lstat64dread
197fstat64dread
198lchownrootmisc
199getuidharmless
200getgidharmless
201geteuidharmless
202getegidharmless
203setreuid---suid
204setregid---suid
205getgroupsharmless
206setgroups---suid
207fchownrootmisc
208setresuidnonstd
209getresuidnonstd
210setresgidnonstd
211getresgidnonstd
212chownrootmisc
213setuid---suid
214setgid---suid
215setfsuidnonstdsuid
216setfsgidnonstdsuid
217pivot_rootrootmisc, nonstd
218mincorerootmisc, nonstd
219madviserootmisc, nonstd
220getdents64dread
221fcntl64open, fmisc
224gettidharmless
225readaheadnonstd
226setxattrchmod
227lsetxattrchmod
228fsetxattrchmod
229getxattrdread
230lgetxattrdread
231fgetxattrdread
232listxattrdread
233llistxattrdread
234flistxattrdread
235removexattrchmod
236lremovexattrchmod
237fremovexattrchmod
238tkillkill, nonstd
239sendfile64nonstd
240futexnonstd
241sched_setaffinitynonstd, rootmisc
242sched_getaffinitynonstd, rootmisc
243set_thread_areanonstd, misc
244get_thread_areanonstd, misc
245io_setupnonstd, rt
246io_destroynonstd, rt
247io_geteventsnonstd, rt
248io_submitnonstd, rt
249io_cancelnonstd, rt
250fadvise64nonstd
252exit_group---
253lookup_dcookienonstd, dread
254epoll_createnonstd, poll
255epoll_ctlnonstd, poll
256epoll_waitnonstd, poll
257remap_file_pagesnonstd, mmap
258set_tid_addressnonstd
259timer_createnonstd, rt
260timer_settimenonstd, rt
261timer_gettimenonstd, rt
262timer_getoverrunnonstd, rt
263timer_deletenonstd, rt
264clock_settimenonstd, rt
265clock_gettimenonstd, rt
266clock_getresnonstd, rt
267clock_nanosleepnonstd, rt
268statfs64nonstd, fs
269fstatfs64nonstd, fs