at v4.14-rc7 26 lines 626 B view raw
1/* 2 * AppArmor security module 3 * 4 * This file contains AppArmor security identifier (secid) 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 14#ifndef __AA_SECID_H 15#define __AA_SECID_H 16 17#include <linux/types.h> 18 19/* secid value that will not be allocated */ 20#define AA_SECID_INVALID 0 21#define AA_SECID_ALLOC AA_SECID_INVALID 22 23u32 aa_alloc_secid(void); 24void aa_free_secid(u32 secid); 25 26#endif /* __AA_SECID_H */