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

232 Commits

Author SHA1 Message Date
guenther
24f9d669f8 Add <stdio_ext.h> with the seven APIs needed to have gnulib operate
without poking directly into the FILE structure.

Repeated testing, "nope, need a few more" feedback, and ok tb@
2024-08-12 20:56:55 +00:00
schwarze
46c354aa2b Provide C11 <uchar.h>.
OK millert@.
Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port.
I originally wrote the code in 2022 at the prodding of espie@.
Using one improvement to a manual page from jmc@.
2023-08-20 15:02:50 +00:00
krw
55a3ec3029 Nuke disktab.h references in preparation for nuking disktab.h.
disktab.h has not been used or useful for a looooong time.

Detailed historical research by jsg@.

ok jsg@ deraadt@
2022-08-30 18:50:06 +00:00
mortimer
66e500ce5d Enable libexecinfo.
With some build plumbing help from jsg@

ok kettenis@ sthen@
2021-06-09 19:44:55 +00:00
patrick
f950054f2b Move Makefiles for libc++ and libc++abi to gnu/lib in preparation for an
upcoming update to those, which will see both codebases heading into the
gnu/llvm dumpster.

Feedback from jsg@
ok deraadt@ kettenis@
2021-01-02 20:04:36 +00:00
martijn
e7a945d3c0 Hook up agentx.h.
OK deraadt@
2020-10-26 15:50:31 +00:00
djm
5ec7511bc5 RDIRS for libcbor and libfido2 2019-11-14 21:14:53 +00:00
jsg
cc1fc28705 unbreak make includes on non-clang archs after libobjc removal
found the hard way by nayden@ ok deraadt@
2019-04-06 02:56:16 +00:00
jsg
2584ca0b0c Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@
2019-03-05 09:44:38 +00:00
jsg
ba3116c2a5 enable libelf 2019-02-04 23:23:18 +00:00
mpi
7c8f01ebb0 <elf.h> should make it easier to port our ELF-related tools to other Unices.
For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@
2017-10-17 09:34:52 +00:00
guenther
249f38f2da Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread.  No changes
to the content

ok mpi@
2017-10-15 23:40:33 +00:00
naddy
0cb6afd912 Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@
2017-10-06 19:58:37 +00:00
kettenis
d8ee3b1570 Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@
2017-04-17 15:53:21 +00:00
guenther
f2704730e3 <struct.h> is unused and should not be used. Delete it.
ok millert@ deraadt@ kettenis@
2017-03-12 23:28:13 +00:00
jsg
cc65dc7ef9 install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@
2017-01-27 13:30:39 +00:00
jca
afa5894845 Kill the /usr/include/ssl symlink
Proposed some time ago by tedu@, builk build by ajacoutot@
2016-11-12 03:04:27 +00:00
tb
76c3425b36 Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert
2016-11-08 19:56:56 +00:00
tb
b718d5d406 Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
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
2016-10-16 19:28:44 +00:00
sthen
2b5055b02e Unhook sqlite3. 2016-09-23 09:18:05 +00:00
tedu
3d8a654b1a remove dbm.h 2016-05-07 21:58:24 +00:00
guenther
fe38b55cb0 Use a Thread Information Block in both single and multi-threaded programs.
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@
2016-05-07 19:05:21 +00:00
deraadt
696cd27b24 We are done providing support for the vax.
lots of agreement.
2016-03-09 16:28:44 +00:00
jasper
d88f57029e After nearly 20 years of warning that malloc.h is obsolete, it's about time we
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@
2016-01-20 19:09:52 +00:00
tedu
e55899f04c add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)
2015-11-18 16:48:34 +00:00
deraadt
e9ff445ba1 libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm
2015-11-14 23:56:48 +00:00
kettenis
1042567dd9 Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)
2015-09-27 14:52:47 +00:00
guenther
c261d7e9a9 Revert: finger slip 2015-09-14 08:24:37 +00:00
guenther
f09ad35c18 Prefer the standardized <poll.h> over <sys/poll.h> 2015-09-14 08:16:14 +00:00
guenther
061188c8bf Stop exporting from libc the <mpool.h> and the mpool_* API
ports scan by sthen@
2015-09-09 15:35:24 +00:00
yasuoka
572174f265 Build and install libradius as default.
ok deraadt
2015-07-23 06:04:12 +00:00
millert
62f3e54ab3 Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.
2015-03-17 20:40:41 +00:00
sthen
1c6b5d0448 Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@
2015-02-18 15:31:10 +00:00
tedu
06bb4cbae5 stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen
2015-02-16 14:06:15 +00:00
tedu
c0497f64e1 remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.
2015-01-17 20:37:04 +00:00
tedu
80dc78aa39 header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree
2014-12-08 20:39:56 +00:00
jsing
b600beed7b Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.
2014-10-31 13:46:17 +00:00
matthieu
cb736800fc Missed this sendmail reference in the sendmail removal 2014-09-16 00:19:31 +00:00
miod
9a210c530b Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.
2014-08-31 09:36:36 +00:00
deraadt
b68230f567 enter libressl for make includes 2014-07-14 01:01:27 +00:00
guenther
7c5b55ffaa Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
   and ditto <endian.h>  (fixes code that pulls in <sys/endian.h> first)

 * those will always export the symbols that POSIX specified for
   <endian.h>, including the new {be,le}{16,32,64}toh() set.  c.f.
	http://austingroupbugs.net/view.php?id=162

   if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
   currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

 * when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
   <arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
   and betoh*

ok deraadt@
2014-07-12 16:25:08 +00:00
tedu
9e593bd9b7 stop installing netbt headers 2014-07-11 21:50:28 +00:00
espie
42dcb48712 move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.
2014-05-12 19:09:00 +00:00
reyk
84fc8f7ce6 Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@
2014-04-22 10:21:56 +00:00
henning
4254632602 stop installing altq includes 2014-04-19 15:58:56 +00:00
miod
252ab50e97 Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.
2014-04-11 22:51:51 +00:00
eric
d216d6b129 Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@
2014-03-26 18:13:15 +00:00
kettenis
383d6c0749 unbreak the tree; no more libwrap 2014-03-24 19:09:14 +00:00
tedu
c0c2aeee79 more bm excision 2014-03-23 23:41:31 +00:00
naddy
022886465c Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@
2014-03-23 23:27:22 +00:00