apparmor: rename sid to secid
Move to common terminology with other LSMs and kernel infrastucture Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* AppArmor security module
|
||||
*
|
||||
* This file contains AppArmor security identifier (sid) definitions
|
||||
* This file contains AppArmor security identifier (secid) definitions
|
||||
*
|
||||
* Copyright 2009-2010 Canonical Ltd.
|
||||
*
|
||||
@@ -11,16 +11,16 @@
|
||||
* License.
|
||||
*/
|
||||
|
||||
#ifndef __AA_SID_H
|
||||
#define __AA_SID_H
|
||||
#ifndef __AA_SECID_H
|
||||
#define __AA_SECID_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/* sid value that will not be allocated */
|
||||
#define AA_SID_INVALID 0
|
||||
#define AA_SID_ALLOC AA_SID_INVALID
|
||||
/* secid value that will not be allocated */
|
||||
#define AA_SECID_INVALID 0
|
||||
#define AA_SECID_ALLOC AA_SECID_INVALID
|
||||
|
||||
u32 aa_alloc_sid(void);
|
||||
void aa_free_sid(u32 sid);
|
||||
u32 aa_alloc_secid(void);
|
||||
void aa_free_secid(u32 secid);
|
||||
|
||||
#endif /* __AA_SID_H */
|
||||
#endif /* __AA_SECID_H */
|
Reference in New Issue
Block a user