History

constify ksys_mount() string arguments

Al Viro committed 7 years ago

Commit 33488841 parent fd3e0073 files · +5 −6Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/syscalls.h+2−2
@@ -1228,8 +1228,8 @@ asmlinkage long sys_ni_syscall(void); · 1227 unmodified lines
1228 * the ksys_xyzyyz() functions prototyped below.1228 * the ksys_xyzyyz() functions prototyped below.
1229 */1229 */
1230 1230
1231int ksys_mount(char __user *dev_name, char __user *dir_name, char __user *type,1231int 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);
1233int ksys_umount(char __user *name, int flags);1233int ksys_umount(char __user *name, int flags);
1234int ksys_dup(unsigned int fildes);1234int ksys_dup(unsigned int fildes);
1235int ksys_chroot(const char __user *filename);1235int ksys_chroot(const char __user *filename);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t