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: <20131211144758.GA1160@madcap2.tricolour.ca>
Date:	Wed, 11 Dec 2013 09:47:58 -0500
From:	Richard Guy Briggs <rgb@...hat.com>
To:	John Johansen <john.johansen@...onical.com>
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Oleg Nesterov <oleg@...hat.com>, linux-kernel@...r.kernel.org,
	linux-audit@...hat.com, Ingo Molnar <mingo@...hat.com>,
	"Serge E. Hallyn" <serge@...lyn.com>
Subject: Re: [PATCH 03/12] pid: get ppid pid_t of task in init_pid_ns safely

On Tue, Sep 03, 2013 at 02:31:59PM -0400, Richard Guy Briggs wrote:
> On Fri, Aug 30, 2013 at 01:37:09PM -0700, John Johansen wrote:
> > On 08/30/2013 12:56 PM, Richard Guy Briggs wrote:
> > > On Tue, Aug 27, 2013 at 07:21:55PM +0200, Oleg Nesterov wrote:
> > >> On 08/20, Richard Guy Briggs wrote:
> > > Most of the instances are current, but the one called from apparmour is
> > > stored.  I've just learned that this is bad and someone else just chimed
> > > in that they have a patch to remove it...
> > 
> > the apparmor case isn't actually stored long term. The stored task will be
> > a parameter that was passed into an lsm hook and the buffer that it is
> > stored in dies before the hook is done. Its temporarily stored in the
> > struct so that it can be passed into the lsm_audit fn, and printed into an
> > allocated audit buffer. The text version in the audit buffer is what will
> > exist beyond the hook.
> > 
> > There are three patches, I'll reply them below once I have finished rebasing
> > them to apply to the current tree instead of my dev tree.
> 
> John, thanks for this context and fix.  That helps simplify things.

John, What's the status of this set of 3 patches?  I don't see them
upstream.

> - RGB

- RGB

--
Richard Guy Briggs <rbriggs@...hat.com>
Senior Software Engineer, Kernel Security, AMER ENG Base Operating Systems, Red Hat
Remote, Ottawa, Canada
Voice: +1.647.777.2635, Internal: (81) 32635, Alt: +1.613.693.0684x3545
--
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