Unverified Commit dc58130b authored by Song Liu's avatar Song Liu Committed by Mickaël Salaün
Browse files

selftests/landlock: Fix build of audit_test



We are hitting build error on CentOS 9:

audit_test.c:232:40: error: ‘O_CLOEXEC’ undeclared (...)

Fix this by including fcntl.h.

Signed-off-by: default avatarSong Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20250605214416.1885878-1-song@kernel.org


Fixes: 6b456640 ("selftests/landlock: Add PID tests for audit records")
Signed-off-by: default avatarMickaël Salaün <mic@digikod.net>
parent 94a7ce26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment