clamav/common
Micah Snyder 17437db5f2
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:02:26 -04:00
..
linux Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
mac Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
win Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
actions.c Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
actions.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
cert_util.c Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
cert_util.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
cert_util_internal.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
clamdcom.c Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
clamdcom.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
CMakeLists.txt Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
exeScanner.c Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
exeScanner.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
fdpassing.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05: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 Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
hostid.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05: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 Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
misc.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
optparser.c ClamD: Disable VirusEvent '%f' feature, use environment var instead 2024-02-05 11:39:02 -05:00
optparser.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
output.c Disable following symlinks when opening log files 2024-08-28 18:02:26 -04:00
output.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
scanmem.c Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
scanmem.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
service.c Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
service.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
tar.c Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
tar.h Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00