HomeFreeBSD

Make sysconf(_SC_PAGESIZE) return the value from getpagesize(3).

Description

Make sysconf(_SC_PAGESIZE) return the value from getpagesize(3).
That avoids a syscall - getpagesize(3) gets the value from the ELF
aux strings.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17989

Details

Provenance
traszAuthored on
Reviewer
kib
Differential Revision
D17989: Avoid syscall for _SC_PAGESIZE.
Parents
rS340640: libc: forcibly disable BIND_NOW
Branches
Unknown
Tags
Unknown