mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
apparmor: rename hname_tail to basename
Rename to the shorter and more familiar shell cmd name Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
efeee83a70
commit
6e474e3063
3 changed files with 4 additions and 4 deletions
|
@ -617,7 +617,7 @@ bool aa_may_manage_policy(int op)
|
|||
static struct aa_profile *__list_lookup_parent(struct list_head *lh,
|
||||
struct aa_profile *profile)
|
||||
{
|
||||
const char *base = hname_tail(profile->base.hname);
|
||||
const char *base = basename(profile->base.hname);
|
||||
long len = base - profile->base.hname;
|
||||
struct aa_load_ent *ent;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue