Age | Commit message (Collapse) | Author |
|
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.
Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.
Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.
help, testing & ok deraadt, input from natano, further testing rpe
|
|
|
|
OK guenther@
|
|
ok guenther@
|
|
ok deraadt@ millert@
|
|
to a local equivalent to eliminate a dependency on <sys/time.h> being
included
ok deraadt@ millert@
|
|
update the NULL definition for C++11. OK deraadt@ guenther@ kettenis@
|
|
|
|
|
|
|
|
ok deraadt@
|
|
a rant Theo wrote 24 years ago. Mark __ypexclude_{add,is,free}() as hidden
"get off my lawn!" deraadt@
|
|
longjmp performs can't really be relied upon, even after we got rid of the
false positives...
ok millert@ deraadt@
|
|
ok millert@ deraadt@
|
|
|
|
|
|
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!
Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!
Clean up libpthread's symbol exports like libc.
On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.
Testing by various, particularly sthen@ and patrick@
ok kettenis@
|
|
that will be needed and make libpthread work when ld.so/libc.a provide an
initial TIB.
|
|
ok deraadt@ tb@ (who had the same diff)
|
|
ever used.
ok jsg
|
|
still specified snprintf() and vsnprintf() based on earlier drafts.
Allows snprintf() and vsnprintf() to be used when _XOPEN_SOURCE is
defined as 500. OK guenther@
|
|
lots of agreement.
|
|
warnings with newer gcc versions and -Werror=unused-value.
OK guenther@
|
|
POSIX used to specify those declarations, but later removed them.
ok guenther@
|
|
actually remove this header. It was originally added for ports, which is
malloc.h-free now.
additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@
|
|
ports using existing file descriptors.
|
|
the b* byte functions belong in strings.h, not string.h so break
them out of string.h into a new strings.h. As long as there is no
POSIX or X/OPEN define in use string.h will pull in strings.h.
OK naddy@ deraadt@
|
|
|
|
need to live somewhere in the meantime.)
|
|
Berzerkeley DB code.
|
|
This version of the function will always open the secure/shadow/master
password files. Soon, the regular variants of these functions will not.
(Intermixing shadow and regular gets a little weird; don't do that.)
Not using struct spwd and getspwnam functions to reduce churn in callers.
Should just be a one line diff in most places.
ok deraadt
|
|
conceptual ok guenther millert nicm
|
|
thrkill(2), rolling the kill(2) syscall number with the ABI change to
avoid breaking binaries during during the transition. thrkill(2) includes
a 'tcb' argument that eliminates the need for locking in pthread_kill()
and simplifies pthread_cancel(). Switch __stack_smash_handler() to use
thrkill(2) and explicitly unblock SIGABRT.
Minor bump to both libc and libpthread: make sure you install a new kernel!
ok semarie@
|
|
and eliminate the now superfluous -D option
ok kettenis@ millert@
|
|
|
|
|
|
Userland should get these from /usr/X11R6/include/libdrm.
ok deraadt@ (and suggested by jsg@)
|
|
OK semarie@
|
|
|
|
|
|
Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h>
ok deraadt@
|
|
|
|
wants to use, well.... copy them there.
ok guenther
|
|
which results in tame() code placements being much more recognizeable.
tame() can be moved to unistd.h and does not need cpp symbols to turn the
bits on and off. The resulting API is a bit unexpected, but simplifies the
mapping to enabling bits in the kernel substantially.
vague ok's from various including guenther doug semarie
|
|
ports scan by sthen@
|
|
Move internal declarations from <db.h> to libc's hidden/db.h
ok kettenis@
|
|
for upcoming CompCert port.
Final version of the diff is from kettenis@ with input from jsg@ and tedu@.
ok kettenis@, jsg@, "I agree" millert@
|
|
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@
|
|
symbols that are not longer exported. (This improves the generated code.)
ok deraadt@
|
|
Delete exect(2); it wasn't portable across archs and nothing used it.
ports test build by naddy@
ok deraadt@ kettenis@
|