Skip to content

Switch to prepare_creds/commit_creds#2631

Merged
aviraxp merged 1 commit into
mainfrom
cred
Jun 12, 2025
Merged

Switch to prepare_creds/commit_creds#2631
aviraxp merged 1 commit into
mainfrom
cred

Conversation

@aviraxp

@aviraxp aviraxp commented Jun 10, 2025

Copy link
Copy Markdown
Collaborator

Update API as per kernel doc recommends, also fix setup_groups refcount leak while at it.

Update API as per kernel doc recommends, also fix setup_groups refcount
leak while at it.
Comment thread kernel/core_hook.c
rsuntk pushed a commit to rsuntk/KernelSU that referenced this pull request Jun 10, 2025
- Picked from tiann#2631
- Minor changes: NULL the creds after commiting.

Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
rsuntk pushed a commit to rsuntk/KernelSU that referenced this pull request Jun 10, 2025
- Picked from tiann#2631
- Minor changes: NULL-ing creds after committing

Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
luyanci pushed a commit to luyanci/KernelSU that referenced this pull request Jun 10, 2025
- Picked from tiann#2631
- Minor changes: NULL-ing creds after committing

Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
ShirkNeko pushed a commit to SukiSU-Ultra/SukiSU-Ultra that referenced this pull request Jun 11, 2025
- Picked from tiann/KernelSU#2631
- Minor changes: NULL-ing creds after committing

Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
ShirkNeko pushed a commit to SukiSU-Ultra/SukiSU-Ultra that referenced this pull request Jun 11, 2025
- Picked from tiann/KernelSU#2631
- Minor changes: NULL-ing creds after committing

Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
ShirkNeko pushed a commit to SukiSU-Ultra/SukiSU-Ultra that referenced this pull request Jun 11, 2025
- Picked from tiann/KernelSU#2631
- Minor changes: NULL-ing creds after committing

Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
ShirkNeko pushed a commit to SukiSU-Ultra/SukiSU-Ultra that referenced this pull request Jun 11, 2025
- Picked from tiann/KernelSU#2631
- Minor changes: NULL-ing creds after committing

Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
luyanci pushed a commit to luyanci/SukiSU-Ultra that referenced this pull request Jun 11, 2025
- Picked from tiann/KernelSU#2631
- Minor changes: NULL-ing creds after committing

Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
@aviraxp aviraxp enabled auto-merge (squash) June 12, 2025 06:26
@aviraxp aviraxp merged commit 5bbac4e into main Jun 12, 2025
20 checks passed
@aviraxp aviraxp deleted the cred branch June 12, 2025 06:26
ShirkNeko pushed a commit to SukiSU-Ultra/SukiSU-Ultra that referenced this pull request Jun 12, 2025
- Picked from tiann/KernelSU#2631
- Minor changes: NULL-ing creds after committing

Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
fadlyas07 added a commit to bengal-upstream/KernelSU that referenced this pull request Jul 10, 2025
* 'main' of https://github.com/tiann/KernelSU:
  kernel: selinux: rules: Fix illegal RCU lock usage in apply_kernelsu_rules() (tiann#2646)
  manger: fix lkm detection (tiann#2654)
  Update FUNDING.yml
  kernel: core_hook: fix refcount leaks on try_umount (tiann#2635)
  build(deps): bump the maven group across 1 directory with 7 updates (tiann#2629)
  Translations update from Hosted Weblate (tiann#2587)
  kernel: throne_tracker: avoid cross-fs traversal using s_magic check (tiann#2633)
  Switch to prepare_creds/commit_creds (tiann#2631)
  throne_tracker: avoid cross fs access (tiann#2626)
  build(deps): bump the maven group across 1 directory with 4 updates (tiann#2612)

 Conflicts:
	kernel/selinux/rules.c
	kernel/throne_tracker.c

Change-Id: If58573ef63cb613e76d6054c898c7748143ff8b9
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.

4 participants