Skip to content

compat: standardize log prefixes to KernelSU: <subsystem>: form - #8

Open
bygalacos wants to merge 1 commit into
diabl0w:mainfrom
bygalacos:logging-fix
Open

bygalacos wants to merge 1 commit into
diabl0w:mainfrom
bygalacos:logging-fix

Conversation

@bygalacos

Copy link
Copy Markdown

The Samsung compat layer mixes three log-prefix styles: rkp.c uses "ksu:", kdp.c and defex.c use "KSU:" (which doubles to the redundant "KernelSU: KSU:" after klog.h's pr_fmt), and the detection lines carry no tag at all. The rest of the tree consistently uses a lowercase per-subsystem tag (lsm_hook:, selinux_hide:, sepol:, feature:, preinit:, hook_manager:, ...).

Normalize the compat layer to match: rkp.c -> "rkp:", kdp.c -> "kdp:", defex.c -> "defex:". Log strings only; no functional change.

The Samsung compat layer mixes three log-prefix styles: rkp.c uses
"ksu:", kdp.c and defex.c use "KSU:" (which doubles to the redundant
"KernelSU: KSU:" after klog.h's pr_fmt), and the detection lines carry
no tag at all. The rest of the tree consistently uses a lowercase
per-subsystem tag (lsm_hook:, selinux_hide:, sepol:, feature:,
preinit:, hook_manager:, ...).

Normalize the compat layer to match: rkp.c -> "rkp:", kdp.c -> "kdp:",
defex.c -> "defex:". Log strings only; no functional change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant