aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/array.c')
-rw-r--r--fs/proc/array.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 81818adb8e9e..082676ab4878 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -342,10 +342,11 @@ static inline void task_cap(struct seq_file *m, struct task_struct *p)
342 342
343static inline void task_seccomp(struct seq_file *m, struct task_struct *p) 343static inline void task_seccomp(struct seq_file *m, struct task_struct *p)
344{ 344{
345 seq_put_decimal_ull(m, "NoNewPrivs:\t", task_no_new_privs(p));
345#ifdef CONFIG_SECCOMP 346#ifdef CONFIG_SECCOMP
346 seq_put_decimal_ull(m, "Seccomp:\t", p->seccomp.mode); 347 seq_put_decimal_ull(m, "\nSeccomp:\t", p->seccomp.mode);
347 seq_putc(m, '\n');
348#endif 348#endif
349 seq_putc(m, '\n');
349} 350}
350 351
351static inline void task_context_switch_counts(struct seq_file *m, 352static inline void task_context_switch_counts(struct seq_file *m,