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] [day] [month] [year] [list]
Message-ID: <20141117183714.GC12343@kroah.com>
Date:	Mon, 17 Nov 2014 10:37:14 -0800
From:	Greg KH <gregkh@...uxfoundation.org>
To:	Karol Lewandowski <lmctlx@...il.com>
Cc:	pmoore@...hat.com, jkosina@...e.cz, linux-api@...r.kernel.org,
	linux-kernel@...r.kernel.org, john.stultz@...aro.org,
	arnd@...db.de, tj@...nel.org, desrt@...rt.ca,
	simon.mcvittie@...labora.co.uk, daniel@...que.org,
	dh.herrmann@...il.com, casey.schaufler@...el.com,
	marcel@...tmann.org, tixxdz@...ndz.org,
	javier.martinez@...labora.co.uk, alban.crequy@...labora.co.uk,
	linux-security-module@...r.kernel.org, r.krypa@...sung.com,
	Karol Lewandowski <k.lewandowsk@...sung.com>
Subject: Re: [PATCH 1/5] kdbus: extend structures with security pointer for
 lsm

On Mon, Nov 17, 2014 at 02:47:32AM +0100, Karol Lewandowski wrote:
> On Fri, Oct 31, 2014 at 05:36:33PM +0100, Karol Lewandowski wrote:
> > Signed-off-by: Karol Lewandowski <k.lewandowsk@...sung.com>
> > ---
> >  drivers/misc/kdbus/bus.h        | 2 ++
> >  drivers/misc/kdbus/connection.h | 2 ++
> >  drivers/misc/kdbus/domain.h     | 2 ++
> >  3 files changed, 6 insertions(+)
> > 
> > diff --git a/drivers/misc/kdbus/bus.h b/drivers/misc/kdbus/bus.h
> > index fd9d843..5c403ef 100644
> > --- a/drivers/misc/kdbus/bus.h
> > +++ b/drivers/misc/kdbus/bus.h
> > @@ -49,6 +49,7 @@
> >   * @conn_hash:		Map of connection IDs
> >   * @monitors_list:	Connections that monitor this bus
> >   * @meta:		Meta information about the bus creator
> > + * @security:		LSM security blob
> >   *
> >   * A bus provides a "bus" endpoint / device node.
> >   *
> > @@ -84,6 +85,7 @@ struct kdbus_bus {
> >  	struct list_head monitors_list;
> >  
> >  	struct kdbus_meta *meta;
> > +	void *security;
> 
> One minor note - with possibility of LSM modules trying to access
> these structures it would be worth to have kdbus headers in, say
> include/linux/kdbus or similar globally accessible location.

Yes, that is a good idea.
--
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