diff options
| author | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
| commit | 79828b4fa835f73cdaf4bffa48696abdcbea9d02 (patch) | |
| tree | 5e0fa7156acb75ba603022bc807df8f2fedb97a8 /fs/proc/array.c | |
| parent | 721b51fcf91898299d96f4b72cb9434cda29dce6 (diff) | |
| parent | 8c1a9d6323abf0fb1e5dad96cf3f1c783505ea5a (diff) | |
Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-fix-rt5645
Diffstat (limited to 'fs/proc/array.c')
| -rw-r--r-- | fs/proc/array.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index ce065cf3104f..f60f0121e331 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -308,7 +308,8 @@ static void render_cap_t(struct seq_file *m, const char *header,  static inline void task_cap(struct seq_file *m, struct task_struct *p)  {  	const struct cred *cred; -	kernel_cap_t cap_inheritable, cap_permitted, cap_effective, cap_bset; +	kernel_cap_t cap_inheritable, cap_permitted, cap_effective, +			cap_bset, cap_ambient;  	rcu_read_lock();  	cred = __task_cred(p); @@ -316,12 +317,14 @@ static inline void task_cap(struct seq_file *m, struct task_struct *p)  	cap_permitted	= cred->cap_permitted;  	cap_effective	= cred->cap_effective;  	cap_bset	= cred->cap_bset; +	cap_ambient	= cred->cap_ambient;  	rcu_read_unlock();  	render_cap_t(m, "CapInh:\t", &cap_inheritable);  	render_cap_t(m, "CapPrm:\t", &cap_permitted);  	render_cap_t(m, "CapEff:\t", &cap_effective);  	render_cap_t(m, "CapBnd:\t", &cap_bset); +	render_cap_t(m, "CapAmb:\t", &cap_ambient);  }  static inline void task_seccomp(struct seq_file *m, struct task_struct *p)  |