~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/kernel/sys_ni.c

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /kernel/sys_ni.c (Version linux-6.11.5) and /kernel/sys_ni.c (Version linux-4.15.18)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2                                                     2 
  3 #include <linux/linkage.h>                          3 #include <linux/linkage.h>
  4 #include <linux/errno.h>                            4 #include <linux/errno.h>
  5                                                     5 
  6 #include <asm/unistd.h>                             6 #include <asm/unistd.h>
  7                                                     7 
  8 #ifdef CONFIG_ARCH_HAS_SYSCALL_WRAPPER         << 
  9 /* Architectures may override COND_SYSCALL and << 
 10 #include <asm/syscall_wrapper.h>               << 
 11 #endif /* CONFIG_ARCH_HAS_SYSCALL_WRAPPER */   << 
 12                                                << 
 13 /*  we can't #include <linux/syscalls.h> here,      8 /*  we can't #include <linux/syscalls.h> here,
 14     but tell gcc to not warn with -Wmissing-pr      9     but tell gcc to not warn with -Wmissing-prototypes  */
 15 asmlinkage long sys_ni_syscall(void);              10 asmlinkage long sys_ni_syscall(void);
 16                                                    11 
 17 /*                                                 12 /*
 18  * Non-implemented system calls get redirected     13  * Non-implemented system calls get redirected here.
 19  */                                                14  */
 20 asmlinkage long sys_ni_syscall(void)               15 asmlinkage long sys_ni_syscall(void)
 21 {                                                  16 {
 22         return -ENOSYS;                            17         return -ENOSYS;
 23 }                                                  18 }
 24                                                    19 
 25 #ifndef COND_SYSCALL                           !!  20 cond_syscall(sys_quotactl);
 26 #define COND_SYSCALL(name) cond_syscall(sys_## !!  21 cond_syscall(sys32_quotactl);
 27 #endif /* COND_SYSCALL */                      !!  22 cond_syscall(sys_acct);
 28                                                !!  23 cond_syscall(sys_lookup_dcookie);
 29 #ifndef COND_SYSCALL_COMPAT                    !!  24 cond_syscall(compat_sys_lookup_dcookie);
 30 #define COND_SYSCALL_COMPAT(name) cond_syscall !!  25 cond_syscall(sys_swapon);
 31 #endif /* COND_SYSCALL_COMPAT */               !!  26 cond_syscall(sys_swapoff);
 32                                                !!  27 cond_syscall(sys_kexec_load);
 33 /*                                             !!  28 cond_syscall(compat_sys_kexec_load);
 34  * This list is kept in the same order as incl !!  29 cond_syscall(sys_kexec_file_load);
 35  * Architecture specific entries go below, fol !!  30 cond_syscall(sys_init_module);
 36  * system calls.                               !!  31 cond_syscall(sys_finit_module);
 37  */                                            !!  32 cond_syscall(sys_delete_module);
 38                                                !!  33 cond_syscall(sys_socketpair);
 39 COND_SYSCALL(io_setup);                        !!  34 cond_syscall(sys_bind);
 40 COND_SYSCALL_COMPAT(io_setup);                 !!  35 cond_syscall(sys_listen);
 41 COND_SYSCALL(io_destroy);                      !!  36 cond_syscall(sys_accept);
 42 COND_SYSCALL(io_submit);                       !!  37 cond_syscall(sys_accept4);
 43 COND_SYSCALL_COMPAT(io_submit);                !!  38 cond_syscall(sys_connect);
 44 COND_SYSCALL(io_cancel);                       !!  39 cond_syscall(sys_getsockname);
 45 COND_SYSCALL(io_getevents_time32);             !!  40 cond_syscall(sys_getpeername);
 46 COND_SYSCALL(io_getevents);                    !!  41 cond_syscall(sys_sendto);
 47 COND_SYSCALL(io_pgetevents_time32);            !!  42 cond_syscall(sys_send);
 48 COND_SYSCALL(io_pgetevents);                   !!  43 cond_syscall(sys_recvfrom);
 49 COND_SYSCALL_COMPAT(io_pgetevents);            !!  44 cond_syscall(sys_recv);
 50 COND_SYSCALL_COMPAT(io_pgetevents_time64);     !!  45 cond_syscall(sys_socket);
 51 COND_SYSCALL(io_uring_setup);                  !!  46 cond_syscall(sys_setsockopt);
 52 COND_SYSCALL(io_uring_enter);                  !!  47 cond_syscall(compat_sys_setsockopt);
 53 COND_SYSCALL(io_uring_register);               !!  48 cond_syscall(sys_getsockopt);
 54 COND_SYSCALL(eventfd2);                        !!  49 cond_syscall(compat_sys_getsockopt);
 55 COND_SYSCALL(epoll_create1);                   !!  50 cond_syscall(sys_shutdown);
 56 COND_SYSCALL(epoll_ctl);                       !!  51 cond_syscall(sys_sendmsg);
 57 COND_SYSCALL(epoll_pwait);                     !!  52 cond_syscall(sys_sendmmsg);
 58 COND_SYSCALL_COMPAT(epoll_pwait);              !!  53 cond_syscall(compat_sys_sendmsg);
 59 COND_SYSCALL(epoll_pwait2);                    !!  54 cond_syscall(compat_sys_sendmmsg);
 60 COND_SYSCALL_COMPAT(epoll_pwait2);             !!  55 cond_syscall(sys_recvmsg);
 61 COND_SYSCALL(inotify_init1);                   !!  56 cond_syscall(sys_recvmmsg);
 62 COND_SYSCALL(inotify_add_watch);               !!  57 cond_syscall(compat_sys_recvmsg);
 63 COND_SYSCALL(inotify_rm_watch);                !!  58 cond_syscall(compat_sys_recv);
 64 COND_SYSCALL(ioprio_set);                      !!  59 cond_syscall(compat_sys_recvfrom);
 65 COND_SYSCALL(ioprio_get);                      !!  60 cond_syscall(compat_sys_recvmmsg);
 66 COND_SYSCALL(flock);                           !!  61 cond_syscall(sys_socketcall);
 67 COND_SYSCALL(quotactl);                        !!  62 cond_syscall(sys_futex);
 68 COND_SYSCALL(quotactl_fd);                     !!  63 cond_syscall(compat_sys_futex);
 69 COND_SYSCALL(signalfd4);                       !!  64 cond_syscall(sys_set_robust_list);
 70 COND_SYSCALL_COMPAT(signalfd4);                !!  65 cond_syscall(compat_sys_set_robust_list);
 71 COND_SYSCALL(timerfd_create);                  !!  66 cond_syscall(sys_get_robust_list);
 72 COND_SYSCALL(timerfd_settime);                 !!  67 cond_syscall(compat_sys_get_robust_list);
 73 COND_SYSCALL(timerfd_settime32);               !!  68 cond_syscall(sys_epoll_create);
 74 COND_SYSCALL(timerfd_gettime);                 !!  69 cond_syscall(sys_epoll_create1);
 75 COND_SYSCALL(timerfd_gettime32);               !!  70 cond_syscall(sys_epoll_ctl);
 76 COND_SYSCALL(acct);                            !!  71 cond_syscall(sys_epoll_wait);
 77 COND_SYSCALL(capget);                          !!  72 cond_syscall(sys_epoll_pwait);
 78 COND_SYSCALL(capset);                          !!  73 cond_syscall(compat_sys_epoll_pwait);
 79 COND_SYSCALL(futex);                           !!  74 cond_syscall(sys_semget);
 80 COND_SYSCALL(futex_time32);                    !!  75 cond_syscall(sys_semop);
 81 COND_SYSCALL(set_robust_list);                 !!  76 cond_syscall(sys_semtimedop);
 82 COND_SYSCALL_COMPAT(set_robust_list);          !!  77 cond_syscall(compat_sys_semtimedop);
 83 COND_SYSCALL(get_robust_list);                 !!  78 cond_syscall(sys_semctl);
 84 COND_SYSCALL_COMPAT(get_robust_list);          !!  79 cond_syscall(compat_sys_semctl);
 85 COND_SYSCALL(futex_waitv);                     !!  80 cond_syscall(sys_msgget);
 86 COND_SYSCALL(futex_wake);                      !!  81 cond_syscall(sys_msgsnd);
 87 COND_SYSCALL(futex_wait);                      !!  82 cond_syscall(compat_sys_msgsnd);
 88 COND_SYSCALL(futex_requeue);                   !!  83 cond_syscall(sys_msgrcv);
 89 COND_SYSCALL(kexec_load);                      !!  84 cond_syscall(compat_sys_msgrcv);
 90 COND_SYSCALL_COMPAT(kexec_load);               !!  85 cond_syscall(sys_msgctl);
 91 COND_SYSCALL(init_module);                     !!  86 cond_syscall(compat_sys_msgctl);
 92 COND_SYSCALL(delete_module);                   !!  87 cond_syscall(sys_shmget);
 93 COND_SYSCALL(syslog);                          !!  88 cond_syscall(sys_shmat);
 94 COND_SYSCALL(setregid);                        !!  89 cond_syscall(compat_sys_shmat);
 95 COND_SYSCALL(setgid);                          !!  90 cond_syscall(sys_shmdt);
 96 COND_SYSCALL(setreuid);                        !!  91 cond_syscall(sys_shmctl);
 97 COND_SYSCALL(setuid);                          !!  92 cond_syscall(compat_sys_shmctl);
 98 COND_SYSCALL(setresuid);                       !!  93 cond_syscall(sys_mq_open);
 99 COND_SYSCALL(getresuid);                       !!  94 cond_syscall(sys_mq_unlink);
