Module Name:    src
Committed By:   martin
Date:           Tue Nov 28 13:00:52 UTC 2023

Modified Files:
        src/sys/kern [netbsd-8]: exec_subr.c
        src/tests/lib/libc/sys [netbsd-8]: t_setrlimit.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1920):

        tests/lib/libc/sys/t_setrlimit.c: revision 1.8
        tests/lib/libc/sys/t_setrlimit.c: revision 1.9
        sys/kern/exec_subr.c: revision 1.86

t_setrlimit: Verify changing RLIMIT_STACK affects access to stack.
PR kern/57711

exec: Map noaccess part of stack with prot=NONE, maxprot=READ|WRITE.
This way, setrlimit(RLIMT_STACK) can grant READ|WRITE access when
increasing the stack size.
PR kern/57711


To generate a diff of this commit:
cvs rdiff -u -r1.78.2.3 -r1.78.2.4 src/sys/kern/exec_subr.c
cvs rdiff -u -r1.6 -r1.6.6.1 src/tests/lib/libc/sys/t_setrlimit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to