diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2014-06-12 12:29:14 -0400 |
---|---|---|
committer | Stephen Smalley <sds@tycho.nsa.gov> | 2014-06-16 09:44:30 -0400 |
commit | b4c5200f51c3568f604a4557119ab545a6ddac94 (patch) | |
tree | f96495cf145084fad206f936f09a9f3963af037d /init/MODULE_LICENSE_APACHE2 | |
parent | 7fa1cd19638c8ada0786e03abe50b5fe9b9f4270 (diff) | |
download | system_core-b4c5200f51c3568f604a4557119ab545a6ddac94.tar.gz system_core-b4c5200f51c3568f604a4557119ab545a6ddac94.tar.bz2 system_core-b4c5200f51c3568f604a4557119ab545a6ddac94.zip |
Extend ueventd to use the label-by-symlink support in libselinux.
When ueventd creates a device node, it may also create one or more
symlinks to the device node. These symlinks may be the only stable
name for the device, e.g. if the partition is dynamically assigned.
A corresponding change with the same Change-Id to external/libselinux
introduces selabel_lookup_best_match() to support looking up the "best match"
for a device node based on its real path (key) and any links to it
(aliases). This change updates ueventd to use this new interface
to find the best match for the device node when creating it.
Change-Id: Id6c2597eee2b6723a5089dcf7c450f8d0a4128f4
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'init/MODULE_LICENSE_APACHE2')
0 files changed, 0 insertions, 0 deletions