From 645315e76491f12447cacb68e71848bd9dd13e56 Mon Sep 17 00:00:00 2001 From: Gianmatteo Palmieri Date: Tue, 23 Jan 2024 11:58:21 +0000 Subject: [PATCH] chore(driver): add comment about flag definition Signed-off-by: Gianmatteo Palmieri --- driver/ppm_flag_helpers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/driver/ppm_flag_helpers.h b/driver/ppm_flag_helpers.h index e261bfc15a..acc3282268 100644 --- a/driver/ppm_flag_helpers.h +++ b/driver/ppm_flag_helpers.h @@ -1785,6 +1785,7 @@ static __always_inline uint32_t newfstatat_flags_to_scap(int32_t flags) { uint32_t res = 0; + /* AT_SYMLINK_NOFOLLOW was introduced in kernel 2.6.16, we don't need to check if it's defined */ if (flags & AT_SYMLINK_NOFOLLOW) res |= PPM_AT_SYMLINK_NOFOLLOW;