mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
Eliminate xargs in favor of find -exec {} +
This commit is contained in:
parent
2cb2359632
commit
43085e37e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175906
@ -46,8 +46,7 @@ case "$daily_status_security_chksetuid_enable" in
|
||||
MP=`mount -t ufs,zfs | awk '$0 !~ /no(suid|exec)/ { print $3 }'`
|
||||
find -sx $MP /dev/null -type f \
|
||||
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
|
||||
\( -perm -u+s -or -perm -g+s \) -print0 |
|
||||
xargs -0 ls -liTd |
|
||||
\( -perm -u+s -or -perm -g+s \) -exec ls -liTd \{\} \+ |
|
||||
check_diff setuid - "${host} setuid diffs:"
|
||||
rc=$?
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user