[PATCH 2/3] selftests/landlock: Print a warning about directory permissions

Tingmao Wang m at maowtm.org
Sat May 24 18:14:08 UTC 2025


On 5/24/25 18:56, Tingmao Wang wrote:
> [...]
> +		TH_LOG("Hint: fs_tests requires permissions for uid %u on test directory %s and files under it (even when running as root).",
> [...]
> +		if (strcmp(path, TMP_DIR) == 0) {
> +			maybe_warn_about_permission_on_cwd(_metadata, err);
> +		}
I immediately realized that I forgot to run checkpatch.pl after sending 
the patch - fixed in my own branch [1] and the next version will have 
the fix for these style problems.

[1]: https://github.com/micromaomao/linux-dev/pull/7



More information about the Linux-security-module-archive mailing list