Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src



Module Name:    src
Committed By:   martin
Date:           Tue Nov 28 12:59:21 UTC 2023

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

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

        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.82 -r1.82.10.1 src/sys/kern/exec_subr.c
cvs rdiff -u -r1.6 -r1.6.16.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.




Home | Main Index | Thread Index | Old Index