From 77ae814e61db2bc89be2d737247ba8d4d4bf36dd Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Thu, 12 Dec 2002 20:32:45 +0000 Subject: [PATCH] Account for fts(3)'s FTS_SLNONE case for symbolic links which have a nonexistant target, in addition to the FTS_SL previously, so e.g. setfmac -h sebsd/system_u:object_r:malloc_conf_t /etc/malloc.conf succeeds. Approved by: re --- usr.sbin/setfmac/setfmac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/setfmac/setfmac.c b/usr.sbin/setfmac/setfmac.c index 7fc220159f21..aee090504d0b 100644 --- a/usr.sbin/setfmac/setfmac.c +++ b/usr.sbin/setfmac/setfmac.c @@ -148,6 +148,7 @@ main(int argc, char **argv) case FTS_DEFAULT: /* do default */ case FTS_F: /* do regular */ case FTS_SL: /* do symlink */ + case FTS_SLNONE: /* do symlink */ case FTS_W: /* do whiteout */ if (apply_specs(specs, ftsent, hflag, vflag)) { if (eflag) {