···9898 CALL(sys_uselib)9999 CALL(sys_swapon)100100 CALL(sys_reboot)101101- CALL(OBSOLETE(old_readdir)) /* used by libc4 */101101+ CALL(OBSOLETE(sys_old_readdir)) /* used by libc4 */102102/* 90 */ CALL(OBSOLETE(old_mmap)) /* used by libc4 */103103 CALL(sys_munmap)104104 CALL(sys_truncate)
···102102 return -EFAULT;103103}104104105105-asmlinkage long old_readdir(unsigned int fd, struct old_linux_dirent __user * dirent, unsigned int count)105105+asmlinkage long sys_old_readdir(unsigned int fd, struct old_linux_dirent __user * dirent, unsigned int count)106106{107107 int error;108108 struct file * file;
+2
include/linux/syscalls.h
···5454struct compat_timeval;5555struct robust_list_head;5656struct getcpu_cache;5757+struct old_linux_dirent;57585859#include <linux/types.h>5960#include <linux/aio_abi.h>···609608asmlinkage long sys_eventfd(unsigned int count);610609asmlinkage long sys_eventfd2(unsigned int count, int flags);611610asmlinkage long sys_fallocate(int fd, int mode, loff_t offset, loff_t len);611611+asmlinkage long sys_old_readdir(unsigned int, struct old_linux_dirent __user *, unsigned int);612612613613int kernel_execve(const char *filename, char *const argv[], char *const envp[]);614614