History log of /netbsd-src/lib/libc/misc/stack_protector.c (Results 1 – 9 of 9)
Revision Date Author Comments
# 8caf1030 19-Aug-2013 matt <matt@NetBSD.org>

Put the startup code in .text.startup


# c5e820ca 13-Mar-2012 christos <christos@NetBSD.org>

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values t

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@

show more ...


# eb47f161 08-Dec-2011 joerg <joerg@NetBSD.org>

Use a constant array for the MIB. Newer LLVM decided that mib[] warranted
stack protections, with the obvious crash after the setup was done.
As a positive side effect, code size shrinks a bit.


# 67f518f4 16-Sep-2011 joerg <joerg@NetBSD.org>

Use __dead


# cb63bb73 07-Dec-2010 joerg <joerg@NetBSD.org>

Don't use argument as direct format string.


# f7e3ae7c 17-Nov-2009 drochner <drochner@NetBSD.org>

-delete prototypes which are already in <ssp/ssp.h>
-make __fail __noreturn__


# c984f259 30-Jan-2009 ad <ad@NetBSD.org>

Make threaded programs die correctly:

kill(getpid(), SIGFOO) -> raise(SIGFOO)


# e54e98d8 03-Jun-2008 ad <ad@NetBSD.org>

xprintf returns void.


# ec4d182d 13-Nov-2007 ad <ad@NetBSD.org>

- stack_protector.c doesn't really belong under sys/. Add a new directory
for misc support routines and put it there.
- Add a libc constructor. Use this to initialize threading and the
stack prot

- stack_protector.c doesn't really belong under sys/. Add a new directory
for misc support routines and put it there.
- Add a libc constructor. Use this to initialize threading and the
stack protector stuff. libpthread cannot be initialized safely using
its own constructor because libc and libpthread are deeply intertwined.
PR bin/37347

show more ...