clamav/common
Micah Snyder 9472f0f476
Disable following symlinks when opening log files
The log module used by clamd and freshclam may follow symlinks.
This is a potential security concern since the log may be owned by
the unprivileged service but may be opened by the service running as
root on startup.

For Windows, we'll define O_NOFOLLOW so the code works, though the issue
does not affect Windows.

Issue reported by Detlef.
2024-08-28 18:06:15 -04:00
..
linux Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
mac Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
win Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
actions.c Code cleanup: Refactor to clean up formatting issues 2022-03-22 10:42:46 -07:00
actions.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00
cert_util.c Fix certificate load x509 -> PEM result check 2022-10-19 13:13:57 -07:00
cert_util.h Rename "shared" library to "common" 2021-04-20 17:31:19 -07:00
cert_util_internal.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00
clamdcom.c Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
clamdcom.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00
CMakeLists.txt cdiff: Replace cdiff-apply feature with Rust implementation 2022-01-10 12:18:33 -07:00
exeScanner.c Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
exeScanner.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00
fdpassing.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00
getopt.c Code cleanup: Refactor to clean up formatting issues 2022-03-22 10:42:46 -07:00
getopt.h Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
hostid.c Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
hostid.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00
idmef_logging.c Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
idmef_logging.h Rename "shared" library to "common" 2021-04-20 17:31:19 -07:00
misc.c Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
misc.h */*: fix invalid prototypes. 2022-11-22 23:22:57 -08:00
optparser.c ClamD: Disable VirusEvent '%f' feature, use environment var instead 2024-01-22 14:36:19 -05:00
optparser.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00
output.c Disable following symlinks when opening log files 2024-08-28 18:06:15 -04:00
output.h Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
scanmem.c Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
scanmem.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00
service.c Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
service.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00
tar.c Bump copyright for 2022 2022-01-09 14:23:25 -07:00
tar.h Bump copyright for 2022 2022-01-09 14:23:25 -07:00