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
@ -148,6 +148,7 @@ main(int argc, char **argv)
|
|||||||
case FTS_DEFAULT: /* do default */
|
case FTS_DEFAULT: /* do default */
|
||||||
case FTS_F: /* do regular */
|
case FTS_F: /* do regular */
|
||||||
case FTS_SL: /* do symlink */
|
case FTS_SL: /* do symlink */
|
||||||
|
case FTS_SLNONE: /* do symlink */
|
||||||
case FTS_W: /* do whiteout */
|
case FTS_W: /* do whiteout */
|
||||||
if (apply_specs(specs, ftsent, hflag, vflag)) {
|
if (apply_specs(specs, ftsent, hflag, vflag)) {
|
||||||
if (eflag) {
|
if (eflag) {
|
||||||
|
Loading…
Reference in New Issue
Block a user