mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
apparmor: extend permissions to support a label and tag string
add indexes for label and tag entries. Rename the domain table to the str_table as its a shared string table with label and tags. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -99,6 +99,12 @@ static inline bool path_mediated_fs(struct dentry *dentry)
|
||||
return !(dentry->d_sb->s_flags & SB_NOUSER);
|
||||
}
|
||||
|
||||
struct aa_str_table {
|
||||
int size;
|
||||
char **table;
|
||||
};
|
||||
|
||||
void aa_free_str_table(struct aa_str_table *table);
|
||||
|
||||
struct counted_str {
|
||||
struct kref count;
|
||||
|
||||
Reference in New Issue
Block a user