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
12281228 * the ksys_xyzyyz() functions prototyped below.
12291229 */
12301230
1231−int ksys_mount(char __user *dev_name, char __user *dir_name, char __user *type,
1232− unsigned long flags, void __user *data);
1231+int ksys_mount(const char __user *dev_name, const char __user *dir_name,
1232+ const char __user *type, unsigned long flags, void __user *data);
12331233 int ksys_umount(char __user *name, int flags);
12341234 int ksys_dup(unsigned int fildes);
12351235 int 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