History log of /netbsd-src/sys/lib/libkern/kern_assert.c (Results 1 – 5 of 5)
Revision Date Author Comments
# 3bb0445a 13-Dec-2021 chs <chs@NetBSD.org>

revert rev 1.4 ("Add garbage instructions at end of kern_assert after vpanic.")

that change had no effect because vpanic() is marked __dead / noreturn
and thus the compiler would optimize away every

revert rev 1.4 ("Add garbage instructions at end of kern_assert after vpanic.")

that change had no effect because vpanic() is marked __dead / noreturn
and thus the compiler would optimize away everything after a call to vpanic().
the original problem has now been fixed differently (but only for x86 so far).

show more ...


# d77a8e7a 14-Mar-2017 riastradh <riastradh@NetBSD.org>

Add garbage instructions at end of kern_assert after vpanic.

This avoids having the return address passed to vpanic confusingly
appear to be some other symbol.


# ff19ecf7 19-Nov-2013 christos <christos@NetBSD.org>

For the purposes of static analysis, this never returns.


# b3bf6991 29-Sep-2011 christos <christos@NetBSD.org>

Don't include <sys/systm.h> because it brings in too much stuff that
conflicts with standalone code. Instead modify kern_assert() to be like
panic() and call that.


# 654415b2 19-Jan-2010 pooka <pooka@NetBSD.org>

Get rid of last "easy" kernel symbols starting with __:
__assert -> kern_assert
__sigtimedwait1 -> sigtimedwait1
__wdstart -> wdstart1

The rest are MD and/or shared with userspace, so they will requ

Get rid of last "easy" kernel symbols starting with __:
__assert -> kern_assert
__sigtimedwait1 -> sigtimedwait1
__wdstart -> wdstart1

The rest are MD and/or shared with userspace, so they will require
a little more involvement than what is available for this quick
"ride the 5.99.24 bump" action.

show more ...