Loading fs/dcache.c +1 −1 Original line number Diff line number Diff line Loading @@ -2092,7 +2092,7 @@ Elong: * return NULL; * } */ asmlinkage long sys_getcwd(char __user *buf, unsigned long size) SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size) { int error; struct path pwd, root; Loading fs/namei.c +2 −2 Original line number Diff line number Diff line Loading @@ -2081,7 +2081,7 @@ out_err: return error; } asmlinkage long sys_mkdir(const char __user *pathname, int mode) SYSCALL_DEFINE2(mkdir, const char __user *, pathname, int, mode) { return sys_mkdirat(AT_FDCWD, pathname, mode); } Loading Loading @@ -2195,7 +2195,7 @@ exit1: return error; } asmlinkage long sys_rmdir(const char __user *pathname) SYSCALL_DEFINE1(rmdir, const char __user *, pathname) { return do_rmdir(AT_FDCWD, pathname); } Loading fs/open.c +2 −2 Original line number Diff line number Diff line Loading @@ -522,7 +522,7 @@ SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) return sys_faccessat(AT_FDCWD, filename, mode); } asmlinkage long sys_chdir(const char __user * filename) SYSCALL_DEFINE1(chdir, const char __user *, filename) { struct path path; int error; Loading @@ -543,7 +543,7 @@ out: return error; } asmlinkage long sys_fchdir(unsigned int fd) SYSCALL_DEFINE1(fchdir, unsigned int, fd) { struct file *file; struct inode *inode; Loading fs/quota.c +2 −1 Original line number Diff line number Diff line Loading @@ -371,7 +371,8 @@ static inline struct super_block *quotactl_block(const char __user *special) * calls. Maybe we need to add the process quotas etc. in the future, * but we probably should use rlimits for that. */ asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t id, void __user *addr) SYSCALL_DEFINE4(quotactl, unsigned int, cmd, const char __user *, special, qid_t, id, void __user *, addr) { uint cmds, type; struct super_block *sb = NULL; Loading fs/read_write.c +7 −6 Original line number Diff line number Diff line Loading @@ -369,7 +369,7 @@ static inline void file_pos_write(struct file *file, loff_t pos) file->f_pos = pos; } asmlinkage long sys_read(unsigned int fd, char __user * buf, size_t count) SYSCALL_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count) { struct file *file; ssize_t ret = -EBADF; Loading @@ -386,7 +386,8 @@ asmlinkage long sys_read(unsigned int fd, char __user * buf, size_t count) return ret; } asmlinkage long sys_write(unsigned int fd, const char __user * buf, size_t count) SYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf, size_t, count) { struct file *file; ssize_t ret = -EBADF; Loading Loading @@ -688,8 +689,8 @@ ssize_t vfs_writev(struct file *file, const struct iovec __user *vec, EXPORT_SYMBOL(vfs_writev); asmlinkage long sys_readv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen) SYSCALL_DEFINE3(readv, unsigned long, fd, const struct iovec __user *, vec, unsigned long, vlen) { struct file *file; ssize_t ret = -EBADF; Loading @@ -709,8 +710,8 @@ sys_readv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen) return ret; } asmlinkage long sys_writev(unsigned long fd, const struct iovec __user *vec, unsigned long vlen) SYSCALL_DEFINE3(writev, unsigned long, fd, const struct iovec __user *, vec, unsigned long, vlen) { struct file *file; ssize_t ret = -EBADF; Loading Loading
fs/dcache.c +1 −1 Original line number Diff line number Diff line Loading @@ -2092,7 +2092,7 @@ Elong: * return NULL; * } */ asmlinkage long sys_getcwd(char __user *buf, unsigned long size) SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size) { int error; struct path pwd, root; Loading
fs/namei.c +2 −2 Original line number Diff line number Diff line Loading @@ -2081,7 +2081,7 @@ out_err: return error; } asmlinkage long sys_mkdir(const char __user *pathname, int mode) SYSCALL_DEFINE2(mkdir, const char __user *, pathname, int, mode) { return sys_mkdirat(AT_FDCWD, pathname, mode); } Loading Loading @@ -2195,7 +2195,7 @@ exit1: return error; } asmlinkage long sys_rmdir(const char __user *pathname) SYSCALL_DEFINE1(rmdir, const char __user *, pathname) { return do_rmdir(AT_FDCWD, pathname); } Loading
fs/open.c +2 −2 Original line number Diff line number Diff line Loading @@ -522,7 +522,7 @@ SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) return sys_faccessat(AT_FDCWD, filename, mode); } asmlinkage long sys_chdir(const char __user * filename) SYSCALL_DEFINE1(chdir, const char __user *, filename) { struct path path; int error; Loading @@ -543,7 +543,7 @@ out: return error; } asmlinkage long sys_fchdir(unsigned int fd) SYSCALL_DEFINE1(fchdir, unsigned int, fd) { struct file *file; struct inode *inode; Loading
fs/quota.c +2 −1 Original line number Diff line number Diff line Loading @@ -371,7 +371,8 @@ static inline struct super_block *quotactl_block(const char __user *special) * calls. Maybe we need to add the process quotas etc. in the future, * but we probably should use rlimits for that. */ asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t id, void __user *addr) SYSCALL_DEFINE4(quotactl, unsigned int, cmd, const char __user *, special, qid_t, id, void __user *, addr) { uint cmds, type; struct super_block *sb = NULL; Loading
fs/read_write.c +7 −6 Original line number Diff line number Diff line Loading @@ -369,7 +369,7 @@ static inline void file_pos_write(struct file *file, loff_t pos) file->f_pos = pos; } asmlinkage long sys_read(unsigned int fd, char __user * buf, size_t count) SYSCALL_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count) { struct file *file; ssize_t ret = -EBADF; Loading @@ -386,7 +386,8 @@ asmlinkage long sys_read(unsigned int fd, char __user * buf, size_t count) return ret; } asmlinkage long sys_write(unsigned int fd, const char __user * buf, size_t count) SYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf, size_t, count) { struct file *file; ssize_t ret = -EBADF; Loading Loading @@ -688,8 +689,8 @@ ssize_t vfs_writev(struct file *file, const struct iovec __user *vec, EXPORT_SYMBOL(vfs_writev); asmlinkage long sys_readv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen) SYSCALL_DEFINE3(readv, unsigned long, fd, const struct iovec __user *, vec, unsigned long, vlen) { struct file *file; ssize_t ret = -EBADF; Loading @@ -709,8 +710,8 @@ sys_readv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen) return ret; } asmlinkage long sys_writev(unsigned long fd, const struct iovec __user *vec, unsigned long vlen) SYSCALL_DEFINE3(writev, unsigned long, fd, const struct iovec __user *, vec, unsigned long, vlen) { struct file *file; ssize_t ret = -EBADF; Loading