user634615
user634615

Reputation: 677

Type alias in SELinux

I am using fedora 22. I have used a predifined type lets say a_t in .fc file. When I load the policy and run restorecon -v . I get the following

restorecon reset context b_t -> a_t

where b_t is the default context of . but when I run ls -Z over that file it displays the older b_t.

Does it mean that a_t is an alias for b_t. I didn't get any definitive answer on this over internet

Upvotes: 1

Views: 491

Answers (1)

Jakuje
Jakuje

Reputation: 25966

As selinuxproject.org states:

The typealias statement allows the association of a previously declared type to one or more alias identifiers (an alternative way is to use the type statement.

Upvotes: 1

Related Questions