]> www.infradead.org Git - linux.git/commit
selftests/landlock: Clean up error logs related to capabilities
authorMickaël Salaün <mic@digikod.net>
Thu, 25 Jan 2024 15:32:30 +0000 (16:32 +0100)
committerMickaël Salaün <mic@digikod.net>
Tue, 27 Feb 2024 10:21:35 +0000 (11:21 +0100)
commita3f16298b38bcb17a0a01cc2f84dba46b59a860a
tree4d4d7758cb17a2857fb34f05c24e046204e16b77
parentd9818b3e906a0ee1ab02ea79e74a2f755fc5461a
selftests/landlock: Clean up error logs related to capabilities

It doesn't help to call TH_LOG() for every cap_*() error. Let's only
log errors returned by the kernel, not by libcap specificities.

Link: https://lore.kernel.org/r/20240125153230.3817165-3-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
tools/testing/selftests/landlock/common.h