|
@@ -336,6 +336,13 @@ static inline void task_cap(struct seq_file *m, struct task_struct *p)
|
|
|
render_cap_t(m, "CapBnd:\t", &cap_bset);
|
|
|
}
|
|
|
|
|
|
+static inline void task_seccomp(struct seq_file *m, struct task_struct *p)
|
|
|
+{
|
|
|
+#ifdef CONFIG_SECCOMP
|
|
|
+ seq_printf(m, "Seccomp:\t%d\n", p->seccomp.mode);
|
|
|
+#endif
|
|
|
+}
|
|
|
+
|
|
|
static inline void task_context_switch_counts(struct seq_file *m,
|
|
|
struct task_struct *p)
|
|
|
{
|
|
@@ -369,6 +376,7 @@ int proc_pid_status(struct seq_file *m, struct pid_namespace *ns,
|
|
|
}
|
|
|
task_sig(m, task);
|
|
|
task_cap(m, task);
|
|
|
+ task_seccomp(m, task);
|
|
|
task_cpus_allowed(m, task);
|
|
|
cpuset_task_status_allowed(m, task);
|
|
|
task_context_switch_counts(m, task);
|