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
This commit is contained in:
parent
0509e374ac
commit
77ae814e61
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107794
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user