100 COND_SYSCALL(setresgid);                       !!  95 cond_syscall(sys_mq_timedsend);
101 COND_SYSCALL(getresgid);                       !!  96 cond_syscall(sys_mq_timedreceive);
102 COND_SYSCALL(setfsuid);                        !!  97 cond_syscall(sys_mq_notify);
103 COND_SYSCALL(setfsgid);                        !!  98 cond_syscall(sys_mq_getsetattr);
104 COND_SYSCALL(setgroups);                       !!  99 cond_syscall(compat_sys_mq_open);
105 COND_SYSCALL(getgroups);                       !! 100 cond_syscall(compat_sys_mq_timedsend);
106 COND_SYSCALL(mq_open);                         !! 101 cond_syscall(compat_sys_mq_timedreceive);
107 COND_SYSCALL_COMPAT(mq_open);                  !! 102 cond_syscall(compat_sys_mq_notify);
108 COND_SYSCALL(mq_unlink);                       !! 103 cond_syscall(compat_sys_mq_getsetattr);
109 COND_SYSCALL(mq_timedsend);                    !! 104 cond_syscall(sys_mbind);
110 COND_SYSCALL(mq_timedsend_time32);             !! 105 cond_syscall(sys_get_mempolicy);
111 COND_SYSCALL(mq_timedreceive);                 !! 106 cond_syscall(sys_set_mempolicy);
112 COND_SYSCALL(mq_timedreceive_time32);          !! 107 cond_syscall(compat_sys_mbind);
113 COND_SYSCALL(mq_notify);                       !! 108 cond_syscall(compat_sys_get_mempolicy);
114 COND_SYSCALL_COMPAT(mq_notify);                !! 109 cond_syscall(compat_sys_set_mempolicy);
115 COND_SYSCALL(mq_getsetattr);                   !! 110 cond_syscall(sys_add_key);
116 COND_SYSCALL_COMPAT(mq_getsetattr);            !! 111 cond_syscall(sys_request_key);
117 COND_SYSCALL(msgget);                          !! 112 cond_syscall(sys_keyctl);
118 COND_SYSCALL(old_msgctl);                      !! 113 cond_syscall(compat_sys_keyctl);
119 COND_SYSCALL(msgctl);                          !! 114 cond_syscall(compat_sys_socketcall);
120 COND_SYSCALL_COMPAT(msgctl);                   !! 115 cond_syscall(sys_inotify_init);
121 COND_SYSCALL_COMPAT(old_msgctl);               !! 116 cond_syscall(sys_inotify_init1);
122 COND_SYSCALL(msgrcv);                          !! 117 cond_syscall(sys_inotify_add_watch);
123 COND_SYSCALL_COMPAT(msgrcv);                   !! 118 cond_syscall(sys_inotify_rm_watch);
124 COND_SYSCALL(msgsnd);                          !! 119 cond_syscall(sys_migrate_pages);
125 COND_SYSCALL_COMPAT(msgsnd);                   !! 120 cond_syscall(sys_move_pages);
126 COND_SYSCALL(semget);                          !! 121 cond_syscall(sys_chown16);
127 COND_SYSCALL(old_semctl);                      !! 122 cond_syscall(sys_fchown16);
128 COND_SYSCALL(semctl);                          !! 123 cond_syscall(sys_getegid16);
129 COND_SYSCALL_COMPAT(semctl);                   !! 124 cond_syscall(sys_geteuid16);
130 COND_SYSCALL_COMPAT(old_semctl);               !! 125 cond_syscall(sys_getgid16);
131 COND_SYSCALL(semtimedop);                      !! 126 cond_syscall(sys_getgroups16);
132 COND_SYSCALL(semtimedop_time32);               !! 127 cond_syscall(sys_getresgid16);
133 COND_SYSCALL(semop);                           !! 128 cond_syscall(sys_getresuid16);
134 COND_SYSCALL(shmget);                          !! 129 cond_syscall(sys_getuid16);
135 COND_SYSCALL(old_shmctl);                      !! 130 cond_syscall(sys_lchown16);
136 COND_SYSCALL(shmctl);                          !! 131 cond_syscall(sys_setfsgid16);
137 COND_SYSCALL_COMPAT(shmctl);                   !! 132 cond_syscall(sys_setfsuid16);
138 COND_SYSCALL_COMPAT(old_shmctl);               !! 133 cond_syscall(sys_setgid16);
139 COND_SYSCALL(shmat);                           !! 134 cond_syscall(sys_setgroups16);
140 COND_SYSCALL_COMPAT(shmat);                    !! 135 cond_syscall(sys_setregid16);
141 COND_SYSCALL(shmdt);                           !! 136 cond_syscall(sys_setresgid16);
142 COND_SYSCALL(socket);                          !! 137 cond_syscall(sys_setresuid16);
143 COND_SYSCALL(socketpair);                      !! 138 cond_syscall(sys_setreuid16);
144 COND_SYSCALL(bind);                            !! 139 cond_syscall(sys_setuid16);
145 COND_SYSCALL(listen);                          !! 140 cond_syscall(sys_sgetmask);
146 COND_SYSCALL(accept);                          !! 141 cond_syscall(sys_ssetmask);
147 COND_SYSCALL(connect);                         !! 142 cond_syscall(sys_vm86old);
148 COND_SYSCALL(getsockname);                     !! 143 cond_syscall(sys_vm86);
149 COND_SYSCALL(getpeername);                     !! 144 cond_syscall(sys_modify_ldt);
150 COND_SYSCALL(setsockopt);                      !! 145 cond_syscall(sys_ipc);
151 COND_SYSCALL_COMPAT(setsockopt);               !! 146 cond_syscall(compat_sys_ipc);
152 COND_SYSCALL(getsockopt);                      !! 147 cond_syscall(compat_sys_sysctl);
153 COND_SYSCALL_COMPAT(getsockopt);               !! 148 cond_syscall(sys_flock);
154 COND_SYSCALL(sendto);                          !! 149 cond_syscall(sys_io_setup);
155 COND_SYSCALL(shutdown);                        !! 150 cond_syscall(sys_io_destroy);
156 COND_SYSCALL(recvfrom);                        !! 151 cond_syscall(sys_io_submit);
157 COND_SYSCALL_COMPAT(recvfrom);                 !! 152 cond_syscall(sys_io_cancel);
158 COND_SYSCALL(sendmsg);                         !! 153 cond_syscall(sys_io_getevents);
159 COND_SYSCALL_COMPAT(sendmsg);                  !! 154 cond_syscall(compat_sys_io_setup);
160 COND_SYSCALL(recvmsg);                         !! 155 cond_syscall(compat_sys_io_submit);
161 COND_SYSCALL_COMPAT(recvmsg);                  !! 156 cond_syscall(compat_sys_io_getevents);
162 COND_SYSCALL(mremap);                          !! 157 cond_syscall(sys_sysfs);
163 COND_SYSCALL(add_key);                         !! 158 cond_syscall(sys_syslog);
164 COND_SYSCALL(request_key);                     !! 159 cond_syscall(sys_process_vm_readv);
165 COND_SYSCALL(keyctl);                          !! 160 cond_syscall(sys_process_vm_writev);
166 COND_SYSCALL_COMPAT(keyctl);                   !! 161 cond_syscall(compat_sys_process_vm_readv);
167 COND_SYSCALL(landlock_create_ruleset);         !! 162 cond_syscall(compat_sys_process_vm_writev);
168 COND_SYSCALL(landlock_add_rule);               !! 163 cond_syscall(sys_uselib);
169 COND_SYSCALL(landlock_restrict_self);          !! 164 cond_syscall(sys_fadvise64);
170 COND_SYSCALL(fadvise64_64);                    !! 165 cond_syscall(sys_fadvise64_64);
171 COND_SYSCALL_COMPAT(fadvise64_64);             !! 166 cond_syscall(sys_madvise);
172 COND_SYSCALL(lsm_get_self_attr);               !! 167 cond_syscall(sys_setuid);
173 COND_SYSCALL(lsm_set_self_attr);               !! 168 cond_syscall(sys_setregid);
174 COND_SYSCALL(lsm_list_modules);                !! 169 cond_syscall(sys_setgid);
175                                                !! 170 cond_syscall(sys_setreuid);
176 /* CONFIG_MMU only */                          !! 171 cond_syscall(sys_setresuid);
177 COND_SYSCALL(swapon);                          !! 172 cond_syscall(sys_getresuid);
178 COND_SYSCALL(swapoff);                         !! 173 cond_syscall(sys_setresgid);
179 COND_SYSCALL(mprotect);                        !! 174 cond_syscall(sys_getresgid);
180 COND_SYSCALL(msync);                           !! 175 cond_syscall(sys_setgroups);
181 COND_SYSCALL(mlock);                           !! 176 cond_syscall(sys_getgroups);
182 COND_SYSCALL(munlock);                         !! 177 cond_syscall(sys_setfsuid);
183 COND_SYSCALL(mlockall);                        !! 178 cond_syscall(sys_setfsgid);
184 COND_SYSCALL(munlockall);                      !! 179 cond_syscall(sys_capget);
185 COND_SYSCALL(mincore);                         !! 180 cond_syscall(sys_capset);
186 COND_SYSCALL(madvise);                         !! 181 cond_syscall(sys_copy_file_range);
187 COND_SYSCALL(process_madvise);                 !! 182 
188 COND_SYSCALL(process_mrelease);                !! 183 /* arch-specific weak syscall entries */
189 COND_SYSCALL(remap_file_pages);                !! 184 cond_syscall(sys_pciconfig_read);
190 COND_SYSCALL(mbind);                           !! 185 cond_syscall(sys_pciconfig_write);
191 COND_SYSCALL(get_mempolicy);                   !! 186 cond_syscall(sys_pciconfig_iobase);
192 COND_SYSCALL(set_mempolicy);                   !! 187 cond_syscall(compat_sys_s390_ipc);
193 COND_SYSCALL(migrate_pages);                   !! 188 cond_syscall(ppc_rtas);
194 COND_SYSCALL(move_pages);                      !! 189 cond_syscall(sys_spu_run);
195 COND_SYSCALL(set_mempolicy_home_node);         !! 190 cond_syscall(sys_spu_create);
196 COND_SYSCALL(cachestat);                       !! 191 cond_syscall(sys_subpage_prot);
197 COND_SYSCALL(mseal);                           !! 192 cond_syscall(sys_s390_pci_mmio_read);
198                                                !! 193 cond_syscall(sys_s390_pci_mmio_write);
199 COND_SYSCALL(perf_event_open);                 !! 194 
200 COND_SYSCALL(accept4);                         !! 195 /* mmu depending weak syscall entries */
201 COND_SYSCALL(recvmmsg);                        !! 196 cond_syscall(sys_mprotect);
202 COND_SYSCALL(recvmmsg_time32);                 !! 197 cond_syscall(sys_msync);
203 COND_SYSCALL_COMPAT(recvmmsg_time32);          !! 198 cond_syscall(sys_mlock);
204 COND_SYSCALL_COMPAT(recvmmsg_time64);          !! 199 cond_syscall(sys_munlock);
205                                                !! 200 cond_syscall(sys_mlockall);
206 /* Posix timer syscalls may be configured out  !! 201 cond_syscall(sys_munlockall);
207 COND_SYSCALL(timer_create);                    !! 202 cond_syscall(sys_mlock2);
208 COND_SYSCALL(timer_gettime);                   !! 203 cond_syscall(sys_mincore);
209 COND_SYSCALL(timer_getoverrun);                !! 204 cond_syscall(sys_madvise);
210 COND_SYSCALL(timer_settime);                   !! 205 cond_syscall(sys_mremap);
211 COND_SYSCALL(timer_delete);                    !! 206 cond_syscall(sys_remap_file_pages);
212 COND_SYSCALL(clock_adjtime);                   !! 207 cond_syscall(compat_sys_move_pages);
213 COND_SYSCALL(getitimer);                       !! 208 cond_syscall(compat_sys_migrate_pages);
214 COND_SYSCALL(setitimer);                       !! 209 
215 COND_SYSCALL(alarm);                           !! 210 /* block-layer dependent */
216 COND_SYSCALL_COMPAT(timer_create);             !! 211 cond_syscall(sys_bdflush);
217 COND_SYSCALL_COMPAT(getitimer);                !! 212 cond_syscall(sys_ioprio_set);
218 COND_SYSCALL_COMPAT(setitimer);                !! 213 cond_syscall(sys_ioprio_get);
219                                                !! 214 
220 /*                                             !! 215 /* New file descriptors */
221  * Architecture specific syscalls: see further !! 216 cond_syscall(sys_signalfd);
222  */                                            !! 217 cond_syscall(sys_signalfd4);
223                                                !! 218 cond_syscall(compat_sys_signalfd);
224 /* fanotify */                                 !! 219 cond_syscall(compat_sys_signalfd4);
225 COND_SYSCALL(fanotify_init);                   !! 220 cond_syscall(sys_timerfd_create);
226 COND_SYSCALL(fanotify_mark);                   !! 221 cond_syscall(sys_timerfd_settime);
                                                   >> 222 cond_syscall(sys_timerfd_gettime);
                                                   >> 223 cond_syscall(compat_sys_timerfd_settime);
                                                   >> 224 cond_syscall(compat_sys_timerfd_gettime);
                                                   >> 225 cond_syscall(sys_eventfd);
                                                   >> 226 cond_syscall(sys_eventfd2);
                                                   >> 227 cond_syscall(sys_memfd_create);
                                                   >> 228 cond_syscall(sys_userfaultfd);
                                                   >> 229 
                                                   >> 230 /* performance counters: */
                                                   >> 231 cond_syscall(sys_perf_event_open);
                                                   >> 232 
                                                   >> 233 /* fanotify! */
                                                   >> 234 cond_syscall(sys_fanotify_init);
                                                   >> 235 cond_syscall(sys_fanotify_mark);
                                                   >> 236 cond_syscall(compat_sys_fanotify_mark);
