diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2019-05-31 20:09:15 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-04 22:01:59 -0400 |
| commit | 33488845f211afcdb7e5c00a3152890e06cdc78e (patch) | |
| tree | 8536b5849fddb5c6bb912a67b23eee42c8661ea5 /include | |
| parent | fd3e007f6c6a0f677e4ee8aca4b9bab8ad6cab9a (diff) | |
constify ksys_mount() string arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/syscalls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index e2870fe1be5b..2a0ac10a6f95 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
| @@ -1228,8 +1228,8 @@ asmlinkage long sys_ni_syscall(void); | |||
| 1228 | * the ksys_xyzyyz() functions prototyped below. | 1228 | * the ksys_xyzyyz() functions prototyped below. |
| 1229 | */ | 1229 | */ |
| 1230 | 1230 | ||
| 1231 | int ksys_mount(char __user *dev_name, char __user *dir_name, char __user *type, | 1231 | int ksys_mount(const char __user *dev_name, const char __user *dir_name, |
| 1232 | unsigned long flags, void __user *data); | 1232 | const char __user *type, unsigned long flags, void __user *data); |
| 1233 | int ksys_umount(char __user *name, int flags); | 1233 | int ksys_umount(char __user *name, int flags); |
| 1234 | int ksys_dup(unsigned int fildes); | 1234 | int ksys_dup(unsigned int fildes); |
| 1235 | int ksys_chroot(const char __user *filename); | 1235 | int ksys_chroot(const char __user *filename); |
