summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* After one too many PRs on the subject, bite the bullet and define IOV_MAXwollman2001-06-181-0/+1
| | | | | | | | and its associated constants. Implement _SC_IOV_MAX in the usual way. Be a bit sloppy about the namespace question; this should get cleared up in time for 5.0. MFC after: 1 month
* Revise wording of osreldate.h vs kernel warning to make it clear that itpeter2001-06-171-2/+3
| | | | is a userland-only header.
* Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostlyru2001-06-132-1/+62
| | | | | | | | to fix the "-nostdinc WARNS=X" breakage caused by broken prototypes for cabs() and cabsl() in <math.h>. Reimplemented cabs() and cabsl() using new complex numbers types and moved prototypes from <math.h> to <complex.h>.
* Complete prototype for fts_compar.ru2001-06-131-1/+3
|
* Implement EDNS0 support, as EDNS0 support will be made mandatory forume2001-06-103-0/+6
| | | | | | | | | | | IPv6 transport-ready resolvers/DNS servers. Need careful configuration when enable it. (default config is not affected). See manpage for details. XXX visible symbol __res_opt() is added, however, it is not supposed to be called from outside, libc minor is not bumped. Obtained from: KAME/NetBSD
* Update copyright.obrien2001-06-091-1/+1
|
* Fix previous commit which inadverdently deleted a section.jlemon2001-06-071-0/+5
|
* Relocate IPFilter from sys/netinet to sys/contrib/ipfilter.jlemon2001-06-071-3/+3
|
* Round #2 of the sys/isa/ic/ => sys/dev/ic/ move: install sys/dev/icjoerg2001-06-041-1/+1
| | | | as /usr/include/dev/ic.
* Remove MFS.phk2001-05-291-1/+1
|
* Drop nested __P(). This trips up Supelec's dcc.rnordier2001-05-271-1/+1
|
* - sys/n[tw]fs moved to sys/fs/n[tw]fsru2001-05-261-2/+2
| | | | - /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
* Include elf32.h and elf64.h to be more code compatable with Solaris.obrien2001-05-251-0/+2
|
* - sys/msdosfs moved to sys/fs/msdosfsru2001-05-251-3/+4
| | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs
* Back out rev 1.4 (wint_t and mbstate_t) as I am tired of the complaints.obrien2001-05-241-10/+0
| | | | | | | | | | | | The STLport will probably become broken again, but I'll work on fixing it later. I wish someone would explain why the NetBSD Cirtus branch has the types in their stddef.h... Requested by: bde, ru PR: 27606 Submitted by: Naohiko Tsuji <yakisoba@f2.dion.ne.jp>
* Backout (almost) revision 1.137 changes.ru2001-05-231-2/+8
| | | | | | | | | Removal of LSYMSUBDIRS was a regression. The purpose of LSYMSUBDIRS is to export only those /sys headers in the SHARED=symlinks case that are also visible in the SHARED=copies case. Requested by: bde
* Argh, unbreak SHARED=copied case.ru2001-05-231-2/+2
|
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-231-2/+4
| | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles.
* Get rid of LSYMSUBDIRS by merely setting up symlinks to LNOHEADERDIRS.ru2001-05-211-9/+2
|
* Back out previous commit. digiio.h has moved to /usr/include/sysbrian2001-05-191-7/+1
|
* Add mbstate_t and wint_t.obrien2001-05-181-0/+10
|
* Install /sys/dev/digi/digiio.h as /usr/include/dev/digi/digiio.hbrian2001-05-171-1/+8
| | | | | I use the (new) DEVFILES variable rather than LSUBDIRS because only the public interface (digiio.h) should be installed.
* Install wchar.h and wctype.h.ru2001-05-161-1/+1
| | | | Forgotten by: tshiozak
* Introduce getprogname(3) and setprogname(3) library calls. These getdd2001-05-151-0/+3
| | | | | | | | | and set __progname, respectively. Discussed on: -arch (Feb 2001), -audit Reviewed by: -audit Approved by: kris Obtained from: (mostly) NetBSD
* adapt to FreeBSD.tshiozak2001-05-152-1/+15
| | | | | | | | | | | | - add #define NULL 0 instead of sys/null.h. - enable locale-insensitive functions: wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslcat.c wcslcpy.c wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c wcsstr.c wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c - disable some locale-sensitive functions defined in wchar.h temporarily: mbrlen mbrtowc mbsinit mbsrtowcs wcrtomb wcsrtombs wcwidth wcswidth - disable all functions defined in wctype.h temporarily: is* tow*
* initial import of wchar.h and wctype.htshiozak2001-05-152-0/+201
| | | | Obtained from: NetBSD and Citrus XPG4DL
* Add elf.h header back, its existance is an SVR4-ELF tradition.obrien2001-05-061-1/+1
| | | | | | Our ELF hints bits are still a seperate file. Requested by: jdp
* Add this header back, its existance is an SVR4-ELF tradition.obrien2001-05-051-0/+35
| | | | | | Our ELF hints bits are still a seperate file. Requested by: jdp
* * include/elf.h has been repo copied to include/elf-hints.h, and it noobrien2001-05-023-60/+4
| | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
* Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE sectionache2001-04-231-1/+1
| | | | Pointed out by: bde
* Add sranddev() prototypeache2001-04-231-0/+1
|
* Style(9) fixes:obrien2001-04-221-4/+4
| | | | | | | * get rid of space (0x20) before tab (^I) * indent with ^I, not 0x20 * continuation line for prototypes is for 0x20's past function's name col. * etc.
* Implement client side NFS locks.alfred2001-04-171-3/+10
| | | | | Obtained from: BSD/os Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org
* I think this was supposed to be __const like in NetBSD: I have no ideakris2001-04-171-1/+1
| | | | | | why I changed it to const. Noticed by: David Wolfskill <david@catwhisker.org>
* Add fmtcheck(), a function for checking consistency of format stringkris2001-04-171-0/+2
| | | | | | | | | | | | | | | | | arguments where the format string is obtained from user data, or otherwise difficult to verify statically. Example usage: printf(fmtcheck(user_format, standard_format), arg1, arg2); checks the format string user_format for consistency (same number/order/ type of format operators) with standard_format. If they differ, standard_format is used instead to avoid potential crashes or security violations. Obtained from: NetBSD Reviewed by: -arch
* Actually install include/fs/smbfs and include/netsmb directories.bp2001-04-111-5/+6
|
* It's not CUT (the french would accept that back in 1879) and TUC wasn'tphk2001-03-311-1/+5
| | | | | | | palatable to the rest of the world. UTC was the compromise. PR: 26238 Submitted by: Ying-Chieh Liao <ijliao@terry.dragon2.net>
* Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transportwpaul2001-03-271-0/+1
| | | | | | | | | | | | | | | | | | to make asynchronous RPCs. This is needed to help fix ypbind, which can no longer override the clnt_dg_call() method (formerly the clntudp_call() method) due to all the internal descriptor locking code in TI-RPC. Turning on this flag allows us to send an RPC request, then return immediately, and handle a reply later, rather than being forced to do the request and reply in a single function call. Also fix a byte ordering bug: when clnt_dg_call() increments the XID prior to transmitting a request, it uses the raw value, which is wrong. The XID is stored in network byte order, i.e. big-endian. The CLSET_XID and CLGET_XID commands in clnt_dg_control() use ntohl()/htonl() to get the byte ordering right, but because clnt_dg_call() does not do this, using CLSET_XID/CLGET_XID doesn't actually work, unless you're on a big endian host, which we aren't (yet). Fix clnt_dg_call() to byte swap properly when doing the increment.
* give the "netgrent" functions a home in netdb.halfred2001-03-271-0/+5
|
* const'ifyalfred2001-03-271-1/+1
|
* fix: text following `#else' violates ANSI standardalfred2001-03-261-1/+1
| | | | Pointed out by: ${BDECFLAGS}
* IPv4 address is not unsigned int. This change introduces in_addr_t.ume2001-03-231-6/+6
| | | | | | | PR: 9982 Adviced by: des Reviewed by: -alpha and -net (no objection) Obtained from: OpenBSD
* change callrpc() from taking "char *" args, I'm quite sure they really meantalfred2001-03-231-2/+2
| | | | | | to use "void *". remove a duplicate prototype for callrpc() from libexec/ypxfr/ypxfr_extern.h
* forgot prototyle for __rpc_get_local_uid()alfred2001-03-221-0/+2
|
* Unbreak LINT.alfred2001-03-201-0/+2
| | | | | | | | | | because rpcb_clnt.h is generated during buildworld and only installed into /usr/include/rpc (and not present in src/include/rpc) we can fix it by simply not including it when _KERNEL is defined. this isn't the most elegant, way and might deserve some revisiting later. Pointed out by: bde
* The TI-RPC spammed over a '#ifdef _KERNEL' hack for the xdrproc_t typedefalfred2001-03-201-1/+6
| | | | | | revert the spammage Pointed out by: bde
* comment out #pragma directive containing Sun SCM tagsalfred2001-03-201-1/+1
|
* Add missing comma when KERBEROS is defined.alfred2001-03-191-1/+2
|
* Introduce the GLOB_MAXPATH flag, which allows the user to limit thejlemon2001-03-191-0/+3
| | | | | | | number of paths which glob(3) will return. Remove the hardcoded limit from the last commit, which restores the previous unbounded behavior. Document the new flag in the manual page.
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-1931-482/+2492
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
OpenPOWER on IntegriCloud