Skip to content

Commit 3fd8c62

Browse files
committed
restorecond: drop last matchpathcon call
As restorecond does not use the matchpathcon family but the selabel one, via selinux_restorecon(3), drop the last unneeded call. Signed-off-by: Christian Göttsche <[email protected]>
1 parent 12a5c82 commit 3fd8c62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

restorecond/user.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,6 @@ int server(int master_fd, const char *watch_file) {
279279
if (watch_list_isempty())
280280
goto end;
281281

282-
set_matchpathcon_flags(MATCHPATHCON_NOTRANS);
283-
284282
GIOChannel *c = g_io_channel_unix_new(master_fd);
285283

286284
g_io_add_watch_full(c,

0 commit comments

Comments
 (0)