Re: [PATCH v3] fs/proc, core/debug: Don't expose absolute kernel addresses via wchan

From: Andrey Ryabinin
Date: Thu Oct 01 2015 - 06:48:00 EST


2015-10-01 13:39 GMT+03:00 Ingo Molnar <mingo@xxxxxxxxxx>:
>
> There's another problem as well: your change loses the PTRACE_MODE_READ permission
> check.


I guess, you should fix your patch than, because it removed this check
likewise...


>
> But ... I think I like it open coded, which is good precisely because it will stay
> invariant even if we change details in the %ps/etc. debug output.
>

Fair enough.

> Thanks,
>
> Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/