I am not qualified to review this. adding mpdenton
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I am not qualified to review this. adding mpdenton
I am not qualified to review this. adding mpdenton
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks for the patch!
The commit message should wrap at 72 characters.
Bug: N/ADon't include a bug line if there is no bug.
See docs on commit message formatting: https://chromium.googlesource.com/chromium/src/+/HEAD/agents/skills/cl-description/cl-description.md
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The commit message should wrap at 72 characters.
Updated.
Don't include a bug line if there is no bug.
See docs on commit message formatting: https://chromium.googlesource.com/chromium/src/+/HEAD/agents/skills/cl-description/cl-description.md
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks for reviewing, could you help to submit it? Thanks.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
linux: Add PT_GNU_STACK to synthesized test module ELF
The DebugRendezvous.Self, ProcessReaderLinux.SelfModules, and
ProcessReaderLinux.ChildModules tests synthesize a minimal shared
object in memory and dlopen it. The generated ELF had no
PT_GNU_STACK program header, so glibc's loader treated it as
requiring an executable stack and asked the kernel to mark the
stack executable. Recent Linux kernels refuse that request,
causing dlopen to fail with "cannot enable executable stack as
shared object requires: Invalid argument".
Add a PT_GNU_STACK phdr with PF_R | PF_W so the loader knows
the module does not need an executable stack. e_phnum is
auto-derived from sizeof(phdr_table), so no other bookkeeping
is needed.
This is backwards-compatible: PT_GNU_STACK has been honored by
Linux, glibc, and binutils since ~2003 (Linux 2.6, glibc 2.3.3),
and loaders that do not recognize the OS-specific phdr type simply
ignore it. Declaring non-exec is strictly safer on both old and
new kernels.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |