summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Implement getpeereid(3), a front-end to the LOCAL_PEERCREDdd2001-08-171-0/+1
| | | | | | | socket option for the Unix domain. It's weaker than the socket option (this only returns the uid and gid, while the socket opt. can return the entire group list), and is implemented mostly for compatibility with OpenBSD.
* Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-(peter2001-08-131-0/+10
| | | | | | | | | | | | | | | | It was foiled because of dynamic copy relocations that caused compile-time space to be reserved in .bss and at run time a blob of data was copied to that space and everything used the .bss version.. The problem is that the space is reserved at compile time, not runtime... So we *still* could not change the size of FILE. Sigh. :-( Replace it with something that does actually work and really does let us make 'FILE' extendable. It also happens to be the same as Linux does in glibc, but has the slight cost of a pointer. Note that this is the same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has. Fortunately, actual references to stdin/out/err are not all that common since we have implicit stdin/out/err-using versions of functions (printf() vs. fprintf()).
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-4/+0
|
* Remove comment, which didn't even help anyway.asmodai2001-08-131-1/+0
| | | | Submitted by: bde, long ago
* Make the name parameter const char *.imp2001-08-111-1/+1
|
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatiblemikeh2001-07-291-2/+4
| | | | | | | | | | with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc' patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to maintain backwards compatibility. Reviewed by: sheldonh, assar Obtained from: NetBSD/OpenBSD
* Remove namespace pollution.mike2001-07-221-2/+2
| | | | | | | PR: 14327 Reviewed by: des Approved by: des MFC after: 7 days
* Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used tojasone2001-07-201-0/+3
| | | | | | | | be malloc()ed, but they are now allocated using mmap(), just as the default-size stacks are. A separate cache of stacks is kept for non-default-size stacks. Collaboration with: deischen
* VCS ID fixupobrien2001-07-102-5/+3
|
* Add a new clnt_control() request `CLSET_CONNECT' that controlsiedowse2001-06-231-0/+1
| | | | | | | | | | whether or not connect(2) is used for UDP client sockets. The default is not to connect(), so existing clients will see no change in behaviour. The use of connect(2) for UDP clients has a number of advantages: only replies from the intended address are received, and ICMP errors pertaining to the connection are reported back to the application.
* 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
|
OpenPOWER on IntegriCloud