Commit Graph

41 Commits (43a28da37471b2f30efa9e814d9c23bac352fb01)

Author SHA1 Message Date
Michael Orlitzky 7374029897 */*: fix invalid prototypes. 3 years ago
Frank Fegert 71f2c3a9de clamonacc: Added workaround for out-of-bounds array access in clamonacc-ddd thread. 3 years ago
Frank Fegert 80b9b1b4fb clamonacc: Added workaround for NULL-pointer usage in clamonacc-ddd thread. 3 years ago
Frank Fegert 01e4f524c4 clamonacc: Added workaround for inotify watch descriptor leak in clamonacc-ddd thread. 3 years ago
Frank Fegert 8d63e6f2e2 clamonacc: Set the names of the clamonacc-ddd and clamonacc-s(can)q(ueue) threads. 3 years ago
Frank Fegert b40c1b0a18 clamonacc: Harmonize signal handling on the different clamonacc threads. 3 years ago
mko-x a21cc6dcd7
Add explicit log level parameter to application logging API 3 years ago
micasnyd 140c88aa4e Bump copyright for 2022 3 years ago
Micah Snyder c025afd683 Rename "shared" library to "common" 4 years ago
Micah Snyder bae444a25b clang-format housekeeping 4 years ago
Andrew 1bad40b8ee More coverity issue fixes (mostly error handling) 4 years ago
Andrew 81367e0829 Fixed several coverity warnings (error handling++) 4 years ago
Andy Ragusa (aragusa) 3fdf035911 clamonacc: Fix scan on file creation race condition 4 years ago
Micah Snyder (micasnyd) b9ca6ea103 Update copyright dates for 2021 4 years ago
Micah Snyder 1b42ef1180 clamonacc: Don't watch clamd TemporaryDirectory 4 years ago
Micah Snyder 2b82346559 clamonacc: Fix crash when deleting directories 4 years ago
Micah Snyder (micasnyd) 9e20cdf6ea Add CMake build tooling 5 years ago
Micah Snyder e2f59af30a Clang-format touchup 5 years ago
Mickey Sola 88ede3063f onas - fix warnings and remove unused variable 5 years ago
Micah Snyder 206dbaefe8 Update copyright dates for 2020 5 years ago
Micah Snyder bcb4505e60 bb12370 - cli_strndup and other str* replacements must be built and exported for every OS to be used outside of libclamav on systems that don't have the original functions (e.g. strndup). This commit renames the macros to be uppercase, renames the replacement functions to be preceeded with two understores (e.g. __cli_strndup), and removes the ifdef's so that they are built regardless, because there are no ifdefs in libclamav.map. 6 years ago
Mickey Sola 4fee702fc3 clamonacc - conform to clang-format 6 years ago
Mickey Sola 72c10bd1a5 clamonacc - fix distcheck, patch by Micah 6 years ago
Mickey Sola 4c1f152257 clamonacc - improve inline and function level documentation 6 years ago
Mickey Sola 78b1b1b4c6 clamonacc - rename/cleanup filenames, variables, and some logging to be more unified and explicit 6 years ago
Mickey Sola ec4e5fe246 clamonacc - fix small leak when handling intoify events; fix some whitespace stuff 6 years ago
Mickey Sola 81013ebc9e clamonacc - fix exclude-list command line option; fix typo in help output 6 years ago
Mickey Sola 7aa7646741 clamonacc - cleanup event loop exiting; use pthread cancel push and pop macros for exiting to avoid signal collision issues with thread pool; whitespace 6 years ago
Mickey Sola 7bc021ffa6 clamonacc - cleanup whitespace; normalize local includes for clamonacc; ensure FANOTIFY wrappings are done properly 6 years ago
Mickey Sola 52dc3149e2 clamonacc - add pthread conditional wait to event consumer queue; add uname exclusion; add error handling for selinux permission denied case when reading fanotify kernel event queue; remove deprecated clamuko references; update clamd.conf.sample; remove unsused options in help output; add daemonization/foreground command-line option; add retry and deny on error functionality 6 years ago
Mickey Sola 7d83fa292d clamonacc - fix fd leak when excluding file after self-check; cleanup signal handling and application exiting; fixup path for using unix fd passing with curl; normalize some log output; add suppression of noisy error cases when clamd lacks sufficient permissions to stat certain files" 6 years ago
Mickey Sola 7ad7211e1a clamonacc - cleanup; add additional logging; fix issue where consumer queue would fall behind and burn through allowed open fds; update copyrights; cleanup error handling; re-enable extra scanning 6 years ago
Mickey Sola 132dd49bf9 clamonacc - add maxthreads config option; fix issue where mutex wasn't being unlocked on empty case; fix issue where pathname wasn't being passed in; added some noisy logging 6 years ago
Mickey Sola 3e5b1b8bbf clamonacc - add curl support 6 years ago
Mickey Sola 3733a8795e clamonacc - move and configure fts fix 6 years ago
Mickey Sola cf281f52df clamonacc - improve protocol error visibility; remove unneeded cruft in proto; consolidate use of globals; set fan_mask appropriately in context during fanotify setup; improve/fixup logging; rework proto for readability/maintability 6 years ago
Mickey Sola 497b72eae8 clamonacc - cleanup/improve logging; pare down uneeded proto functions; add initialfunctionality for watch and exclude list command line options; use reentrant safe onas_scan function 6 years ago
Mickey Sola 20b9d67932 clamonacc - add more logging; handle errors better; use clamdopts where appropriate; fix event loop scan failures introduced with clam-client integration 6 years ago
Mickey Sola 7534d83ee0 clamonacc - make symbol passing via c/cpp flags explicit; fix include pathing for libclamav include headers; autojunk'd 6 years ago
Mickey Sola 953a43f33f clamonacc - fill out client scan hooks; proliferate onas context struct; refactor client, inotif, and fanotif code flow; delete unneeded functons; various other fixups 6 years ago
Mickey Sola b4a29cc7ff clamonacc - reorganize/restructure onaccess layout into component pieces for easier maintenance, future design reworks, and general conceptualization of code flow 6 years ago