mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Remove private mediation class types from apparmor.h
Currently, D-Bus rules are the only type of policy that we expect to be queried from userspace. Therefore, we do not need to export other mediation types at this time. This patch removes all AA_CLASS_* macros, except AA_CLASS_DBUS, from libapparmor's apparmor.h header. These macros are already defined in the parser's policydb.h header. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: John Johansen <john.johansen@canonical.com> Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
parent
de13aa5126
commit
500c5cca68
1 changed files with 1 additions and 14 deletions
|
@ -24,23 +24,10 @@
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Class of mediation types in the AppArmor policy db
|
* Class of public mediation types in the AppArmor policy db
|
||||||
*/
|
*/
|
||||||
#define AA_CLASS_COND 0
|
|
||||||
#define AA_CLASS_UNKNOWN 1
|
|
||||||
#define AA_CLASS_FILE 2
|
|
||||||
#define AA_CLASS_CAP 3
|
|
||||||
#define AA_CLASS_NET 4
|
|
||||||
#define AA_CLASS_RLIMITS 5
|
|
||||||
#define AA_CLASS_DOMAIN 6
|
|
||||||
#define AA_CLASS_MOUNT 7
|
|
||||||
#define AA_CLASS_NS_DOMAIN 8
|
|
||||||
#define AA_CLASS_PTRACE 9
|
|
||||||
|
|
||||||
#define AA_CLASS_ENV 16
|
|
||||||
|
|
||||||
#define AA_CLASS_DBUS 32
|
#define AA_CLASS_DBUS 32
|
||||||
#define AA_CLASS_X 33
|
|
||||||
|
|
||||||
|
|
||||||
/* Permission flags for the AA_CLASS_DBUS mediation class */
|
/* Permission flags for the AA_CLASS_DBUS mediation class */
|
||||||
|
|
Loading…
Add table
Reference in a new issue