> |> Here is second version of capabilities-into-elf patch.
> |>
> |> This time additional headers are in separate elf section (you can add
> |> it using objcopy --add-section). This section has to have special
> |> code (0xca, you have to do this via hex-editor :-) and contains custom
> |> header.
>
> Such things are better to be put in a PT_NOTE segment. An
> executable is
I thought so. Unfortunately, I'm unable to add PT_NOTE segment to
existing executable. Adding section is easy, objcopy has option to do
so.
> not required to contain a section table. And please do *not* change the
> header identification.
Changing header ID is hack so that we can make executables that are
_not_ compatible with previous kernels.
Pavel
-- The best software in life is free (not shareware)! Pavel GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/