Lines Matching +full:label +full:- +full:revision
1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Copyright (C) 1998-2008 Novell/SUSE
8 * Copyright 2009-2017 Canonical Ltd.
18 #include "label.h"
22 /* struct aa_ns_acct - accounting of profiles in namespace
35 /* struct aa_ns - namespace for a set of profiles
68 long revision; member
82 #define ns_unconfined(NS) (&(NS)->unconfined->label)
99 return rcu_dereference_protected(p->parent, in aa_deref_parent()
100 mutex_is_locked(&p->ns->lock)); in aa_deref_parent()
104 * aa_get_ns - increment references count on @ns
113 aa_get_profile(ns->unconfined); in aa_get_ns()
119 * aa_put_ns - decrement refcount on @ns
127 aa_put_profile(ns->unconfined); in aa_put_ns()
131 * __aa_findn_ns - find a namespace on a list by @name