Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
root.c File Reference
#include <asm/uaccess.h>
#include <linux/errno.h>
#include <linux/time.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/mount.h>
#include <linux/pid_namespace.h>
#include <linux/parser.h>
#include "internal.h"

Go to the source code of this file.

Enumerations

enum  { Opt_gid, Opt_hidepid, Opt_err }
 

Functions

int proc_remount (struct super_block *sb, int *flags, char *data)
 
void __init proc_root_init (void)
 
int pid_ns_prepare_proc (struct pid_namespace *ns)
 
void pid_ns_release_proc (struct pid_namespace *ns)
 

Variables

struct proc_dir_entry proc_root
 

Enumeration Type Documentation

anonymous enum
Enumerator:
Opt_gid 
Opt_hidepid 
Opt_err 

Definition at line 40 of file root.c.

Function Documentation

int pid_ns_prepare_proc ( struct pid_namespace ns)

Definition at line 261 of file root.c.

void pid_ns_release_proc ( struct pid_namespace ns)

Definition at line 273 of file root.c.

int proc_remount ( struct super_block sb,
int flags,
char data 
)

Definition at line 91 of file root.c.

void __init proc_root_init ( void  )

Definition at line 158 of file root.c.

Variable Documentation

Initial value:
= {
.low_ino = PROC_ROOT_INO,
.namelen = 5,
.mode = S_IFDIR | S_IRUGO | S_IXUGO,
.nlink = 2,
.count = ATOMIC_INIT(1),
.proc_iops = &proc_root_inode_operations,
.proc_fops = &proc_root_operations,
.parent = &proc_root,
.name = "/proc",
}

Definition at line 249 of file root.c.