HomeFreeBSD

setrlimit: Remove special handling for RLIMIT_STACK with a stack gap

Description

setrlimit: Remove special handling for RLIMIT_STACK with a stack gap

This will not be required with a forthcoming reimplementation of ASLR
stack randomization. Moreover, this change was not sufficient to enable
the use of a stack size limit smaller than the stack gap itself.

PR: 260303
Reviewed by: kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33704

Details

Provenance
markjAuthored on Jan 17 2022, 4:42 PM
Reviewer
kib
Differential Revision
D33704: Rework the stack gap implementation
Parents
rG3fc21fdd5f8a: sysent: Add a sv_psstringssz field to struct sysentvec
Branches
Unknown
Tags
Unknown