Re: [PATCH v6 3/6] x86/elf: Support a new ELF aux vector AT_MINSIGSTKSZ
From: Borislav Petkov <hidden>
Date: 2021-03-10 17:44:22
Also in:
linux-api, linux-doc, lkml
From: Borislav Petkov <hidden>
Date: 2021-03-10 17:44:22
Also in:
linux-api, linux-doc, lkml
On Wed, Mar 10, 2021 at 04:34:40PM +0000, Bae, Chang Seok wrote:
Yeah, right. While this attempts to fix the issue, it involves the ABI change. Len and I think PATCH5 [1] is rather a backport candidate as it gives a more reasonable behavior.
Yap, patch 5 is more conservative, sure. I guess I can take it out of the set and send it Linuswards now.
quoted
That source code needs some special markup to look like source code - currently, the result looks bad.How about this code:
No, build the docs by doing make htmldocs and look at the result. Btw, you should always look at the result before sending it out.
Rewrote like this: AT_SYSINFO is used for locating the vsyscall entry point. It is not exported on 64-bit mode. AT_SYSINFO_EHDR is the start address of the page containing the vDSO. AT_MINSIGSTKSZ denotes the minimum stack size required by the kernel to deliver a signal to user-space. AT_MINSIGSTKSZ comprehends the space consumed by the kernel to accommodate the user context for the current hardware configuration. It does not comprehend subsequent user-space stack consumption, which must be added by the user. (e.g. Above, user-space adds SIGSTKSZ to AT_MINSIGSTKSZ.)
Better.
Thx.
--
Regards/Gruss,
Boris.
SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg