sid.h 604 B

1234567891011121314151617181920212223242526
  1. /*
  2. * AppArmor security module
  3. *
  4. * This file contains AppArmor security identifier (sid) definitions
  5. *
  6. * Copyright 2009-2010 Canonical Ltd.
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation, version 2 of the
  11. * License.
  12. */
  13. #ifndef __AA_SID_H
  14. #define __AA_SID_H
  15. #include <linux/types.h>
  16. /* sid value that will not be allocated */
  17. #define AA_SID_INVALID 0
  18. #define AA_SID_ALLOC AA_SID_INVALID
  19. u32 aa_alloc_sid(void);
  20. void aa_free_sid(u32 sid);
  21. #endif /* __AA_SID_H */