freebsd-src/lib
Peter Wemm 32e479705a This is kind of a hack, but it should work. Currently, world is broken
because libc/rpc/key_call.c references uname(), and ps/print.c also
defines uname(), and ps is linked statically.  This leads to a symbol
clash.  The userland uname(3) kinda sucked anyway as the hostname
etc was too short.  And since the libc rpc interface now uses
the utsname.nodename which gets truncated, I was tempted into doing
something about it.  Create a new userland uname function, called
__xuname() which takes an extra argument that allows you to change
the size of the fields.  uname() becomes a static inline function
in sys/utsname.h that passes the extra argument in.  struct utsname
has its field members expanded by default now in userland.
We still provide a 'uname' externally linkable function for things
that either think that they ``know'' the utsname format and assume
32 character strings and bypass the include file, or objects that
are linked against old libcs.  ie: just about every plausible
case that I can think of is covered.  Should we ever change the
default lengths again, a libc major bump should not be required
as the size is now passed to the function.

XXX the uname(2) in the kernel is for FreeBSD 1.1 binary compatability!
All the uname(3) functions that are exported to userland are actually
implemented in libc with sysctl.  uname(1) uses sysctl directly and
does not call uname(3).

PR:		bin/4688
2001-03-24 04:40:49 +00:00
..
compat Add libssl and libcrypto compat4x libraries since the major number 2001-03-21 08:49:02 +00:00
csu Add rcsid's. 2001-01-04 10:37:25 +00:00
libalias Remove (non-protected) variable names from function prototypes. 2001-03-22 11:55:26 +00:00
libatm Replace beforeinstall target with new variables used by .mk system. 2000-01-14 07:57:47 +00:00
libbind Build more components to get named to build. 1999-11-30 04:40:54 +00:00
libc This is kind of a hack, but it should work. Currently, world is broken 2001-03-24 04:40:49 +00:00
libc_r Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
libcalendar mdoc(7) police: fixed broken references. 2001-01-16 11:52:00 +00:00
libcam Remove the `r' devices. 2001-02-27 23:29:13 +00:00
libcom_err Replace beforeinstall target with new variables used by .mk system. 2000-01-14 07:57:47 +00:00
libcompat mdoc(7) police: prepare for mdocNG. 2001-02-28 13:11:51 +00:00
libcrypt Help standalone builds by getting libutil.h from src/lib/libutil 2001-03-21 22:54:59 +00:00
libdevstat mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
libdisk Libraries should _never_ call exit() themselves (or its alternate spelling 2001-03-18 21:30:11 +00:00
libedit mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
libfetch Use high port range by default, and replace the 'h' option with an 'l' option 2001-03-24 00:28:57 +00:00
libform Install manpages, including appropriate MLINKS. 2000-12-05 12:38:23 +00:00
libftpio Fixed wrong return type for ftpLoginAf() in synopsis. 2001-02-05 23:58:59 +00:00
libgnumalloc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libio Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
libipsec mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
libipx Correct comment typos 2001-02-20 10:23:10 +00:00
libisc Add list.h to the to be installed header files. 2001-02-06 22:27:16 +00:00
libkse Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
libkvm Find <libkvm.h> in the source tree. This helps standalone builds. 2001-03-21 22:52:48 +00:00
libm .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
libmd Add a new entrypoint to the hashes in libmd: 2001-03-17 10:00:50 +00:00
libmenu Install manpages, including appropriate MLINKS. 2000-12-05 12:38:23 +00:00
libncp Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
libncurses Add some missing functions in MLINKS. Link assume_default_colors.3 2000-12-05 12:40:14 +00:00
libnetgraph mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
libopie Add some extra functions adapted from OpenBSD, in preparation for 2000-05-15 04:20:54 +00:00
libpam Use a unified libgcc rather than a seperate one for threaded and 2001-01-06 18:59:46 +00:00
libpanel Install manpages, including appropriate MLINKS. 2000-12-05 12:38:23 +00:00
libpcap Don't try to compile in INET6 support when NOINET6 is defined. 2000-04-15 20:45:52 +00:00
libposix1e mdoc(7) police: fix markup. 2001-03-23 14:01:28 +00:00
libpthread Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
libradius Prepare for mdoc(7)NG. 2000-12-29 14:08:20 +00:00
libresolv Don't build elf libresolv.so*, no elf freebsd binaries have used it ever. 1998-10-11 04:21:56 +00:00
librpcsvc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
libskey man(7) -> mdoc(7). 2001-01-12 18:01:17 +00:00
libsmdb Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
libsmutil Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
libss Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
libstand A quick and dirty port of libstand to ia64. 2001-03-06 16:11:36 +00:00
libtacplus Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
libtelnet $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libusb Fixed prototypes. About half of them were wrong (mainly due to const 2001-02-06 01:02:59 +00:00
libusbhid Fixed prototypes. About half of them were wrong (mainly due to const 2001-02-06 01:02:59 +00:00
libutil o Slap some "_"'s in front of variable names relating to extattr functions, 2001-03-22 04:05:40 +00:00
libvgl Don't hardcode geometry of VESA_800x600 raster text mode (80x25). Instead save 2001-01-25 16:58:46 +00:00
libwrap Replace strtok with strsep (strtok is not allowed in libraries) 2000-08-30 06:26:42 +00:00
libxpg4 Bump major to preserve 3.x binaries compatibility 2000-06-13 00:41:38 +00:00
liby $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libz Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
msun .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
ncurses Add some missing functions in MLINKS. Link assume_default_colors.3 2000-12-05 12:40:14 +00:00
Makefile There are now compat libs for the Alpha too. 2001-02-10 07:07:09 +00:00
Makefile.inc