mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
clang-format
This commit is contained in:
parent
e69007d81a
commit
cc9aa5d73b
@ -15,15 +15,17 @@ int kINotifyULatency = 200;
|
||||
static const uint32_t BUFFER_SIZE =
|
||||
(10 * ((sizeof(struct inotify_event)) + NAME_MAX + 1));
|
||||
|
||||
std::map<int, std::string> kMaskActions = {{IN_ACCESS, "ACCESSED"},
|
||||
{IN_ATTRIB, "ATTRIBUTES_MODIFIED"},
|
||||
{IN_CLOSE_WRITE, "UPDATED"},
|
||||
{IN_CREATE, "CREATED"},
|
||||
{IN_DELETE, "DELETED"},
|
||||
{IN_MODIFY, "UPDATED"},
|
||||
{IN_MOVED_FROM, "MOVED_FROM"},
|
||||
{IN_MOVED_TO, "MOVED_TO"},
|
||||
{IN_OPEN, "OPENED"}, };
|
||||
std::map<int, std::string> kMaskActions = {
|
||||
{IN_ACCESS, "ACCESSED"},
|
||||
{IN_ATTRIB, "ATTRIBUTES_MODIFIED"},
|
||||
{IN_CLOSE_WRITE, "UPDATED"},
|
||||
{IN_CREATE, "CREATED"},
|
||||
{IN_DELETE, "DELETED"},
|
||||
{IN_MODIFY, "UPDATED"},
|
||||
{IN_MOVED_FROM, "MOVED_FROM"},
|
||||
{IN_MOVED_TO, "MOVED_TO"},
|
||||
{IN_OPEN, "OPENED"},
|
||||
};
|
||||
|
||||
void INotifyEventType::setUp() {
|
||||
inotify_handle_ = ::inotify_init();
|
||||
|
Loading…
Reference in New Issue
Block a user