apw | fling, the focal:linux kernel is a 5.4 kernel and has shiftfs applied; they are fairly discrete iirc so you should be able to find them there | 09:12 |
---|---|---|
fling | apw: how to figure out which commits do I need? | 09:39 |
fling | apw: if I extract only patches affecting shiftfs.c then I can successfully apply them on kernels up to 5.4.48 | 09:40 |
fling | apw: but it produces warning with 5.4.49+ | 09:40 |
fling | apw: is not there a branch or something with all the needed commits? | 09:50 |
apw | fling, i don't track it that closely, sorry | 11:21 |
fling | apw: who should I ask about this? | 11:25 |
apw | fling, sforshee _may_ have more information | 11:26 |
fling | sforshee: Hello. | 11:57 |
sforshee | fling: there is no separate tree for shiftfs, just the commits to shiftfs.c should be enough. There are a also a handful of commits to overlayfs to support mounting over shiftfs, I think that's all of it | 12:06 |
fling | sforshee: should I somehow filter out overlayfs commits too? | 12:07 |
sforshee | fling: you don't need the overlayfs commits unless you want that functionality, but you also likely need to include the patches for mounting overlayfs in user namespaces | 12:08 |
fling | so how do I distinguish these commits? | 12:09 |
fling | if I use commits affecting shiftfs.c on 5.4.49 or later it produces a warning | 12:09 |
sforshee | what warning? | 12:10 |
sforshee | 1 | 12:11 |
fling | * Applying 5401-UBUNTU-SAUCE-shiftfs-uid-gid-shifting-bind-mount.patch ... | 12:20 |
fling | Hunk #1 succeeded at 96 with fuzz 1 (offset 1 line). | 12:20 |
sforshee | fling: almost certainly just some contest difference in kconfig or makefile, just check that the result looks the same as in the patch and everything should be fine | 12:24 |
sforshee | *context difference | 12:25 |
fling | sforshee: shiftfs.c you mean? | 13:13 |
fling | thanks! | 13:14 |
fling | sforshee: also how do I figure out which overlayfs commits are not from upstream? | 13:15 |
sforshee | fling: any non-upstream patches should start with "UBUNTU: SAUCE:" | 13:53 |
fling | oh | 14:16 |
=== JanC is now known as Guest49463 | ||
=== JanC_ is now known as JanC |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!