Skip to content

Commit

Permalink
chore(driver): add comment about flag definition
Browse files Browse the repository at this point in the history
Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
  • Loading branch information
mrgian authored and poiana committed Jan 23, 2024
1 parent 86bc16d commit 645315e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver/ppm_flag_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 645315e

Please sign in to comment.