[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hardening-check can detect whether kernel is protected or not



On Wed, 2019-01-02 at 03:08 +0100, Mikhail Morfikov wrote:
> Also how to get "not stripped" instead of "stripped" kernel?

It is available as the file `vmlinux` at the root of the source tree
after building, if you still have access to that.

There is also the `linux-image-$(uname -r)-dbg` packages which contains
./usr/lib/debug/boot/vmlinux-$(uname -r)` which I think (but am not
entirely sure) is that same binary.

That said, Yves-Alexis is correct that despite being an ELF binary the
kernel is in some ways a bit of a special case, so one shouldn't
necessarily expect tools intended for normal userspace ELF files to
DTRT with it.

Ian.


Reply to: