]> git.ipfire.org Git - thirdparty/linux.git/commit
landlock: Improve the comment for domain_is_scoped
authorTingmao Wang <m@maowtm.org>
Sun, 28 Dec 2025 01:27:35 +0000 (01:27 +0000)
committerMickaël Salaün <mic@digikod.net>
Mon, 29 Dec 2025 15:19:39 +0000 (16:19 +0100)
commitef4536f15224418b327a7b5d5cae07dab042760f
tree202833ddd1d5052c923967837c5dd02f016e955a
parent55dc93a7c2717311d48ca0a47c5f8c1b0755a115
landlock: Improve the comment for domain_is_scoped

Currently it is not obvious what "scoped" mean, and the fact that the
function returns true when access should be denied is slightly surprising
and in need of documentation.

Cc: Tahera Fahimi <fahimitahera@gmail.com>
Signed-off-by: Tingmao Wang <m@maowtm.org>
Link: https://lore.kernel.org/r/06393bc18aee5bc278df5ef31c64a05b742ebc10.1766885035.git.m@maowtm.org
[mic: Fix formatting and improve consistency]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
security/landlock/task.c