Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest non-gki kernel users to backport path_umount #1464

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

backslashxx
Copy link
Contributor

@backslashxx backslashxx commented Mar 17, 2024

Most kernel builders have to touch their kernel source code anyway, why not also tell them to backport path_umount so even non-gki users can benefit from this?

I know this might be a bit controversial as this will raise the barrier of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908
#955 (comment)
OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887 #1464 (comment)

Kernel side change examples
5.4 natsumerinchan/kernel_oneplus_sm8350@961d978
4.19 backslashxx/android_karnol_ximi_fog@164917f
4.14 crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9 backslashxx/msm8953-kernel@195f075
4.4 https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a #1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

PROS: umount modules for everyone
CONS: barrier of entry +1

@Asyanx
Copy link

Asyanx commented Mar 17, 2024

+1 work

@xennin
Copy link

xennin commented Mar 17, 2024

pro

@Fede2782
Copy link
Contributor

Fede2782 commented Mar 17, 2024

+1. It could really uniform things up. I can confirm works on my 4.9 and 4.14. Maybe could be implemented directly in KernelSU source, without requiring to manually add to source

@alternoegraha
Copy link

+1

@losshye
Copy link

losshye commented Mar 17, 2024

+1 work on my kramel 😋

@privacyguy123
Copy link

+1

@Fede2782
Copy link
Contributor

@backslashxx I don't know if there is a way to do this but the best way would be to dynamically enable/disable modules umount feature if there is the path_umount code in fs/namespace.c, because very likely @tiann will close this issue as he did with the other one

@backslashxx
Copy link
Contributor Author

@backslashxx I don't know if there is a way to do this but the best way would be to dynamically enable/disable modules umount feature if there is the path_umount code in fs/namespace.c, because very likely @tiann will close this issue as he did with the other one

is there a way to test a function if it exists before linking? if so then thats a plausible way to do it.

@FerryAr
Copy link

FerryAr commented Mar 17, 2024

+1, it was already tested, and it works! So, why not?

@Fede2782
Copy link
Contributor

Fede2782 commented Mar 17, 2024

@backslashxx I don't know if there is a way to do this but the best way would be to dynamically enable/disable modules umount feature if there is the path_umount code in fs/namespace.c, because very likely @tiann will close this issue as he did with the other one

is there a way to test a function if it exists before linking? if so then thats a plausible way to do it.

I would say to make that little part of code separated and it could be built or not by a Makefile statement if it locates the code in fs/namespace.c. I will try to implement this if i have time in these days if it is possible

@backslashxx
Copy link
Contributor Author

backslashxx commented Mar 17, 2024

I would say to make that little part of code separated and it could be built or not by a Makefile statement if it locates the code in fs/namespace.c. I will try to implement this if i have time in these days if it is possible

Good idea.
check latest change
I continue with #error warning and still forcing builder to do it, or of course, do nothing?? b-b-b-but I want everyone to do it bruv

testing with gcc
image

@backslashxx
Copy link
Contributor Author

backslashxx commented Mar 17, 2024

Yes i think it could work, good job. I'll try to build later and see if works. In any case you should not force this change i think. Let the devs choose

so something like this?
#warning instead of #error

and ofcourse, I have to edit PR topic/title if that's what they want

@backslashxx backslashxx force-pushed the pr-umount-2 branch 2 times, most recently from b9f98c2 to a973393 Compare March 17, 2024 12:47
@backslashxx
Copy link
Contributor Author

backslashxx commented Mar 17, 2024

I'm still all for forcing it to atleast have feature parity across GKI and non-GKI.
but yeah, It'll depend on them at this point I guess.

Copy link
Contributor

@Fede2782 Fede2782 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really good idea

website/docs/guide/how-to-integrate-for-non-gki.md Outdated Show resolved Hide resolved
kernel/core_hook.c Outdated Show resolved Hide resolved
website/docs/guide/how-to-integrate-for-non-gki.md Outdated Show resolved Hide resolved
kernel/core_hook.c Outdated Show resolved Hide resolved
@backslashxx
Copy link
Contributor Author

