[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1357843320-11883-1-git-send-email-r.krypa@samsung.com>
Date: Thu, 10 Jan 2013 19:41:59 +0100
From: Rafal Krypa <r.krypa@...sung.com>
To: Casey Schaufler <casey@...aufler-ca.com>
Cc: linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
Rafal Krypa <r.krypa@...sung.com>
Subject: [PATCHv2] Smack: add support for modification of existing rules
The following patch introduces in-place modification of Smack rules.
Until now Smack supported only overwriting of existing rules.
To change permitted access for a given subject and object, user had
to read list of rules to get current accesses, modify it and write
modified rule back to kernel. This way was inefficient, non-atomic
and unnecessarily difficult.
New interface is intended to ease such modifications.
Changes in v2:
- dropped patches for smackfs seq list operations
- changed modification approach to simple integer assignment
Rafal Krypa (1):
Smack: add support for modification of existing rules
Documentation/security/Smack.txt | 11 ++
security/smack/smackfs.c | 249 ++++++++++++++++++++++++++------------
2 files changed, 181 insertions(+), 79 deletions(-)
--
1.7.10.4
--
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