opnsense-src/libexec
Xin LI 57c37babde 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
Approved by:	re (cperciva)

(cherry picked from commit 39e8c2a29a)
(cherry picked from commit 0699f0d43416776d87d20d7953b7d686f1e2e572)
2023-02-21 07:37:30 -08:00
..
atf atf_pytest_wrapper: fix pytest output truncation 2023-02-09 15:45:28 +00:00
atrun
blacklistd-helper
bootpd bootptest: Fix a typo in a source code comment 2022-09-18 08:04:15 +02:00
comsat
dma dma(8): add newaliases to mailer.conf 2023-01-25 09:52:29 +01:00
fingerd Update Makefile.depend files 2019-12-11 17:37:53 +00:00
flua flua: chown(2) binding, fix bad copy/paste 2023-01-25 09:51:35 +01:00
ftpd ftpd(8): do not refer to now unused libxo(3) 2022-07-29 09:34:54 +07:00
getty getty: code cleanup, part 1 2022-11-14 12:22:42 +01:00
hyperv pkgbase: Create a FreeBSD-hyperv package 2022-01-05 18:23:50 +01:00
mail.local
makewhatis.local
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-21 07:37:30 -08:00
revnetgroup
rpc.rquotad pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rtld-elf rtld: add support for the $LIB token 2022-11-18 04:15:18 +02:00
rtld-elf32
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 2022-01-05 18:23:52 +01:00
telnetd pkgbase: Create a FreeBSD-telnet package 2022-01-05 18:23:49 +01:00
tests
tftp-proxy (t)ftp-proxy: use libpfctl 2021-05-07 10:15:42 +02:00
tftpd When receiving a file having a length, which is a mulitple of the blocksize, 2020-12-15 09:43:18 +00:00
ulog-helper
ypxfr pkgbase: Put yellow pages programs to its own package 2022-01-05 18:23:51 +01:00
Makefile phttpget: move out of portsnap 2020-09-09 00:39:47 +00:00
Makefile.amd64
Makefile.i386
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00