On Sun, Jan 8, 2017 at 3:55 AM, Christoph Hellwig wrote:
>> +/*
>> + * Callback for security_inode_init_security() for acquiring xattrs.
>> + */
>> +int simple_xattr_initxattrs(struct inode *inode,
>> + const struct xattr *xattr_array,
>> + void *fs_
Updates shmem to use the newly created simple_xattr_initxattrs()
function to minimize code duplication with other LSM callback
functions.
Signed-off-by: David Graziano
---
mm/shmem.c | 53 -
1 file changed, 12 insertions(+), 41 deletions
lback function
- updates mqueue to use new callback function
Changes v1 -> v2:
- formatting/commit message
David Graziano (3):
xattr: add simple initxattrs function
shmem: use simple initxattrs callback
mqueue: Implement generic xattr support
fs/xattr.
callback function.
Signed-off-by: David Graziano
---
fs/xattr.c| 39 +++
include/linux/xattr.h | 3 +++
2 files changed, 42 insertions(+)
diff --git a/fs/xattr.c b/fs/xattr.c
index c243905..69dd142 100644
--- a/fs/xattr.c
+++ b/fs/xattr.c
@@ -994,3
uses the newly created
simple_xattr_initxattrs() LSM callback function.
Signed-off-by: David Graziano
---
ipc/mqueue.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 0b13ace..32271a0 100644
--- a/ipc/mqueue.c
+++ b/ipc
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 a
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 a
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 supp
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.
>> Th
implementation and LSM call back function are based
off tmpfs/shmem.
Signed-off-by: David Graziano
---
ipc/mqueue.c | 46 ++
1 file changed, 46 insertions(+)
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 0b13ace..512a546 100644
--- a/ipc/mqueue.c
10 matches
Mail list logo