diff options
| author | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-05-20 11:18:56 +0300 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2026-05-27 19:42:40 -0400 |
| commit | 54067bacb49caeada82b20b6bd706dca0cb99ffc (patch) | |
| tree | e6b7b56c2fb28701c403e725a9b74b4f71543f1b /include/linux | |
| parent | bc3f08d1ef15ebbd32faf0b10cd9699b90b9d30c (diff) | |
selinux: hooks: use __getname() to allocate path buffer
selinux_genfs_get_sid() allocates memory for a path with __get_free_page()
although there is a dedicated helper for allocation of file paths:
__getname().
Replace __get_free_page() for allocation of a path buffer with __getname().
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
