Source-Changes archive

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

CVS commit: [netbsd-10] src



Module Name:    src
Committed By:   martin
Date:           Sun Oct 25 11:32:33 UTC 2026

Modified Files:
        src/lib/libc/misc [netbsd-10]: stack_protector.c
        src/libexec/ld.elf_so [netbsd-10]: expand.c paths.c
Added Files:
        src/lib/libc/include [netbsd-10]: __sysctl.h

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

        libexec/ld.elf_so/expand.c: revision 1.8
        libexec/ld.elf_so/paths.c: revision 1.43
        lib/libc/misc/stack_protector.c: revision 1.10
        lib/libc/include/__sysctl.h: revision 1.1

ld.elf_so: Use __sysctl() syscall stub rather than sysctl() wrapper.

This avoids pulling in some unnecessary junk from libc, saving on a
couple kilobytes of space and some relative relocations at runtime.

PR lib/59387: ld.elf_so: needlessly includes libc/gen/sysctl.c user.*


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.6.2 src/lib/libc/include/__sysctl.h
cvs rdiff -u -r1.9 -r1.9.36.1 src/lib/libc/misc/stack_protector.c
cvs rdiff -u -r1.6 -r1.6.38.1 src/libexec/ld.elf_so/expand.c
cvs rdiff -u -r1.42 -r1.42.26.1 src/libexec/ld.elf_so/paths.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