Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Tad Glines 066448c1c4 Fix IO:DiscardAll bug and cgroup limits
- Fixed bug in IO::DiscardAll that could lead to buffer overrun
- Added unit test
- Fixed PriorityQueue::Put to enforce item size limit
- Modified auoms.service to include CPU limits
- Modified so that auoms/auomscollect will continue to monitor
  and re-apply cgroup membership
- Cleaned up some return value handling
2020-11-16 16:42:26 -08:00
Tad Glines 493865ce56 Fix unit tests 2020-04-08 13:53:54 -07:00
Tad Glines 68ad23c06d
Add metrics collection and other changes (#36)
- Added collection of syscall metrics
- Added collection of auoms process CPU and MEM consumtion metrics
- Added system CPU and MEM metrics
- Added collection of event metrics
- Changed event accumulator so it uses steady clock for tracking event
  age instead of event id. Added more efficient LRU list.
- Changed so PATH records values are accumulated in a fixed set of
  fields where each field value is a JSON array of values ordered
  by PATH record order.
- Changed SYSCALL event type from AUOMS_EXECVE to AUOMS_SYSCALL
- Changed to include proctitle in non-execve syscall events.
- Fixed "-S all" and "-S <number>" rule handling.
- Fix std::function arg passing, make move semantics explicit.
- Move event filter logic into seperate class.
- Fix code so unit tests pass.
- Fix json encoding of escaped values.
- Remove exit(1) from ProcessNotify.
- Fix ProcessNotify/ProcessTree Stop().
- Fix parsing of INTEGRITY_POLICY_RULE records.
- Fix thread stack leak.
2019-11-21 14:55:06 -08:00