mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
tomoyo: Allow multiple use_group lines.
Being able to specify multiple "use_group" lines makes it easier to write whitelisted policies. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <james.morris@microsoft.com>
This commit is contained in:
committed by
James Morris
parent
cdcf6723ad
commit
4b42564181
@@ -684,8 +684,9 @@ struct tomoyo_domain_info {
|
||||
const struct tomoyo_path_info *domainname;
|
||||
/* Namespace for this domain. Never NULL. */
|
||||
struct tomoyo_policy_namespace *ns;
|
||||
/* Group numbers to use. */
|
||||
unsigned long group[TOMOYO_MAX_ACL_GROUPS / BITS_PER_LONG];
|
||||
u8 profile; /* Profile number to use. */
|
||||
u8 group; /* Group number to use. */
|
||||
bool is_deleted; /* Delete flag. */
|
||||
bool flags[TOMOYO_MAX_DOMAIN_INFO_FLAGS];
|
||||
atomic_t users; /* Number of referring tasks. */
|
||||
|
||||
Reference in New Issue
Block a user