HomeFreeBSD

Rtld on diet part 1:
rS232861Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Rtld on diet part 1:

Provide rtld-private implementations of stack_chk_guard,
stack_chk_fail() and __chk_fail() symbols, to be used by functions
linked from libc_pic.a. This avoids use of libc stack_protector.c,
which pulls in syslog(3) and stdio as dependency.

Also, do initialize rtld-private copy __stack_chk_guard, previously
libc-provided one was not initialized, since we do not call rtld
object _init() methods.

Reviewed by: kan
MFC after: 3 weeks

Details

Provenance
kibAuthored on
Parents
rS232860: Allways call fdrop().
Branches
Unknown
Tags
Unknown