mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
->permission() sanitizing: don't pass flags to ->permission()
not used by the instances anymore. Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
2830ba7f34
commit
10556cb21a
31 changed files with 55 additions and 55 deletions
|
|
@ -2167,7 +2167,7 @@ static const struct file_operations proc_fd_operations = {
|
|||
* /proc/pid/fd needs a special permission handler so that a process can still
|
||||
* access /proc/self/fd after it has executed a setuid().
|
||||
*/
|
||||
static int proc_fd_permission(struct inode *inode, int mask, unsigned int flags)
|
||||
static int proc_fd_permission(struct inode *inode, int mask)
|
||||
{
|
||||
int rv = generic_permission(inode, mask);
|
||||
if (rv == 0)
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static int proc_sys_permission(struct inode *inode, int mask,unsigned int flags)
|
||||
static int proc_sys_permission(struct inode *inode, int mask)
|
||||
{
|
||||
/*
|
||||
* sysctl entries that are not writeable,
|
||||
|
|
|
|||
Loading…
Reference in a new issue