227                                                   237 
228 /* open by handle */                              238 /* open by handle */
229 COND_SYSCALL(name_to_handle_at);               !! 239 cond_syscall(sys_name_to_handle_at);
230 COND_SYSCALL(open_by_handle_at);               !! 240 cond_syscall(sys_open_by_handle_at);
231 COND_SYSCALL_COMPAT(open_by_handle_at);        !! 241 cond_syscall(compat_sys_open_by_handle_at);
232                                                << 
233 COND_SYSCALL(sendmmsg);                        << 
234 COND_SYSCALL_COMPAT(sendmmsg);                 << 
235 COND_SYSCALL(process_vm_readv);                << 
236 COND_SYSCALL_COMPAT(process_vm_readv);         << 
237 COND_SYSCALL(process_vm_writev);               << 
238 COND_SYSCALL_COMPAT(process_vm_writev);        << 
239                                                   242 
240 /* compare kernel pointers */                     243 /* compare kernel pointers */
241 COND_SYSCALL(kcmp);                            !! 244 cond_syscall(sys_kcmp);
242                                                << 
243 COND_SYSCALL(finit_module);                    << 
244                                                   245 
245 /* operate on Secure Computing state */           246 /* operate on Secure Computing state */
246 COND_SYSCALL(seccomp);                         !! 247 cond_syscall(sys_seccomp);
247                                                << 
248 COND_SYSCALL(memfd_create);                    << 
249                                                   248 
250 /* access BPF programs and maps */                249 /* access BPF programs and maps */
251 COND_SYSCALL(bpf);                             !! 250 cond_syscall(sys_bpf);
252                                                   251 
253 /* execveat */                                    252 /* execveat */
254 COND_SYSCALL(execveat);                        !! 253 cond_syscall(sys_execveat);
255                                                << 
256 COND_SYSCALL(userfaultfd);                     << 
257                                                   254 
258 /* membarrier */                                  255 /* membarrier */
259 COND_SYSCALL(membarrier);                      !! 256 cond_syscall(sys_membarrier);
260                                                << 
261 COND_SYSCALL(mlock2);                          << 
262                                                << 
263 COND_SYSCALL(copy_file_range);                 << 
264                                                   257 
265 /* memory protection keys */                      258 /* memory protection keys */
266 COND_SYSCALL(pkey_mprotect);                   !! 259 cond_syscall(sys_pkey_mprotect);
267 COND_SYSCALL(pkey_alloc);                      !! 260 cond_syscall(sys_pkey_alloc);
268 COND_SYSCALL(pkey_free);                       !! 261 cond_syscall(sys_pkey_free);
269                                                << 
270 /* memfd_secret */                             << 
271 COND_SYSCALL(memfd_secret);                    << 
272                                                << 
273 /*                                             << 
274  * Architecture specific weak syscall entries. << 
275  */                                            << 
276                                                << 
277 /* pciconfig: alpha, arm, arm64, ia64, sparc * << 
278 COND_SYSCALL(pciconfig_read);                  << 
279 COND_SYSCALL(pciconfig_write);                 << 
280 COND_SYSCALL(pciconfig_iobase);                << 
281                                                << 
282 /* sys_socketcall: arm, mips, x86, ... */      << 
283 COND_SYSCALL(socketcall);                      << 
284 COND_SYSCALL_COMPAT(socketcall);               << 
285                                                << 
286 /* compat syscalls for arm64, x86, ... */      << 
287 COND_SYSCALL_COMPAT(fanotify_mark);            << 
288                                                << 
289 /* x86 */                                      << 
290 COND_SYSCALL(vm86old);                         << 
291 COND_SYSCALL(modify_ldt);                      << 
292 COND_SYSCALL(vm86);                            << 
293 COND_SYSCALL(kexec_file_load);                 << 
294 COND_SYSCALL(map_shadow_stack);                << 
295                                                << 
296 /* s390 */                                     << 
297 COND_SYSCALL(s390_pci_mmio_read);              << 
298 COND_SYSCALL(s390_pci_mmio_write);             << 
299 COND_SYSCALL(s390_ipc);                        << 
300 COND_SYSCALL_COMPAT(s390_ipc);                 << 
301                                                << 
302 /* powerpc */                                  << 
303 COND_SYSCALL(rtas);                            << 
304 COND_SYSCALL(spu_run);                         << 
305 COND_SYSCALL(spu_create);                      << 
306 COND_SYSCALL(subpage_prot);                    << 
307                                                << 
308                                                << 
309 /*                                             << 
310  * Deprecated system calls which are still def << 
311  * include/uapi/asm-generic/unistd.h and wante << 
312  */                                            << 
313                                                << 
314 /* __ARCH_WANT_SYSCALL_NO_FLAGS */             << 
315 COND_SYSCALL(epoll_create);                    << 
316 COND_SYSCALL(inotify_init);                    << 
317 COND_SYSCALL(eventfd);                         << 
318 COND_SYSCALL(signalfd);                        << 
319 COND_SYSCALL_COMPAT(signalfd);                 << 
320                                                << 
321 /* __ARCH_WANT_SYSCALL_OFF_T */                << 
322 COND_SYSCALL(fadvise64);                       << 
323                                                << 
324 /* __ARCH_WANT_SYSCALL_DEPRECATED */           << 
325 COND_SYSCALL(epoll_wait);                      << 
326 COND_SYSCALL(recv);                            << 
327 COND_SYSCALL_COMPAT(recv);                     << 
328 COND_SYSCALL(send);                            << 
329 COND_SYSCALL(uselib);                          << 
330                                                << 
331 /* optional: time32 */                         << 
332 COND_SYSCALL(time32);                          << 
333 COND_SYSCALL(stime32);                         << 
334 COND_SYSCALL(utime32);                         << 
335 COND_SYSCALL(adjtimex_time32);                 << 
336 COND_SYSCALL(sched_rr_get_interval_time32);    << 
337 COND_SYSCALL(nanosleep_time32);                << 
338 COND_SYSCALL(rt_sigtimedwait_time32);          << 
339 COND_SYSCALL_COMPAT(rt_sigtimedwait_time32);   << 
340 COND_SYSCALL(timer_settime32);                 << 
341 COND_SYSCALL(timer_gettime32);                 << 
342 COND_SYSCALL(clock_settime32);                 << 
343 COND_SYSCALL(clock_gettime32);                 << 
344 COND_SYSCALL(clock_getres_time32);             << 
345 COND_SYSCALL(clock_nanosleep_time32);          << 
346 COND_SYSCALL(utimes_time32);                   << 
347 COND_SYSCALL(futimesat_time32);                << 
348 COND_SYSCALL(pselect6_time32);                 << 
349 COND_SYSCALL_COMPAT(pselect6_time32);          << 
350 COND_SYSCALL(ppoll_time32);                    << 
351 COND_SYSCALL_COMPAT(ppoll_time32);             << 
352 COND_SYSCALL(utimensat_time32);                << 
353 COND_SYSCALL(clock_adjtime32);                 << 
354                                                << 
355 /*                                             << 
356  * The syscalls below are not found in include << 
357  */                                            << 
358                                                << 
359 /* obsolete: SGETMASK_SYSCALL */               << 
360 COND_SYSCALL(sgetmask);                        << 
361 COND_SYSCALL(ssetmask);                        << 
362                                                << 
363 /* obsolete: SYSFS_SYSCALL */                  << 
364 COND_SYSCALL(sysfs);                           << 
365                                                << 
366 /* obsolete: __ARCH_WANT_SYS_IPC */            << 
367 COND_SYSCALL(ipc);                             << 
368 COND_SYSCALL_COMPAT(ipc);                      << 
369                                                << 
370 /* obsolete: UID16 */                          << 
371 COND_SYSCALL(chown16);                         << 
372 COND_SYSCALL(fchown16);                        << 
373 COND_SYSCALL(getegid16);                       << 
374 COND_SYSCALL(geteuid16);                       << 
375 COND_SYSCALL(getgid16);                        << 
376 COND_SYSCALL(getgroups16);                     << 
377 COND_SYSCALL(getresgid16);                     << 
378 COND_SYSCALL(getresuid16);                     << 
379 COND_SYSCALL(getuid16);                        << 
380 COND_SYSCALL(lchown16);                        << 
381 COND_SYSCALL(setfsgid16);                      << 
382 COND_SYSCALL(setfsuid16);                      << 
383 COND_SYSCALL(setgid16);                        << 
384 COND_SYSCALL(setgroups16);                     << 
385 COND_SYSCALL(setregid16);                      << 
386 COND_SYSCALL(setresgid16);                     << 
387 COND_SYSCALL(setresuid16);                     << 
388 COND_SYSCALL(setreuid16);                      << 
389 COND_SYSCALL(setuid16);                        << 
390                                                << 
391 /* restartable sequence */                     << 
392 COND_SYSCALL(rseq);                            << 
393                                                << 
394 COND_SYSCALL(uretprobe);                       << 
395                                                   262 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php