Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Const correctness + Driver version update #1305

Merged
merged 2 commits into from
Jul 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmake/modules/sysdig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ file(MAKE_DIRECTORY ${SYSDIG_CMAKE_WORKING_DIR})
# To update sysdig version for the next release, change the default below
# In case you want to test against another sysdig version just pass the variable - ie., `cmake -DSYSDIG_VERSION=dev ..`
if(NOT SYSDIG_VERSION)
set(SYSDIG_VERSION "33c00f0063d3bc3f35082f2b99d5418180841efe")
set(SYSDIG_CHECKSUM "SHA256=3a5c84c0466a5db9da069511661133ac03986230f765d63f91763e9f7144951d")
set(SYSDIG_VERSION "85c88952b018fdbce2464222c3303229f5bfcfad")
set(SYSDIG_CHECKSUM "SHA256=6c3f5f2d699c9540e281f50cbc5cb6b580f0fc689798bc65d4a77f57f932a71c")
endif()
set(PROBE_VERSION "${SYSDIG_VERSION}")

Expand Down
2 changes: 1 addition & 1 deletion userspace/engine/json_evt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const json &json_event::jevt()
return m_jevt;
}

uint64_t json_event::get_ts()
uint64_t json_event::get_ts() const
{
return m_event_ts;
}
Expand Down
6 changes: 3 additions & 3 deletions userspace/engine/json_evt.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ class json_event : public gen_event
void set_jevt(nlohmann::json &evt, uint64_t ts);
const nlohmann::json &jevt();

uint64_t get_ts();
uint64_t get_ts() const;

inline uint16_t get_source()
inline uint16_t get_source() const
{
return ESRC_K8S_AUDIT;
}

inline uint16_t get_type()
inline uint16_t get_type() const
{
// All k8s audit events have the single tag "1". - see falco_engine::process_k8s_audit_event
return 1;
Expand Down