diff options
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index fca9fa5f23d8..5ab1849971b4 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -1210,7 +1210,7 @@ static const struct file_operations proc_oom_score_adj_operations = { | |||
1210 | .llseek = default_llseek, | 1210 | .llseek = default_llseek, |
1211 | }; | 1211 | }; |
1212 | 1212 | ||
1213 | #ifdef CONFIG_AUDITSYSCALL | 1213 | #ifdef CONFIG_AUDIT |
1214 | #define TMPBUFLEN 11 | 1214 | #define TMPBUFLEN 11 |
1215 | static ssize_t proc_loginuid_read(struct file * file, char __user * buf, | 1215 | static ssize_t proc_loginuid_read(struct file * file, char __user * buf, |
1216 | size_t count, loff_t *ppos) | 1216 | size_t count, loff_t *ppos) |
@@ -3044,7 +3044,7 @@ static const struct pid_entry tgid_base_stuff[] = { | |||
3044 | ONE("oom_score", S_IRUGO, proc_oom_score), | 3044 | ONE("oom_score", S_IRUGO, proc_oom_score), |
3045 | REG("oom_adj", S_IRUGO|S_IWUSR, proc_oom_adj_operations), | 3045 | REG("oom_adj", S_IRUGO|S_IWUSR, proc_oom_adj_operations), |
3046 | REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations), | 3046 | REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations), |
3047 | #ifdef CONFIG_AUDITSYSCALL | 3047 | #ifdef CONFIG_AUDIT |
3048 | REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations), | 3048 | REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations), |
3049 | REG("sessionid", S_IRUGO, proc_sessionid_operations), | 3049 | REG("sessionid", S_IRUGO, proc_sessionid_operations), |
3050 | #endif | 3050 | #endif |
@@ -3432,7 +3432,7 @@ static const struct pid_entry tid_base_stuff[] = { | |||
3432 | ONE("oom_score", S_IRUGO, proc_oom_score), | 3432 | ONE("oom_score", S_IRUGO, proc_oom_score), |
3433 | REG("oom_adj", S_IRUGO|S_IWUSR, proc_oom_adj_operations), | 3433 | REG("oom_adj", S_IRUGO|S_IWUSR, proc_oom_adj_operations), |
3434 | REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations), | 3434 | REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations), |
3435 | #ifdef CONFIG_AUDITSYSCALL | 3435 | #ifdef CONFIG_AUDIT |
3436 | REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations), | 3436 | REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations), |
3437 | REG("sessionid", S_IRUGO, proc_sessionid_operations), | 3437 | REG("sessionid", S_IRUGO, proc_sessionid_operations), |
3438 | #endif | 3438 | #endif |