From 62b4fb22df04c286fafa198a9ac91fd89454dfab Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Thu, 15 Sep 2022 13:08:59 +0300 Subject: [PATCH] auxv.3: Document AT_USRSTACKBASE and AT_USRSTACKLIM Reviewed by: brooks, imp (previous version) Discussed with: markj Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D36540 --- lib/libc/gen/auxv.3 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libc/gen/auxv.3 b/lib/libc/gen/auxv.3 index 007e8066c79..bf09eb0286b 100644 --- a/lib/libc/gen/auxv.3 +++ b/lib/libc/gen/auxv.3 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 17, 2019 +.Dd September 16, 2022 .Dt ELF_AUX_INFO 3 .Os .Sh NAME @@ -79,6 +79,10 @@ Page size in bytes .It AT_TIMEKEEP Pointer to VDSO timehands (for library internal use, .Dv sizeof(void *)). +.It AT_USRSTACKBASE +Top of the user stack for main thread. +.It AT_USRSTACKLIM +Limit for grow of the user stack for main thread. .El .Sh RETURN VALUES Returns zero on success, or an error number on failure.