9 #include <asm/uaccess.h>
11 #include <linux/errno.h>
12 #include <linux/time.h>
14 #include <linux/stat.h>
16 #include <linux/sched.h>
17 #include <linux/module.h>
18 #include <linux/bitops.h>
76 pr_err(
"proc: hidepid value must be between 0 and 2.\n");
82 pr_err(
"proc: unrecognized mount option \"%s\" "
83 "or missing value\n", p);
94 return !proc_parse_options(data, pid);
98 int flags,
const char *dev_name,
void *data)
114 sb =
sget(fs_type, proc_test_super, proc_set_super, flags, ns);
118 if (!proc_parse_options(options, ns)) {
133 ei = PROC_I(sb->
s_root->d_inode);
155 .kill_sb = proc_kill_sb,
176 #ifdef CONFIG_SYSVIPC
182 #if defined(CONFIG_SUN_OPENPROMFS) || defined(CONFIG_SUN_OPENPROMFS_MODULE)
187 #ifdef CONFIG_PROC_DEVICETREE
210 static int proc_root_readdir(
struct file * filp,
234 .readdir = proc_root_readdir,
242 .lookup = proc_root_lookup,
243 .getattr = proc_root_getattr,
255 .proc_iops = &proc_root_inode_operations,
256 .proc_fops = &proc_root_operations,