diff options
Diffstat (limited to 'fs/proc/array.c')
| -rw-r--r-- | fs/proc/array.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index c135cbdd912..797d775e035 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -73,6 +73,7 @@  #include <linux/signal.h>  #include <linux/highmem.h>  #include <linux/file.h> +#include <linux/fdtable.h>  #include <linux/times.h>  #include <linux/cpuset.h>  #include <linux/rcupdate.h> @@ -287,7 +288,7 @@ static void render_cap_t(struct seq_file *m, const char *header,  	seq_printf(m, "%s", header);  	CAP_FOR_EACH_U32(__capi) {  		seq_printf(m, "%08x", -			   a->cap[(_LINUX_CAPABILITY_U32S-1) - __capi]); +			   a->cap[(_KERNEL_CAPABILITY_U32S-1) - __capi]);  	}  	seq_printf(m, "\n");  } @@ -297,6 +298,7 @@ static inline void task_cap(struct seq_file *m, struct task_struct *p)  	render_cap_t(m, "CapInh:\t", &p->cap_inheritable);  	render_cap_t(m, "CapPrm:\t", &p->cap_permitted);  	render_cap_t(m, "CapEff:\t", &p->cap_effective); +	render_cap_t(m, "CapBnd:\t", &p->cap_bset);  }  static inline void task_context_switch_counts(struct seq_file *m,  |