Home
last modified time | relevance | path

Searched refs:rawdata (Results 1 – 4 of 4) sorted by relevance

/security/apparmor/
Dapparmorfs.c1293 struct aa_loaddata *rawdata = file->private_data; in rawdata_read() local
1295 return simple_read_from_buffer(buf, size, ppos, rawdata->data, in rawdata_read()
1296 rawdata->size); in rawdata_read()
1325 static void remove_rawdata_dents(struct aa_loaddata *rawdata) in remove_rawdata_dents() argument
1330 if (!IS_ERR_OR_NULL(rawdata->dents[i])) { in remove_rawdata_dents()
1332 aafs_remove(rawdata->dents[i]); in remove_rawdata_dents()
1333 rawdata->dents[i] = NULL; in remove_rawdata_dents()
1338 void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata) in __aa_fs_remove_rawdata() argument
1340 AA_BUG(rawdata->ns && !mutex_is_locked(&rawdata->ns->lock)); in __aa_fs_remove_rawdata()
1342 if (rawdata->ns) { in __aa_fs_remove_rawdata()
[all …]
Dpolicy.c244 aa_put_loaddata(profile->rawdata); in aa_free_profile()
931 ent->new->rawdata = aa_get_loaddata(udata); in aa_replace_profiles()
1004 if (ent->old && ent->old->rawdata == ent->new->rawdata) { in aa_replace_profiles()
/security/apparmor/include/
Dapparmorfs.h117 void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata);
118 int __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata);
Dpolicy.h157 struct aa_loaddata *rawdata; member