Commit ccab211a authored by Sohil Mehta's avatar Sohil Mehta Committed by Arnd Bergmann

syscalls: Cleanup references to sys_lookup_dcookie()

commit 'be65de6b ("fs: Remove dcookies support")' removed the
syscall definition for lookup_dcookie.  However, syscall tables still
point to the old sys_lookup_dcookie() definition. Update syscall tables
of all architectures to directly point to sys_ni_syscall() instead.
Signed-off-by: default avatarSohil Mehta <sohil.mehta@intel.com>
Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: Namhyung Kim <namhyung@kernel.org> # for perf
Acked-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 43ff2214
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
401 common io_submit sys_io_submit 401 common io_submit sys_io_submit
402 common io_cancel sys_io_cancel 402 common io_cancel sys_io_cancel
405 common exit_group sys_exit_group 405 common exit_group sys_exit_group
406 common lookup_dcookie sys_lookup_dcookie 406 common lookup_dcookie sys_ni_syscall
407 common epoll_create sys_epoll_create 407 common epoll_create sys_epoll_create
408 common epoll_ctl sys_epoll_ctl 408 common epoll_ctl sys_epoll_ctl
409 common epoll_wait sys_epoll_wait 409 common epoll_wait sys_epoll_wait
......
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
246 common io_submit sys_io_submit 246 common io_submit sys_io_submit
247 common io_cancel sys_io_cancel 247 common io_cancel sys_io_cancel
248 common exit_group sys_exit_group 248 common exit_group sys_exit_group
249 common lookup_dcookie sys_lookup_dcookie 249 common lookup_dcookie sys_ni_syscall
250 common epoll_create sys_epoll_create 250 common epoll_create sys_epoll_create
251 common epoll_ctl sys_epoll_ctl sys_oabi_epoll_ctl 251 common epoll_ctl sys_epoll_ctl sys_oabi_epoll_ctl
252 common epoll_wait sys_epoll_wait 252 common epoll_wait sys_epoll_wait
......
...@@ -508,8 +508,8 @@ __SYSCALL(__NR_io_submit, compat_sys_io_submit) ...@@ -508,8 +508,8 @@ __SYSCALL(__NR_io_submit, compat_sys_io_submit)
__SYSCALL(__NR_io_cancel, sys_io_cancel) __SYSCALL(__NR_io_cancel, sys_io_cancel)
#define __NR_exit_group 248 #define __NR_exit_group 248
__SYSCALL(__NR_exit_group, sys_exit_group) __SYSCALL(__NR_exit_group, sys_exit_group)
#define __NR_lookup_dcookie 249 /* 249 was lookup_dcookie */
__SYSCALL(__NR_lookup_dcookie, compat_sys_lookup_dcookie) __SYSCALL(249, sys_ni_syscall)
#define __NR_epoll_create 250 #define __NR_epoll_create 250
__SYSCALL(__NR_epoll_create, sys_epoll_create) __SYSCALL(__NR_epoll_create, sys_epoll_create)
#define __NR_epoll_ctl 251 #define __NR_epoll_ctl 251
......
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
245 common io_cancel sys_io_cancel 245 common io_cancel sys_io_cancel
246 common fadvise64 sys_fadvise64 246 common fadvise64 sys_fadvise64
247 common exit_group sys_exit_group 247 common exit_group sys_exit_group
248 common lookup_dcookie sys_lookup_dcookie 248 common lookup_dcookie sys_ni_syscall
249 common epoll_create sys_epoll_create 249 common epoll_create sys_epoll_create
250 common epoll_ctl sys_epoll_ctl 250 common epoll_ctl sys_epoll_ctl
251 common epoll_wait sys_epoll_wait 251 common epoll_wait sys_epoll_wait
......
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
250 common fadvise64 sys_fadvise64 250 common fadvise64 sys_fadvise64
# 251 is available for reuse (was briefly sys_set_zone_reclaim) # 251 is available for reuse (was briefly sys_set_zone_reclaim)
252 common exit_group sys_exit_group 252 common exit_group sys_exit_group
253 common lookup_dcookie sys_lookup_dcookie 253 common lookup_dcookie sys_ni_syscall
254 common epoll_create sys_epoll_create 254 common epoll_create sys_epoll_create
255 common epoll_ctl sys_epoll_ctl 255 common epoll_ctl sys_epoll_ctl
256 common epoll_wait sys_epoll_wait 256 common epoll_wait sys_epoll_wait
......
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
203 n32 io_submit compat_sys_io_submit 203 n32 io_submit compat_sys_io_submit
204 n32 io_cancel sys_io_cancel 204 n32 io_cancel sys_io_cancel
205 n32 exit_group sys_exit_group 205 n32 exit_group sys_exit_group
206 n32 lookup_dcookie sys_lookup_dcookie 206 n32 lookup_dcookie sys_ni_syscall
207 n32 epoll_create sys_epoll_create 207 n32 epoll_create sys_epoll_create
208 n32 epoll_ctl sys_epoll_ctl 208 n32 epoll_ctl sys_epoll_ctl
209 n32 epoll_wait sys_epoll_wait 209 n32 epoll_wait sys_epoll_wait
......
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
203 n64 io_submit sys_io_submit 203 n64 io_submit sys_io_submit
204 n64 io_cancel sys_io_cancel 204 n64 io_cancel sys_io_cancel
205 n64 exit_group sys_exit_group 205 n64 exit_group sys_exit_group
206 n64 lookup_dcookie sys_lookup_dcookie 206 n64 lookup_dcookie sys_ni_syscall
207 n64 epoll_create sys_epoll_create 207 n64 epoll_create sys_epoll_create
208 n64 epoll_ctl sys_epoll_ctl 208 n64 epoll_ctl sys_epoll_ctl
209 n64 epoll_wait sys_epoll_wait 209 n64 epoll_wait sys_epoll_wait
......
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
244 o32 io_submit sys_io_submit compat_sys_io_submit 244 o32 io_submit sys_io_submit compat_sys_io_submit
245 o32 io_cancel sys_io_cancel 245 o32 io_cancel sys_io_cancel
246 o32 exit_group sys_exit_group 246 o32 exit_group sys_exit_group
247 o32 lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 247 o32 lookup_dcookie sys_ni_syscall
248 o32 epoll_create sys_epoll_create 248 o32 epoll_create sys_epoll_create
249 o32 epoll_ctl sys_epoll_ctl 249 o32 epoll_ctl sys_epoll_ctl
250 o32 epoll_wait sys_epoll_wait 250 o32 epoll_wait sys_epoll_wait
......
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
# 220 was alloc_hugepages # 220 was alloc_hugepages
# 221 was free_hugepages # 221 was free_hugepages
222 common exit_group sys_exit_group 222 common exit_group sys_exit_group
223 common lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 223 common lookup_dcookie sys_ni_syscall
224 common epoll_create sys_epoll_create 224 common epoll_create sys_epoll_create
225 common epoll_ctl sys_epoll_ctl 225 common epoll_ctl sys_epoll_ctl
226 common epoll_wait sys_epoll_wait 226 common epoll_wait sys_epoll_wait
......
...@@ -294,7 +294,7 @@ ...@@ -294,7 +294,7 @@
233 32 fadvise64 sys_ppc32_fadvise64 compat_sys_ppc32_fadvise64 233 32 fadvise64 sys_ppc32_fadvise64 compat_sys_ppc32_fadvise64
233 64 fadvise64 sys_fadvise64 233 64 fadvise64 sys_fadvise64
234 nospu exit_group sys_exit_group 234 nospu exit_group sys_exit_group
235 nospu lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 235 nospu lookup_dcookie sys_ni_syscall
236 common epoll_create sys_epoll_create 236 common epoll_create sys_epoll_create
237 common epoll_ctl sys_epoll_ctl 237 common epoll_ctl sys_epoll_ctl
238 common epoll_wait sys_epoll_wait 238 common epoll_wait sys_epoll_wait
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
106 common stat sys_newstat compat_sys_newstat 106 common stat sys_newstat compat_sys_newstat
107 common lstat sys_newlstat compat_sys_newlstat 107 common lstat sys_newlstat compat_sys_newlstat
108 common fstat sys_newfstat compat_sys_newfstat 108 common fstat sys_newfstat compat_sys_newfstat
110 common lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 110 common lookup_dcookie - -
111 common vhangup sys_vhangup sys_vhangup 111 common vhangup sys_vhangup sys_vhangup
112 common idle - - 112 common idle - -
114 common wait4 sys_wait4 compat_sys_wait4 114 common wait4 sys_wait4 compat_sys_wait4
......
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
250 common fadvise64 sys_fadvise64 250 common fadvise64 sys_fadvise64
# 251 is unused # 251 is unused
252 common exit_group sys_exit_group 252 common exit_group sys_exit_group
253 common lookup_dcookie sys_lookup_dcookie 253 common lookup_dcookie sys_ni_syscall
254 common epoll_create sys_epoll_create 254 common epoll_create sys_epoll_create
255 common epoll_ctl sys_epoll_ctl 255 common epoll_ctl sys_epoll_ctl
256 common epoll_wait sys_epoll_wait 256 common epoll_wait sys_epoll_wait
......
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
205 common readahead sys_readahead compat_sys_readahead 205 common readahead sys_readahead compat_sys_readahead
206 common socketcall sys_socketcall sys32_socketcall 206 common socketcall sys_socketcall sys32_socketcall
207 common syslog sys_syslog 207 common syslog sys_syslog
208 common lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 208 common lookup_dcookie sys_ni_syscall
209 common fadvise64 sys_fadvise64 compat_sys_fadvise64 209 common fadvise64 sys_fadvise64 compat_sys_fadvise64
210 common fadvise64_64 sys_fadvise64_64 compat_sys_fadvise64_64 210 common fadvise64_64 sys_fadvise64_64 compat_sys_fadvise64_64
211 common tgkill sys_tgkill 211 common tgkill sys_tgkill
......
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
250 i386 fadvise64 sys_ia32_fadvise64 250 i386 fadvise64 sys_ia32_fadvise64
# 251 is available for reuse (was briefly sys_set_zone_reclaim) # 251 is available for reuse (was briefly sys_set_zone_reclaim)
252 i386 exit_group sys_exit_group 252 i386 exit_group sys_exit_group
253 i386 lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 253 i386 lookup_dcookie
254 i386 epoll_create sys_epoll_create 254 i386 epoll_create sys_epoll_create
255 i386 epoll_ctl sys_epoll_ctl 255 i386 epoll_ctl sys_epoll_ctl
256 i386 epoll_wait sys_epoll_wait 256 i386 epoll_wait sys_epoll_wait
......
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
209 64 io_submit sys_io_submit 209 64 io_submit sys_io_submit
210 common io_cancel sys_io_cancel 210 common io_cancel sys_io_cancel
211 64 get_thread_area 211 64 get_thread_area
212 common lookup_dcookie sys_lookup_dcookie 212 common lookup_dcookie
213 common epoll_create sys_epoll_create 213 common epoll_create sys_epoll_create
214 64 epoll_ctl_old 214 64 epoll_ctl_old
215 64 epoll_wait_old 215 64 epoll_wait_old
......
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
252 common timer_getoverrun sys_timer_getoverrun 252 common timer_getoverrun sys_timer_getoverrun
# System # System
253 common reserved253 sys_ni_syscall 253 common reserved253 sys_ni_syscall
254 common lookup_dcookie sys_lookup_dcookie 254 common lookup_dcookie sys_ni_syscall
255 common available255 sys_ni_syscall 255 common available255 sys_ni_syscall
256 common add_key sys_add_key 256 common add_key sys_add_key
257 common request_key sys_request_key 257 common request_key sys_request_key
......
...@@ -581,7 +581,6 @@ asmlinkage long compat_sys_io_pgetevents_time64(compat_aio_context_t ctx_id, ...@@ -581,7 +581,6 @@ asmlinkage long compat_sys_io_pgetevents_time64(compat_aio_context_t ctx_id,
struct io_event __user *events, struct io_event __user *events,
struct __kernel_timespec __user *timeout, struct __kernel_timespec __user *timeout,
const struct __compat_aio_sigset __user *usig); const struct __compat_aio_sigset __user *usig);
asmlinkage long compat_sys_lookup_dcookie(u32, u32, char __user *, compat_size_t);
asmlinkage long compat_sys_epoll_pwait(int epfd, asmlinkage long compat_sys_epoll_pwait(int epfd,
struct epoll_event __user *events, struct epoll_event __user *events,
int maxevents, int timeout, int maxevents, int timeout,
......
...@@ -355,7 +355,6 @@ asmlinkage long sys_lremovexattr(const char __user *path, ...@@ -355,7 +355,6 @@ asmlinkage long sys_lremovexattr(const char __user *path,
const char __user *name); const char __user *name);
asmlinkage long sys_fremovexattr(int fd, const char __user *name); asmlinkage long sys_fremovexattr(int fd, const char __user *name);
asmlinkage long sys_getcwd(char __user *buf, unsigned long size); asmlinkage long sys_getcwd(char __user *buf, unsigned long size);
asmlinkage long sys_lookup_dcookie(u64 cookie64, char __user *buf, size_t len);
asmlinkage long sys_eventfd2(unsigned int count, int flags); asmlinkage long sys_eventfd2(unsigned int count, int flags);
asmlinkage long sys_epoll_create1(int flags); asmlinkage long sys_epoll_create1(int flags);
asmlinkage long sys_epoll_ctl(int epfd, int op, int fd, asmlinkage long sys_epoll_ctl(int epfd, int op, int fd,
......
...@@ -71,7 +71,7 @@ __SYSCALL(__NR_fremovexattr, sys_fremovexattr) ...@@ -71,7 +71,7 @@ __SYSCALL(__NR_fremovexattr, sys_fremovexattr)
#define __NR_getcwd 17 #define __NR_getcwd 17
__SYSCALL(__NR_getcwd, sys_getcwd) __SYSCALL(__NR_getcwd, sys_getcwd)
#define __NR_lookup_dcookie 18 #define __NR_lookup_dcookie 18
__SC_COMP(__NR_lookup_dcookie, sys_lookup_dcookie, compat_sys_lookup_dcookie) __SYSCALL(__NR_lookup_dcookie, sys_ni_syscall)
#define __NR_eventfd2 19 #define __NR_eventfd2 19
__SYSCALL(__NR_eventfd2, sys_eventfd2) __SYSCALL(__NR_eventfd2, sys_eventfd2)
#define __NR_epoll_create1 20 #define __NR_epoll_create1 20
......
...@@ -51,8 +51,6 @@ COND_SYSCALL_COMPAT(io_pgetevents); ...@@ -51,8 +51,6 @@ COND_SYSCALL_COMPAT(io_pgetevents);
COND_SYSCALL(io_uring_setup); COND_SYSCALL(io_uring_setup);
COND_SYSCALL(io_uring_enter); COND_SYSCALL(io_uring_enter);
COND_SYSCALL(io_uring_register); COND_SYSCALL(io_uring_register);
COND_SYSCALL(lookup_dcookie);
COND_SYSCALL_COMPAT(lookup_dcookie);
COND_SYSCALL(eventfd2); COND_SYSCALL(eventfd2);
COND_SYSCALL(epoll_create1); COND_SYSCALL(epoll_create1);
COND_SYSCALL(epoll_ctl); COND_SYSCALL(epoll_ctl);
......
...@@ -71,7 +71,7 @@ __SYSCALL(__NR_fremovexattr, sys_fremovexattr) ...@@ -71,7 +71,7 @@ __SYSCALL(__NR_fremovexattr, sys_fremovexattr)
#define __NR_getcwd 17 #define __NR_getcwd 17
__SYSCALL(__NR_getcwd, sys_getcwd) __SYSCALL(__NR_getcwd, sys_getcwd)
#define __NR_lookup_dcookie 18 #define __NR_lookup_dcookie 18
__SC_COMP(__NR_lookup_dcookie, sys_lookup_dcookie, compat_sys_lookup_dcookie) __SYSCALL(__NR_lookup_dcookie, sys_ni_syscall)
#define __NR_eventfd2 19 #define __NR_eventfd2 19
__SYSCALL(__NR_eventfd2, sys_eventfd2) __SYSCALL(__NR_eventfd2, sys_eventfd2)
#define __NR_epoll_create1 20 #define __NR_epoll_create1 20
......
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
203 n64 io_submit sys_io_submit 203 n64 io_submit sys_io_submit
204 n64 io_cancel sys_io_cancel 204 n64 io_cancel sys_io_cancel
205 n64 exit_group sys_exit_group 205 n64 exit_group sys_exit_group
206 n64 lookup_dcookie sys_lookup_dcookie 206 n64 lookup_dcookie sys_ni_syscall
207 n64 epoll_create sys_epoll_create 207 n64 epoll_create sys_epoll_create
208 n64 epoll_ctl sys_epoll_ctl 208 n64 epoll_ctl sys_epoll_ctl
209 n64 epoll_wait sys_epoll_wait 209 n64 epoll_wait sys_epoll_wait
......
...@@ -294,7 +294,7 @@ ...@@ -294,7 +294,7 @@
233 32 fadvise64 sys_ppc32_fadvise64 compat_sys_ppc32_fadvise64 233 32 fadvise64 sys_ppc32_fadvise64 compat_sys_ppc32_fadvise64
233 64 fadvise64 sys_fadvise64 233 64 fadvise64 sys_fadvise64
234 nospu exit_group sys_exit_group 234 nospu exit_group sys_exit_group
235 nospu lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 235 nospu lookup_dcookie sys_ni_syscall
236 common epoll_create sys_epoll_create 236 common epoll_create sys_epoll_create
237 common epoll_ctl sys_epoll_ctl 237 common epoll_ctl sys_epoll_ctl
238 common epoll_wait sys_epoll_wait 238 common epoll_wait sys_epoll_wait
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
106 common stat sys_newstat compat_sys_newstat 106 common stat sys_newstat compat_sys_newstat
107 common lstat sys_newlstat compat_sys_newlstat 107 common lstat sys_newlstat compat_sys_newlstat
108 common fstat sys_newfstat compat_sys_newfstat 108 common fstat sys_newfstat compat_sys_newfstat
110 common lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 110 common lookup_dcookie - -
111 common vhangup sys_vhangup sys_vhangup 111 common vhangup sys_vhangup sys_vhangup
112 common idle - - 112 common idle - -
114 common wait4 sys_wait4 compat_sys_wait4 114 common wait4 sys_wait4 compat_sys_wait4
......
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
209 64 io_submit sys_io_submit 209 64 io_submit sys_io_submit
210 common io_cancel sys_io_cancel 210 common io_cancel sys_io_cancel
211 64 get_thread_area 211 64 get_thread_area
212 common lookup_dcookie sys_lookup_dcookie 212 common lookup_dcookie
213 common epoll_create sys_epoll_create 213 common epoll_create sys_epoll_create
214 64 epoll_ctl_old 214 64 epoll_ctl_old
215 64 epoll_wait_old 215 64 epoll_wait_old
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment