diff options
| author | Paul Moore <paul@paul-moore.com> | 2026-05-29 11:24:37 -0400 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2026-05-29 11:24:37 -0400 |
| commit | 033182baeab63ce96a6eb8aef1a6cd444fcf9519 (patch) | |
| tree | beaafe31367f6d973e93b9a68e01cfd062e8cb70 /include/linux | |
| parent | 447e04178b776c82dad431f8af26086b5ce9a391 (diff) | |
selinux: revert use of __getname() in selinux_genfs_get_sid()
Revert commit 54067bacb49c ("selinux: hooks: use __getname() to allocate
path buffer") as it improperly assumed that PATH_MAX == PAGE_SIZE
everywhere. Moving away from __get_free_page() is still a good thing and
will be revisited in the future.
Cc: Mike Rapoport (Microsoft) <rppt@kernel.org>
Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