backslashxx commented Mar 17, 2024

ready to squash I guess. I'll squash after another approving review

Not so attention grabbing

gcc-14
image
clang-19-git
image

diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Aug 26, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sdm845 that referenced this pull request Sep 5, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sdm845 that referenced this pull request Sep 5, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 6, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 6, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 6, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 7, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 7, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sdm845 that referenced this pull request Sep 9, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sdm845 that referenced this pull request Sep 9, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
asterixiverz pushed a commit to asterixiverz/kernel_xiaomi_fog-msm4.19 that referenced this pull request Sep 9, 2024
and inline can_umount. shit is likely very hot when on KernelSU

this is the better backport as the comment says:
"caller is responsible for flags being sane"
so that removes the check, and KernelSU already does its check.

tiann/KernelSU#1464
Signed-off-by: Iverz <[email protected]>
asterixiverz pushed a commit to asterixiverz/kernel_xiaomi_fog-msm4.19 that referenced this pull request Sep 9, 2024
and inline can_umount. shit is likely very hot when on KernelSU

this is the better backport as the comment says:
"caller is responsible for flags being sane"
so that removes the check, and KernelSU already does its check.

tiann/KernelSU#1464
Signed-off-by: Iverz <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sdm845 that referenced this pull request Sep 11, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 12, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 17, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 17, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 17, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
mgs28-mh pushed a commit to mgs28-mh/kernel_xiaomi_fog-4.19 that referenced this pull request Sep 22, 2024
and inline can_umount. shit is likely very hot when on KernelSU

this is the better backport as the comment says:
"caller is responsible for flags being sane"
so that removes the check, and KernelSU already does its check.

tiann/KernelSU#1464
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 22, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 22, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 22, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Sep 22, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Oct 2, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Oct 15, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sm8250 that referenced this pull request Oct 16, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
diphons pushed a commit to diphons/kernel_xiaomi_sdm845 that referenced this pull request Oct 18, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
alternoegraha pushed a commit to alternoegraha/fog_kernel_xiaomi_sm6225 that referenced this pull request Oct 24, 2024
and inline can_umount. shit is likely very hot when on KernelSU

this is the better backport as the comment says:
"caller is responsible for flags being sane"
so that removes the check, and KernelSU already does its check.

tiann/KernelSU#1464
diphons pushed a commit to diphons/kernel_xiaomi_sdm845 that referenced this pull request Oct 24, 2024
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

tiann/KernelSU#955 (comment)

OnlyTomInSecond/android_kernel_xiaomi_sdm845@03d233d
tiann/KernelSU#1060

https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
tiann/KernelSU#1464 (comment)

Kernel side change examples
5.4
natsumerinchan/kernel_oneplus_sm8350@961d978
4.19
backslashxx/android_karnol_ximi_fog@164917f
4.14
crdroidandroid/android_kernel_xiaomi_sm6150@c07c70a
4.9
backslashxx/msm8953-kernel@195f075
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
tiann/KernelSU#1464 (comment)
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <[email protected]>
Co-authored-by: Fede2782 <[email protected]>
Co-authored-by: Tom <[email protected]>
alternoegraha pushed a commit to alternoegraha/wwy_kernel_xiaomi_fog_rebase that referenced this pull request Oct 27, 2024
and inline can_umount. shit is likely very hot when on KernelSU

this is the better backport as the comment says:
"caller is responsible for flags being sane"
so that removes the check, and KernelSU already does its check.

tiann/KernelSU#1464
alternoegraha pushed a commit to alternoegraha/fog_kernel_xiaomi_sm6225 that referenced this pull request Oct 28, 2024
and inline can_umount. shit is likely very hot when on KernelSU

this is the better backport as the comment says:
"caller is responsible for flags being sane"
so that removes the check, and KernelSU already does its check.

tiann/KernelSU#1464
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.