diff options
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/base.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index b9760628e1fd..a08c92289357 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -2588,7 +2588,7 @@ static const struct pid_entry tgid_base_stuff[] = { | |||
2588 | REG("environ", S_IRUSR, proc_environ_operations), | 2588 | REG("environ", S_IRUSR, proc_environ_operations), |
2589 | INF("auxv", S_IRUSR, proc_pid_auxv), | 2589 | INF("auxv", S_IRUSR, proc_pid_auxv), |
2590 | ONE("status", S_IRUGO, proc_pid_status), | 2590 | ONE("status", S_IRUGO, proc_pid_status), |
2591 | ONE("personality", S_IRUGO, proc_pid_personality), | 2591 | ONE("personality", S_IRUSR, proc_pid_personality), |
2592 | INF("limits", S_IRUGO, proc_pid_limits), | 2592 | INF("limits", S_IRUGO, proc_pid_limits), |
2593 | #ifdef CONFIG_SCHED_DEBUG | 2593 | #ifdef CONFIG_SCHED_DEBUG |
2594 | REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations), | 2594 | REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations), |
@@ -2598,7 +2598,7 @@ static const struct pid_entry tgid_base_stuff[] = { | |||
2598 | #endif | 2598 | #endif |
2599 | REG("comm", S_IRUGO|S_IWUSR, proc_pid_set_comm_operations), | 2599 | REG("comm", S_IRUGO|S_IWUSR, proc_pid_set_comm_operations), |
2600 | #ifdef CONFIG_HAVE_ARCH_TRACEHOOK | 2600 | #ifdef CONFIG_HAVE_ARCH_TRACEHOOK |
2601 | INF("syscall", S_IRUGO, proc_pid_syscall), | 2601 | INF("syscall", S_IRUSR, proc_pid_syscall), |
2602 | #endif | 2602 | #endif |
2603 | INF("cmdline", S_IRUGO, proc_pid_cmdline), | 2603 | INF("cmdline", S_IRUGO, proc_pid_cmdline), |
2604 | ONE("stat", S_IRUGO, proc_tgid_stat), | 2604 | ONE("stat", S_IRUGO, proc_tgid_stat), |
@@ -2626,7 +2626,7 @@ static const struct pid_entry tgid_base_stuff[] = { | |||
2626 | INF("wchan", S_IRUGO, proc_pid_wchan), | 2626 | INF("wchan", S_IRUGO, proc_pid_wchan), |
2627 | #endif | 2627 | #endif |
2628 | #ifdef CONFIG_STACKTRACE | 2628 | #ifdef CONFIG_STACKTRACE |
2629 | ONE("stack", S_IRUGO, proc_pid_stack), | 2629 | ONE("stack", S_IRUSR, proc_pid_stack), |
2630 | #endif | 2630 | #endif |
2631 | #ifdef CONFIG_SCHEDSTATS | 2631 | #ifdef CONFIG_SCHEDSTATS |
2632 | INF("schedstat", S_IRUGO, proc_pid_schedstat), | 2632 | INF("schedstat", S_IRUGO, proc_pid_schedstat), |
@@ -2927,14 +2927,14 @@ static const struct pid_entry tid_base_stuff[] = { | |||
2927 | REG("environ", S_IRUSR, proc_environ_operations), | 2927 | REG("environ", S_IRUSR, proc_environ_operations), |
2928 | INF("auxv", S_IRUSR, proc_pid_auxv), | 2928 | INF("auxv", S_IRUSR, proc_pid_auxv), |
2929 | ONE("status", S_IRUGO, proc_pid_status), | 2929 | ONE("status", S_IRUGO, proc_pid_status), |
2930 | ONE("personality", S_IRUGO, proc_pid_personality), | 2930 | ONE("personality", S_IRUSR, proc_pid_personality), |
2931 | INF("limits", S_IRUGO, proc_pid_limits), | 2931 | INF("limits", S_IRUGO, proc_pid_limits), |
2932 | #ifdef CONFIG_SCHED_DEBUG | 2932 | #ifdef CONFIG_SCHED_DEBUG |
2933 | REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations), | 2933 | REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations), |
2934 | #endif | 2934 | #endif |
2935 | REG("comm", S_IRUGO|S_IWUSR, proc_pid_set_comm_operations), | 2935 | REG("comm", S_IRUGO|S_IWUSR, proc_pid_set_comm_operations), |
2936 | #ifdef CONFIG_HAVE_ARCH_TRACEHOOK | 2936 | #ifdef CONFIG_HAVE_ARCH_TRACEHOOK |
2937 | INF("syscall", S_IRUGO, proc_pid_syscall), | 2937 | INF("syscall", S_IRUSR, proc_pid_syscall), |
2938 | #endif | 2938 | #endif |
2939 | INF("cmdline", S_IRUGO, proc_pid_cmdline), | 2939 | INF("cmdline", S_IRUGO, proc_pid_cmdline), |
2940 | ONE("stat", S_IRUGO, proc_tid_stat), | 2940 | ONE("stat", S_IRUGO, proc_tid_stat), |
@@ -2964,7 +2964,7 @@ static const struct pid_entry tid_base_stuff[] = { | |||
2964 | INF("wchan", S_IRUGO, proc_pid_wchan), | 2964 | INF("wchan", S_IRUGO, proc_pid_wchan), |
2965 | #endif | 2965 | #endif |
2966 | #ifdef CONFIG_STACKTRACE | 2966 | #ifdef CONFIG_STACKTRACE |
2967 | ONE("stack", S_IRUGO, proc_pid_stack), | 2967 | ONE("stack", S_IRUSR, proc_pid_stack), |
2968 | #endif | 2968 | #endif |
2969 | #ifdef CONFIG_SCHEDSTATS | 2969 | #ifdef CONFIG_SCHEDSTATS |
2970 | INF("schedstat", S_IRUGO, proc_pid_schedstat), | 2970 | INF("schedstat", S_IRUGO, proc_pid_schedstat), |