Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-08 Thread David Graziano
On Mon, Dec 5, 2016 at 5:12 PM, Paul Moore wrote: > On Mon, Dec 5, 2016 at 11:15 AM, David Graziano > wrote: >> On Mon, Dec 5, 2016 at 9:37 AM, Paul Moore wrote: >>> On Mon, Nov 28, 2016 at 3:04 PM, David Graziano >>>

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-08 Thread David Graziano
On Mon, Dec 5, 2016 at 5:12 PM, Paul Moore wrote: > On Mon, Dec 5, 2016 at 11:15 AM, David Graziano > wrote: >> On Mon, Dec 5, 2016 at 9:37 AM, Paul Moore wrote: >>> On Mon, Nov 28, 2016 at 3:04 PM, David Graziano >>> wrote: On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: > On Wed,

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-05 Thread Paul Moore
On Mon, Dec 5, 2016 at 11:15 AM, David Graziano wrote: > On Mon, Dec 5, 2016 at 9:37 AM, Paul Moore wrote: >> On Mon, Nov 28, 2016 at 3:04 PM, David Graziano >> wrote: >>> On Wed, Nov 9, 2016 at 4:25

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-05 Thread Paul Moore
On Mon, Dec 5, 2016 at 11:15 AM, David Graziano wrote: > On Mon, Dec 5, 2016 at 9:37 AM, Paul Moore wrote: >> On Mon, Nov 28, 2016 at 3:04 PM, David Graziano >> wrote: >>> On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: On Wed, Nov 9, 2016 at 11:25 AM, David Graziano wrote: >

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-05 Thread David Graziano
On Mon, Dec 5, 2016 at 9:37 AM, Paul Moore wrote: > On Mon, Nov 28, 2016 at 3:04 PM, David Graziano > wrote: >> On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: >>> On Wed, Nov 9, 2016 at 11:25 AM, David Graziano >>>

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-05 Thread David Graziano
On Mon, Dec 5, 2016 at 9:37 AM, Paul Moore wrote: > On Mon, Nov 28, 2016 at 3:04 PM, David Graziano > wrote: >> On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: >>> On Wed, Nov 9, 2016 at 11:25 AM, David Graziano >>> wrote: On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: > On Mon,

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-05 Thread Paul Moore
On Mon, Nov 28, 2016 at 3:04 PM, David Graziano wrote: > On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: >> On Wed, Nov 9, 2016 at 11:25 AM, David Graziano >> wrote: >>> On Mon, Nov 7, 2016 at 4:23

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-05 Thread Paul Moore
On Mon, Nov 28, 2016 at 3:04 PM, David Graziano wrote: > On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: >> On Wed, Nov 9, 2016 at 11:25 AM, David Graziano >> wrote: >>> On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: On Mon, Nov 7, 2016 at 3:46 PM, David Graziano wrote: >

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-28 Thread David Graziano
On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: > On Wed, Nov 9, 2016 at 11:25 AM, David Graziano > wrote: >> On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: >>> On Mon, Nov 7, 2016 at 3:46 PM, David Graziano >>>

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-28 Thread David Graziano
On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: > On Wed, Nov 9, 2016 at 11:25 AM, David Graziano > wrote: >> On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: >>> On Mon, Nov 7, 2016 at 3:46 PM, David Graziano >>> wrote: This patch adds support for generic extended attributes within

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread Paul Moore
On Wed, Nov 9, 2016 at 11:48 AM, Christoph Hellwig wrote: >> +/* >> + * Callback for security_inode_init_security() for acquiring xattrs. >> + */ >> +static int mqueue_initxattrs(struct inode *inode, >> + const struct xattr *xattr_array, >> +

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread Paul Moore
On Wed, Nov 9, 2016 at 11:48 AM, Christoph Hellwig wrote: >> +/* >> + * Callback for security_inode_init_security() for acquiring xattrs. >> + */ >> +static int mqueue_initxattrs(struct inode *inode, >> + const struct xattr *xattr_array, >> + void

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread Paul Moore
On Wed, Nov 9, 2016 at 11:25 AM, David Graziano wrote: > On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: >> On Mon, Nov 7, 2016 at 3:46 PM, David Graziano >> wrote: >>> This patch adds support for

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread Paul Moore
On Wed, Nov 9, 2016 at 11:25 AM, David Graziano wrote: > On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: >> On Mon, Nov 7, 2016 at 3:46 PM, David Graziano >> wrote: >>> This patch adds support for generic extended attributes within the >>> POSIX message queues filesystem and setting them by

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread Christoph Hellwig
> +/* > + * Callback for security_inode_init_security() for acquiring xattrs. > + */ > +static int mqueue_initxattrs(struct inode *inode, > + const struct xattr *xattr_array, > + void *fs_info) > +{ > + struct mqueue_inode_info *info =

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread Christoph Hellwig
> +/* > + * Callback for security_inode_init_security() for acquiring xattrs. > + */ > +static int mqueue_initxattrs(struct inode *inode, > + const struct xattr *xattr_array, > + void *fs_info) > +{ > + struct mqueue_inode_info *info =

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread David Graziano
On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: > On Mon, Nov 7, 2016 at 3:46 PM, David Graziano > wrote: >> This patch adds support for generic extended attributes within the >> POSIX message queues filesystem and setting them by

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread David Graziano
On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: > On Mon, Nov 7, 2016 at 3:46 PM, David Graziano > wrote: >> This patch adds support for generic extended attributes within the >> POSIX message queues filesystem and setting them by consulting the LSM. >> This is needed so that the

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-07 Thread Paul Moore
On Mon, Nov 7, 2016 at 3:46 PM, David Graziano wrote: > This patch adds support for generic extended attributes within the > POSIX message queues filesystem and setting them by consulting the LSM. > This is needed so that the security.selinux extended attribute

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-07 Thread Paul Moore
On Mon, Nov 7, 2016 at 3:46 PM, David Graziano wrote: > This patch adds support for generic extended attributes within the > POSIX message queues filesystem and setting them by consulting the LSM. > This is needed so that the security.selinux extended attribute can be > set via a SELinux named

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-07 Thread James Morris
On Mon, 7 Nov 2016, David Graziano wrote: > This patch adds support for generic extended attributes within the > POSIX message queues filesystem and setting them by consulting the LSM. > This is needed so that the security.selinux extended attribute can be > set via a SELinux named type

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-07 Thread James Morris
On Mon, 7 Nov 2016, David Graziano wrote: > This patch adds support for generic extended attributes within the > POSIX message queues filesystem and setting them by consulting the LSM. > This is needed so that the security.selinux extended attribute can be > set via a SELinux named type

[PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-07 Thread David Graziano
This patch adds support for generic extended attributes within the POSIX message queues filesystem and setting them by consulting the LSM. This is needed so that the security.selinux extended attribute can be set via a SELinux named type transition on file inodes created within the filesystem. The

[PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-07 Thread David Graziano
This patch adds support for generic extended attributes within the POSIX message queues filesystem and setting them by consulting the LSM. This is needed so that the security.selinux extended attribute can be set via a SELinux named type transition on file inodes created within the filesystem. The