1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
Commit Graph

13 Commits

Author SHA1 Message Date
guenther
9b9d2a55a6 Add framework for resolving (pun intended) libc namespace issues, using
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT.  Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h.  Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.

tests clean on i386, amd64, sparc64, powerpc, and mips64

naming feedback from kettenis@ and millert@
ok kettenis@
2015-08-31 02:53:56 +00:00
guenther
d01ec05984 Add errc/verrc/warnc/vwarnc family: versions of err/... that take the errno
value to use for the strerror() message as an argument.  Originally from
FreeBSD 3.0

Patch from Steffen Nurpmeso (sdaoden (at) gmail.com) with minor tweaks.
2014-04-22 00:33:02 +00:00
guenther
0dd8069ec2 Remove historical comment about <varargs.h> and warn people from using
the _* functions outside libc
2014-04-21 16:13:24 +00:00
millert
c916d9484c Adapt things to use __type_t instead of _BSD_TYPE_T_
Add new sys/_types.h header
Include machine/_types.h or sys/_types.h where applicable
2006-01-06 18:53:04 +00:00
millert
e33d3bd3b8 Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.
2003-06-02 19:34:12 +00:00
millert
c72b5b24e1 Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. 2002-02-16 21:27:05 +00:00
millert
35dfa42fe4 remove redundant __noreturn__ attributes now that __dead is sane for modern gcc 2001-08-07 21:34:42 +00:00
espie
07f2c53381 typo in comment 2001-07-19 15:06:22 +00:00
millert
7789771ce5 Expose protos for _{err,warn}{,x} regardless of __indr_reference being
defined since in the notdef __indr_reference case they are still present,
just as real functions.  Fixes some alpha warnings.
2001-07-19 14:08:33 +00:00
deraadt
fee2a480b3 use __x__ formats for __attribute__ arguments; guenther@gac.edu 2000-12-06 17:18:41 +00:00
niklas
5ea2d675e0 Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now.  Added openBSD tags.
1997-09-21 10:45:23 +00:00
millert
bfc12eb740 prototype _err* and _warn* 1997-08-24 21:28:03 +00:00
deraadt
df930be708 initial import of NetBSD tree 1995-10-18 08:37:01 +00:00