lkml.org 
[lkml]   [2008]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] proc: add "personality" to process status file
On Sat, Oct 04, 2008 at 02:51:49PM -0700, Arjan van de Ven wrote:
> On Thu, 2 Oct 2008 14:14:24 -0700
> Kees Cook <kees.cook@canonical.com> wrote:
>
> > There is no sane way to query the personality flags of arbitrary
> > process from userspace. This adds the flags to the /proc/$pid/status
> > file. For example, to detect READ_IMPLIES_EXEC:
> >
>
> .. I'm sure local exploit writers will love this to find out which
> processes to attack.
> Realistically, this probably shouldn't be in a world-readable file.

Nothing else seemed appropriate, but I could make a brand new proc file,
if that's sensible. "status_private" ?

-Kees

--
Kees Cook
Ubuntu Security Team


\
 
 \ /
  Last update: 2008-10-05 00:41    [W:0.051 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site