/* struct aa_ns_acct - accounting of profiles in namespace *@max_size:maximumspaceallowedforallprofilesinnamespace *@max_count:maximumnumberofprofilesthatcanbeinthisnamespace *@size:currentsizeofprofiles *@count:currentcountofprofiles(includesnullprofiles)
*/ struct aa_ns_acct { int max_size; int max_count; int size; int count;
};
/* struct aa_ns - namespace for a set of profiles *@base:commonpolicy *@parent:parentofnamespace *@lock:lockformodifyingtheobject *@acct:accountingforthenamespace *@unconfined:specialunconfinedprofileforthenamespace *@sub_ns:listofnamespacesunderthecurrentnamespace. *@uniq_null:uniqvalueusedfornulllearningprofiles *@uniq_id:auniqueidcountfortheprofilesinthenamespace *@level:levelofnswithinthetreehierarchy *@dents:dentriesforthenamespacesfileentriesinapparmorfs * *Anaa_nsdefinesthesetprofilesthataresearchedtodeterminewhich *profiletoattachtoatask.Profilescannotbesharedbetweenaa_ns *andprofilenameswithinanamespaceareguaranteedtobeunique.When *profilesinseparatenamespaceshavethesamenametheyareNOTconsidered *tobeequivalent. * *Namespacesarehierarchicalandonlynamespacesandprofilesbelowthe *currentnamespacearevisible. * *Namespacenamesmustbeuniqueandcannotcontainthecharacters:/\0
*/ struct aa_ns { struct aa_policy base; struct aa_ns *parent; struct mutex lock; struct aa_ns_acct acct; struct aa_profile *unconfined; struct list_head sub_ns;
atomic_t uniq_null; long uniq_id; int level; long revision;
wait_queue_head_t wait;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.