xref: /OK3568_Linux_fs/kernel/security/apparmor/include/procattr.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * AppArmor security module
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * This file contains AppArmor /proc/<pid>/attr/ interface function definitions.
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * Copyright (C) 1998-2008 Novell/SUSE
8*4882a593Smuzhiyun  * Copyright 2009-2010 Canonical Ltd.
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #ifndef __AA_PROCATTR_H
12*4882a593Smuzhiyun #define __AA_PROCATTR_H
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun int aa_getprocattr(struct aa_label *label, char **string);
15*4882a593Smuzhiyun int aa_setprocattr_changehat(char *args, size_t size, int flags);
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #endif /* __AA_PROCATTR_H */
18