Searched refs:sysctl_perm (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/proc/ |
H A D | proc_sysctl.c | 405 * sysctl_perm does NOT grant the superuser all rights automatically, because 420 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm() function 561 if (sysctl_perm(head, table, write ? MAY_WRITE : MAY_READ)) in proc_sys_call_handler() 809 error = sysctl_perm(head, table, mask & ~MAY_NOT_BLOCK); in proc_sys_permission()
|
/kernel/linux/linux-6.6/fs/proc/ |
H A D | proc_sysctl.c | 414 * sysctl_perm does NOT grant the superuser all rights automatically, because 429 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm() function 572 if (sysctl_perm(head, table, write ? MAY_WRITE : MAY_READ)) in proc_sys_call_handler() 821 error = sysctl_perm(head, table, mask & ~MAY_NOT_BLOCK); in proc_sys_permission()
|
Completed in 6 milliseconds