Files
SukiSU-Ultra/kernel
ShirkNeko 04a1b82564 kernel: core_hook: intercept devpts via security_inode_permission LSM
`ksu handles devpts with selinux lsm hook` - aviraxp

- no, not yet, but yes we can, thats a good idea.

This change tries to do that, so instead of hooking pts_unix98_lookup or
devpts_get_priv, we just watch security_inode_permission, if its devpts,
pass it along to the original handler.

EDIT: define devpts super magic if its undefined
- yeah I aint gonna include a conditional include of a header just for this
- while we can just fully remove the macro and inline, readability loss is bad

Co-authored-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
2025-09-22 23:58:03 +08:00
..
2025-08-27 15:20:08 +08:00
2025-03-17 02:48:59 +08:00
2025-03-17 02:48:59 +08:00
2025-03-17 02:48:59 +08:00
2025-07-05 15:59:58 +08:00
2025-03-17 02:48:59 +08:00
2025-03-17 02:48:59 +08:00
2025-03-17 02:48:59 +08:00
2025-03-17 02:48:59 +08:00