Path: blob/master/security/apparmor/include/procattr.h
10817 views
/*1* AppArmor security module2*3* This file contains AppArmor /proc/<pid>/attr/ interface function definitions.4*5* Copyright (C) 1998-2008 Novell/SUSE6* Copyright 2009-2010 Canonical Ltd.7*8* This program is free software; you can redistribute it and/or9* modify it under the terms of the GNU General Public License as10* published by the Free Software Foundation, version 2 of the11* License.12*/1314#ifndef __AA_PROCATTR_H15#define __AA_PROCATTR_H1617#define AA_DO_TEST 118#define AA_ONEXEC 11920int aa_getprocattr(struct aa_profile *profile, char **string);21int aa_setprocattr_changehat(char *args, size_t size, int test);22int aa_setprocattr_changeprofile(char *fqname, bool onexec, int test);23int aa_setprocattr_permipc(char *fqname);2425#endif /* __AA_PROCATTR_H */262728