From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH] Kernel: Block non-UID-0 profiling completely Date: Thu, 10 Feb 2022 17:30:49 +0000 Message-ID: <49da8bea-2eef-0dc4-bddc-3d381ab643e2@ipfire.org> In-Reply-To: <92d62aa477bab6a92ac1b191b6a68947@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8258341384140411120==" List-Id: --===============8258341384140411120== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Arne, hello Michael, thanks for your replies. Convinced there is no way around rebasing the kernel patch, I will do so and = submit a second version within the next few days. :-) All the best, Peter M=C3=BCller > Such .orig files are created by patch if a hunk not apply without fuzzing. > rebase the patch to the current kernel source should help. >=20 > Arne >=20 > Am 2022-02-04 17:56, schrieb Michael Tremer: >> Hello, >> >>> On 4 Feb 2022, at 13:45, Peter M=C3=BCller w= rote: >>> >>> Hello Michael, >>> >>> [...] >>> >>>>>> #lib/modules/KVER-ipfire/build/include/linux/perf_event.h >>>>>> +#lib/modules/KVER-ipfire/build/include/linux/perf_event.h.orig >>>>> >>>>> We should not install any files like this. >>>> >>>> Hm. I wonder where it came from. Perhaps I forgot a "./make.sh clean" af= ter the first attempt. >>>> >>>> Will check and report back. >>> >>> after running a clean build, this file stays present. It's attached to th= is mail. >>> >>> It is odd to see this happening, as the additional "patch" command introd= uced by this >>> patch does not differ from those already present in the kernel's LFS file= , except for >>> the patch file itself. >> >> If the patch doesn=E2=80=99t match exactly, patch will create backup files= so >> that you can fix anything manually if things broke. >> >> What you can do is either to rediff the patch that it applies cleanly, >> or you can use this option: >> >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 --no-backup-if-mismatch >> >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Do not back up a fi= le if the patch does not match the file >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 exactly and if back= ups are not otherwise requested.=C2=A0 This is >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 the default if patc= h=C2=A0 is conforming to POSIX. >> >> This should however be the default. >> >> -Michael >> >>> >>> Can you give me any hint on where to look next? >>> >>> Thanks, and best regards, >>> Peter M=C3=BCller >=20 >=20 >=20 >=20 >=20 --===============8258341384140411120==--