#ifndef __AA_APPARMORFS_H
#define __AA_APPARMORFS_H
extern struct path aa_null;
enum aa_sfs_type { … };
struct aa_sfs_entry;
struct aa_sfs_entry { … };
extern const struct file_operations aa_sfs_seq_file_ops;
#define AA_SFS_FILE_BOOLEAN(_name, _value) …
#define AA_SFS_FILE_STRING(_name, _value) …
#define AA_SFS_FILE_U64(_name, _value) …
#define AA_SFS_FILE_FOPS(_name, _mode, _fops) …
#define AA_SFS_DIR(_name, _value) …
extern void __init aa_destroy_aafs(void);
struct aa_profile;
struct aa_ns;
enum aafs_ns_type { … };
enum aafs_prof_type { … };
#define ns_dir(X) …
#define ns_subns_dir(X) …
#define ns_subprofs_dir(X) …
#define ns_subdata_dir(X) …
#define ns_subload(X) …
#define ns_subreplace(X) …
#define ns_subremove(X) …
#define ns_subrevision(X) …
#define prof_dir(X) …
#define prof_child_dir(X) …
void __aa_bump_ns_revision(struct aa_ns *ns);
void __aafs_profile_rmdir(struct aa_profile *profile);
void __aafs_profile_migrate_dents(struct aa_profile *old,
struct aa_profile *new);
int __aafs_profile_mkdir(struct aa_profile *profile, struct dentry *parent);
void __aafs_ns_rmdir(struct aa_ns *ns);
int __aafs_ns_mkdir(struct aa_ns *ns, struct dentry *parent, const char *name,
struct dentry *dent);
struct aa_loaddata;
#ifdef CONFIG_SECURITY_APPARMOR_EXPORT_BINARY
void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata);
int __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata);
#else
static inline void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata)
{
}
static inline int __aa_fs_create_rawdata(struct aa_ns *ns,
struct aa_loaddata *rawdata)
{
return 0;
}
#endif
#endif