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 https://github.com/backslashxx/android_karnol_ximi_fog/commit/164917f56d0e75ab51bb9f1bdf489acac7a6d3db
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

@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

backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 20, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 20, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
diphons pushed a commit to diphons/kernel_xiaomi_sm8350 that referenced this pull request Feb 22, 2025
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
https://github.com/backslashxx/android_karnol_ximi_fog/commit/164917f56d0e75ab51bb9f1bdf489acac7a6d3db
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 <hch@lst.de>
Co-authored-by: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Co-authored-by: Tom <31297720+onlytominsecond@users.noreply.github.com>
diphons pushed a commit to diphons/kernel_xiaomi_sm8350 that referenced this pull request Feb 22, 2025
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
https://github.com/backslashxx/android_karnol_ximi_fog/commit/164917f56d0e75ab51bb9f1bdf489acac7a6d3db
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 <hch@lst.de>
Co-authored-by: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Co-authored-by: Tom <31297720+onlytominsecond@users.noreply.github.com>
diphons pushed a commit to diphons/kernel_xiaomi_sm8350 that referenced this pull request Feb 22, 2025
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
https://github.com/backslashxx/android_karnol_ximi_fog/commit/164917f56d0e75ab51bb9f1bdf489acac7a6d3db
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 <hch@lst.de>
Co-authored-by: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Co-authored-by: Tom <31297720+onlytominsecond@users.noreply.github.com>
diphons pushed a commit to diphons/kernel_xiaomi_sm8350 that referenced this pull request Feb 22, 2025
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
https://github.com/backslashxx/android_karnol_ximi_fog/commit/164917f56d0e75ab51bb9f1bdf489acac7a6d3db
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 <hch@lst.de>
Co-authored-by: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Co-authored-by: Tom <31297720+onlytominsecond@users.noreply.github.com>
diphons pushed a commit to diphons/kernel_xiaomi_sm8350 that referenced this pull request Feb 22, 2025
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
https://github.com/backslashxx/android_karnol_ximi_fog/commit/164917f56d0e75ab51bb9f1bdf489acac7a6d3db
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 <hch@lst.de>
Co-authored-by: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Co-authored-by: Tom <31297720+onlytominsecond@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 22, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 22, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 22, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 22, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 22, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 22, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 22, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 23, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 23, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 24, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 24, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 24, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 25, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 25, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 25, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 25, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 25, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 25, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 27, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Mar 1, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Mar 3, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Mar 3, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Mar 4, 2025
NON-GKI kernel builders have to touch their kernel source code anyway so we
might as well tell them to backport things to achieve some sort of feature
parity.

Another thing is that on NON-GKI, we mostly do NOT care about ABI stability.

Required:
 - path_umount:
	context: tiann#1464 (comment)
	apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@2d51422
 - get_cred_rcu:
	context: tiann#2320 (comment)
	apply: torvalds/linux@97d0fb2
	if above conflicts, try: xiaomi-sdm678/android_kernel_xiaomi_mojito@3fbad8b

Optional:
 - kernel_read / kernel_write
 	< 4.14, backport chain, tested on 4.9
 	torvalds/linux@e13ec93
	torvalds/linux@bdd1d2d
	torvalds/linux@c41fbad
	torvalds/linux@ac452ac

 - strncpy_from_user_nofault
 	for 5.4, apply: torvalds/linux@bd88bb5
 	for 4.x, apply: xiaomi-sdm678/android_kernel_xiaomi_mojito@424e21f
 	for any failures, just SKIP THIS or check dependency chain of, gregkh/linux@3d70818
 		this got backported to v4.4.236, v4.9.236, v4.14.197, v4.19.144

- hint, `curl $url.patch | git am`

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
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.