freebsd-dev/libexec
Xin LI 39e8c2a29a cleanvar: Be more careful when cleaning up /var.
The cleanvar script uses find -delete to remove stale files under /var,
which could lead to unwanted removal of files in some unusual scenarios.
For example, when a mounted fdescfs(5) is present under /var/run/samba/fd,
find(1) could descend into a directory that is out of /var/run and remove
files that should not be removed.

To mitigate this, modify the script to use find -x, which restricts the
find scope to one file system only instead of descending into mounted
file systems.

PR:		269213
MFC after:	1 week
2023-02-12 20:56:17 -08:00
..
atf atf_pytest_wrapper: fix pytest output truncation 2022-12-28 17:31:14 +00:00
atrun
blacklistd-helper
bootpd bootptest: Fix a typo in a source code comment 2022-09-15 10:28:52 +02:00
comsat
dma dma: dma.conf.5 as MLINK to dma.8 2023-01-06 09:40:45 -05:00
fingerd Update Makefile.depend files 2019-12-11 17:37:53 +00:00
flua flua: chown(2) binding, fix bad copy/paste 2022-11-25 09:05:40 +01:00
ftpd Put OPIE to rest. 2022-10-02 03:37:29 +02:00
getty getty: Avoid NULL deref if stdin is not a tty. 2022-11-04 15:54:01 +01:00
hyperv pkgbase: Create a FreeBSD-hyperv package 2021-09-07 10:24:54 +02:00
mail.local
makewhatis.local makewhatis: do not try to operate on read-only mounted directories 2018-10-27 17:15:58 +00:00
mknetid
phttpget phttpget: move out of portsnap 2020-09-09 00:39:47 +00:00
pppoed
rbootd Fix the following -Werror warning from clang 10.0.0 in rbootd: 2020-01-28 19:19:55 +00:00
rc cleanvar: Be more careful when cleaning up /var. 2023-02-12 20:56:17 -08:00
revnetgroup
rpc.rquotad pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd rpc.sprayd: raise WARNS to 6 2018-03-05 16:11:07 +00:00
rtld-elf rtld: Revert "When loading dso without PT_GNU_STACK phdr, only call" 2023-01-04 14:55:00 -08:00
rtld-elf32 libcompat: Correct rtld MLINKS 2019-11-12 22:31:59 +00:00
save-entropy Reduce disk write load in /usr/libexec/save-entropy. 2019-11-30 20:06:53 +00:00
smrsh
talkd Regularize my copyright notice 2019-12-04 16:56:11 +00:00
tcpd pkgbase: Create a FreeBSD-tcpd package 2021-12-21 10:17:31 +01:00
tests
tftp-proxy (t)ftp-proxy: use libpfctl 2021-04-10 11:16:02 +02:00
tftpd tftpd: Disable -Wformat-nonliteral for GCC. 2022-11-22 11:12:06 -08:00
ulog-helper
ypxfr pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
Makefile hyperv: Build and install where supported 2023-02-01 10:21:57 -07:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00