Contributors: 5
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Luis R. Rodriguez |
65 |
53.28% |
2 |
28.57% |
Eric Dumazet |
30 |
24.59% |
1 |
14.29% |
Christoph Hellwig |
18 |
14.75% |
1 |
14.29% |
Joel Granados |
8 |
6.56% |
2 |
28.57% |
Matteo Croce |
1 |
0.82% |
1 |
14.29% |
Total |
122 |
|
7 |
|
// SPDX-License-Identifier: GPL-2.0
/*
* /proc/sys/fs shared sysctls
*
* These sysctls are shared between different filesystems.
*/
#include <linux/init.h>
#include <linux/sysctl.h>
static struct ctl_table fs_shared_sysctls[] = {
{
.procname = "overflowuid",
.data = &fs_overflowuid,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = proc_dointvec_minmax,
.extra1 = SYSCTL_ZERO,
.extra2 = SYSCTL_MAXOLDUID,
},
{
.procname = "overflowgid",
.data = &fs_overflowgid,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = proc_dointvec_minmax,
.extra1 = SYSCTL_ZERO,
.extra2 = SYSCTL_MAXOLDUID,
},
};
static int __init init_fs_sysctls(void)
{
register_sysctl_init("fs", fs_shared_sysctls);
return 0;
}
early_initcall(init_fs_sysctls);