diff options
author | Harald Hoyer <harald@redhat.com> | 2008-04-17 16:03:03 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-17 19:07:24 +0200 |
commit | 6056d9b3400fe0349d86636cbbf93f069bb5639a (patch) | |
tree | dde618e113dedd6622a33bb3e52ebc1e25c3bb40 /udevd.c | |
parent | e6d70ed63a03f39de148e6b0afb47cbbc5ec78eb (diff) |
selinux: more context settings
Signed-off-by: Harald Hoyer <harald@redhat.com>
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -168,7 +168,9 @@ static void export_event_state(struct udevd_uevent_msg *msg, enum event_state st delete_path(filename_failed); create_path(filename); + selinux_setfscreatecon(filename, NULL, S_IFLNK); symlink(msg->devpath, filename); + selinux_resetfscreatecon(); break; case EVENT_FINISHED: if (msg->devpath_old != NULL) { |