Skip to content

Commit

Permalink
remove defunct client id
Browse files Browse the repository at this point in the history
  • Loading branch information
kallsyms committed Feb 5, 2024
1 parent becde48 commit b40b712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Source/santad/ProcessTree/EndpointSecurityAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace santa::santad::process_tree {
// Inform the tree of the ES event in msg.
// This is idempotent on the tree, so can be called from multiple places with
// the same msg.
void InformFromESEvent(int client, ProcessTree &tree, const es_message_t *msg);
void InformFromESEvent(ProcessTree &tree, const es_message_t *msg);

} // namespace santa::santad::process_tree

Expand Down
6 changes: 1 addition & 5 deletions Source/santad/ProcessTree/EndpointSecurityAdapter.mm
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@

namespace santa::santad::process_tree {

void InformFromESEvent(int client, ProcessTree &tree, const es_message_t *msg) {
if (!tree.Step(client, msg->mach_time)) {
return;
};

void InformFromESEvent(ProcessTree &tree, const es_message_t *msg) {
struct pid event_pid = PidFromAuditToken(msg->process->audit_token);
auto proc = tree.Get(event_pid);

Expand Down

0 comments on commit b40b712

Please sign in to comment.