summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add D_MD_ORDER (local extension) to get month/day order from localeache2001-03-191-0/+2
|
* Nuke non-standard EAI_RESNULL.ume2001-03-171-2/+1
|
* Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons,obrien2001-03-081-0/+1
| | | | and remove leading `r'(aw) from it.
* mark pthread_exit() as non-returning.alfred2001-03-041-1/+1
| | | | Requested by: Farooq Mela <fmela0@sm.socccd.cc.ca.us>
* Hide the definition of struct __sFILEX and add the neededdeischen2001-03-011-6/+1
| | | | | | | lock definitions to it. flockfile state is now allocated along with the rest of FILE. This eliminates the need for a separate allocation of flockfile state as well as eliminating the mutex/lock used to serialize its allocation.
* Impliment the ISO-C99 strto[u]ll()obrien2001-02-271-0/+4
| | | | and rewrite strto[u]q() in terms of it.
* Enable AI_ADDRCONFIG as a valid flag of getaddrinfo(3). Someume2001-02-191-1/+2
| | | | | | applications specify AI_ADDRCONFIG and fail to run under FreeBSD. Latest mews is known. Now, getaddrinfo(3) behaves according to AI_ADDRCONFIG.
* Be extra certain that "#include <osreldate.h>" must not be used inpeter2001-02-181-1/+5
| | | | kernel code.
* Fix the current libc breakage in current:imp2001-02-161-8/+11
| | | | | | | | | | | | | o Back out the __std* stuff. Can't figure out how to do this right now, so we'll save it for late. o use _up as a pointer for extra fields that we need to access. o back out the libc major version bump. Submitted by: green reviewed by: peter, imp, green, obrien (to varying degrees). We'll fix the "how do we stop encoding sizeof(FILE) in binaries" part later.
* Correct 2nd argument of getnameinfo(3) to socklen_t.ume2001-02-151-2/+15
| | | | Reviewed by: itojun
* Commit a libc fix going by the current state of the version numberingpeter2001-02-141-4/+6
| | | | | | | | | | | | | | | | bikeshed in -arch. It isn't quite over, but it has been well established that this can be adjusted or refined. But we do seem to have consensis on a major bump of some sort. After this, it should reasonably safe to build world again. This change is to get rid of __sF[] and use seperate __stdin/out/err handles. This means we can pad on extra bits onto the end of FILE at will without going through this all over again. __sF[] was evil because it compiled the sizeof(FILE) into every stdio using program. Asbestos suit on: check! Peril sensitive sunglasses on: check! *gulp!*
* It sounded like a good idea at the time. The previous change breakspeter2001-02-121-6/+3
| | | | | FILE *buffer = stdout; so back it out for now.
* Take advantage of the current libc sizeof(FILE) breakage (__sF[]) andpeter2001-02-121-3/+6
| | | | | | | | | | try a hopefully more robust stdin/stdout/stderr. This costs an indirect pointer fetch, but saves us from changes in 'FILE'. The __stdin stuff is there to not pollute application name space if the application does not use <stdio.h> and also in case something depended on the current behavior where stdin etc was a #define. Reviewed by: eischen, dillon
* libc MT-safety, part 2.deischen2001-02-111-0/+4
| | | | Add a lock to FILE and define an additional flag.
* add langinfo.hphantom2001-02-081-1/+1
|
* Add SUSv2 compatible nl_langinfo() function. It still need some work, butphantom2001-02-081-0/+109
| | | | this is already usable one.
* Fix some nits:asmodai2001-02-061-8/+5
| | | | | | | | - whitespace: incorrect usage of tab or space - removal of comments which served either no purpose or were misleading Submitted by: bde [a while ago]
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+2
| | | | | | Compatability is not an existing english word. Add $FreeBSD$.
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
OpenPOWER on IntegriCloud