lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080502003730.GA4018@sequoia.sous-sol.org>
Date:	Thu, 1 May 2008 17:38:00 -0700
From:	Chris Wright <chrisw@...s-sol.org>
To:	"Serge E. Hallyn" <serue@...ibm.com>
Cc:	lkml <linux-kernel@...r.kernel.org>,
	Andrew Morgan <morgan@...nel.org>,
	linux-security-module@...r.kernel.org,
	Michael Kerrisk <mtk.manpages@...il.com>
Subject: Re: [PATCH] capabilities: add bounding set to /proc/self/status

* Serge E. Hallyn (serue@...ibm.com) wrote:
> There is currently no way to query the bounding set of another
> task.  As there appears to be no security reason not to, and
> as Michael Kerrisk points out the following valid reasons to do
> so exist:
> 
> * consistency (I can see all of the other per-thread/process sets in
> /proc/.../status)
> * debugging -- I could imagine that it would make the job of debugging
> an application that uses capabilities a little simpler.
> 
> this patch adds the bounding set to /proc/self/status right after
> the effective set.
> 
> If at all possible (and if acked by Andrew Morgan) it would be nice to
> get this into the 2.6.26 cycle.  But I realize it probably is too late
> for that.

I've no issue with this.

> Signed-off-by: Serge E. Hallyn <serue@...ibm.com>
> Acked-by: Michael Kerrisk <mtk.manpages@...il.com>

Acked-by: Chris Wright <chrisw@...s-sol.org>

> ---
>  fs/proc/array.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/fs/proc/array.c b/fs/proc/array.c
> index c135cbd..160dd4a 100644
> --- a/fs/proc/array.c
> +++ b/fs/proc/array.c
> @@ -297,6 +297,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,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