Re: [RFC PATCH -tip 0/5] kprobes: Abolish jprobe APIs
From: Kees Cook
Date: Fri Oct 20 2017 - 09:33:05 EST
On Fri, Oct 20, 2017 at 5:22 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
> Ok, could we now also fix these:
>
> net/dccp/probe.c:166:2: warning: âregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> net/dccp/probe.c:170:4: warning: âregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> net/dccp/probe.c:190:2: warning: âunregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> drivers/misc/lkdtm_core.c:317:3: warning: âunregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> drivers/misc/lkdtm_core.c:322:2: warning: âregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> drivers/misc/lkdtm_core.c:560:3: warning: âunregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> net/sctp/probe.c:189:2: warning: âregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> net/sctp/probe.c:194:3: warning: âregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> net/sctp/probe.c:240:2: warning: âunregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> net/ipv4/tcp_probe.c:280:2: warning: âregister_jprobeâ is deprecated [-Wdeprecated-declarations]
> net/ipv4/tcp_probe.c:298:2: warning: âunregister_jprobeâ is deprecated [-Wdeprecated-declarations]
>
> I'd suggest removing the networking ones and Cc:-ing it to the networking folks -
> I strongly doubt anyone is using that functionality for real.
>
> The LKDTM one Kees had some ideas (patches?) for?
Oops, yes, I've sent this patch to Greg now. I had let it sit for a
few days of 0-day testing and promptly forgot about it. ;)
-Kees
--
Kees Cook
Pixel Security