summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Submitted by: John Birrell <cimaxp1!jb@werple.net.au>julian1996-08-203-191/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here are the diffs for libc_r to get it one step closer to P1003.1c These make most of the thread/mutex/condvar structures opaque to the user. There are three functions which have been renamed with _np suffixes because they are extensions to P1003.1c (I did them for JAVA, which needs to suspend/resume threads and also start threads suspended). I've created a new header (pthread_np.h) for the non-POSIX stuff. The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented doesn't work. I think its best to delete it. I don't think libc_r needs tags anyway, 'cause most of the source is in libc which does have tags. also: Here's the first batch of man pages for the thread functions. The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was inherited from /usr/src/lib/libc/Makefile that should only be done with libc. also: I should have sent this diff with the pthread(3) man page. It allows people to type make -DWANT_LIBC_R world to get libc_r built with the rest of the world. I put this in the pthread(3) man page. The default is still not to build libc_r. also: The diff attached adds a pthread(3) man page to /usr/src/share/man/man3. The idea is that without libc_r installed, this man page will give people enough info to know that they have to build libc_r.
* #if !ANSI !POSIX newly added collate_range_cmp functionache1996-08-131-0/+2
|
* There is so many places where range comparation (using collate)ache1996-08-121-0/+1
| | | | | needed (much more than I think initially), so I forced to add new user-visible non-standard function to libc.
* Create FreeBSD copyright (c comment) for OS versionwosch1996-08-041-3/+4
|
* New routed.h that goes with the new routed.wollman1996-07-221-13/+1
|
* Fixed new and old standards conformance bugs. The non-POSIX confstr() wasbde1996-07-171-3/+2
| | | | | | in the POSIX section for a log time. The non-POSIX getgrouplist() and setgroups() were recently added to the POSIX section although setgroups() was already in the non-POSIX section.
* General -Wall warning cleanup, part I.jkh1996-07-121-0/+2
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Add netatalk symlink, ifconfig not compiled in other caseache1996-07-091-2/+2
|
* There are a few small additions to the protocol to make itwpaul1996-07-041-5/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | easier to use in mixed environments: - Add three new members to the request structure: - a filename specification - a database type specification - a system byte prder specification These allow the client to ask the server for a particular type of database (Berkeley DB hash/btree/recno, GNU GDBM, dbm, ndbm, etc...) and get back a meaningful error if the server doesn't support it. The byte order spec is needed if the database type is byte order sensntive. You don't, for example, want to read an ndbm database from a big endian machine on a little endian machine (the ndbm code will explode). The filename spec lets the client handle things like ndbm which uses two seperate files per database (foo.dir and foo.pag). The client can ask for each half, one at a time. - Add a list of database types and byte order values. Each list has a wildcard 'ANY' entry which lets the client ask for whatever the server supports. (XFR_ENDIAN_ANY is useful with the Berkeley DB hash method for instance, since it isn't byte order sensitive.) - Add two newserver failure codes: XFR_DB_TYPE_MISMATCH and XFR_DB_ENDIAN_MISMATCH. The server uses these to tell the client that it doesn't support the requested type/byte order. These changes were made at the suggestion of Thorsten Kukuk, the current maintainer of the Linux ypserv distribution. This allows Linux and FreeBSD NIS servers to use the same ypxfrd protocol and avoid accidentally exchanging incompatible map files.
* remove zopen, zopen is not part of libc.wosch1996-07-021-1/+0
|
* Added missing prototype for sigaltstack()smpatel1996-06-281-0/+1
|
* Add `netkey' to list of kernel directories to include in /usr/include.wollman1996-06-151-2/+2
|
* Add an independent implementation of addr2ascii(3) and ascii2addr(3)wollman1996-06-131-1/+6
| | | | following the API of the INRIA IPv6 implementation.
* Now that Peter has been nice enough to bail me out of my last littlewpaul1996-06-051-4/+5
| | | | mishap, it's time to have the Makefile install ypxfrd.x and ypxfrd.h.
* This commit was generated by cvs2svn to compensate for changes in r16119,wpaul1996-06-051-0/+117
| | | | which included commits to RCS files with non-trunk default branches.
* Install pccard includes.phk1996-06-041-2/+2
|
* Protocol definitions for RIPv2.wollman1996-05-301-21/+88
| | | | Obtained from: Vernon Schryver <vjs@mica.denver.sgi.com>
* Add an implementation of the gnu-ish asprintf() and vasprintf(). They arepeter1996-05-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | not based on gpl'ed code, just prototype and usage. I'm not 100% certain they behave the same while the system is in trouble (eg: malloc() failing) but in those circumstances all bets would be off anyway. These routines work like sprintf() and vsprintf(), except that instead of using a fixed buffer, they allocate memory and return it to the user and it's the user's responsibility to free() it. They have allocate as much memory as they need (and can get), so the size of strings it can deal with is limited only by the amount of memory it can malloc() on your behalf. There are a few gpl'ed programs starting to use this interface, and it's becoming more common with the scares about security risks with sprintf(). I dont like the look of the code that the various programs (including cvs, gdb, libg++, etc) provide if configure can't find it on the system. It should be possible to modify the stdio core code to provide this interface more efficiently, I was more worried about having something that worked and was secure. :-) (I noticed that there was once intended to be a smprintf() routine when our stdio was written for 4.4BSD, but it looks pretty stillborn, and it's intended interface is not clear). Since Linux and gnu libc have this interface, it seemed silly to bring yet another one onto the scene.
* Made this work with the documented prerequisite #includes (none).bde1996-05-011-0/+8
|
* Fixed longstanding namespace convolution involving rune_t vs wchar_t.bde1996-05-015-39/+51
| | | | | | | | | | | If _ANSI_SOURCE or _POSIX_SOURCE is defined, then <ctype.h> had to be included before <stddef.h> or <stdlib.h> to get rune_t declared. Now rune_t is declared perfectly bogusly in all cases when <ctype.h> is included. This change breaks similar (but more convoluted) convolutions in the stddef.h in gcc distributions. Ports of gcc should avoid using the gcc headers.
* Fix sgetrune/sputrune arg type: was unsigned int instead of size_tache1996-04-181-2/+7
|
* NIS cleanups and fixes, the next generation.wpaul1996-04-161-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getnetgrent.c: - Catch one bogon that snuck by: in _listmatch(), check for '\0' rather than '\n'; strings returned from yp_match() are terminated with a nul, not a newline. getpwent.c: - Rip out all of the +inclusion/-exclusion stuff from before and replace it with something a little less grotty. The main problem with the old mechanism was that it wasted many cycles processing NIS entries even after it already knew they were to be exlcuded (or not included, depending on your pointof view). The highlights of these changes include: o Uses an in-memory hash database table to keep track of all the -@netgroup, -user, and -@group exclusions. o Tries harder to duplicate the behavior normally obtained when using NIS inclusions/exclusions on a flat /etc/passwd file (meaning things come out in much the same order). o Uses seperate methods for handling getpwent() and getpwnam()/getpwuid() operations instead of trying to do everything with one general function, which didn't work as well as I thought it would. o Uses both getnetgrent() and innetgr() to try to save time where possible. o Use only one special token in the local password database (_PW_KEYYPBYNUM) instead of seperate tokens to mark + and - entries (and stop using the counter tokens too). If this new token doesn't exist, the code will make due with the standard _PW_KEYBYNUM token in order to support older databases that won't have the new token in them. All this is an attempt to make this stuff work better in environments with large NIS passwd databases.
* Slightly simplify inlined functionsache1996-03-252-12/+6
|
* Fix incorrect parameter types for ftell and fgets.paul1996-03-241-2/+2
|
* Don't reference ndbm(3) manpage. Everything is covered by db(3).jkh1996-03-031-1/+1
|
* Fix conflicts and merge into mainline (this may get cvs admined out and ↵pst1996-02-272-76/+40
| | | | redone properly by Peter later)
* Add structure and procedure definitions for NIS v1. (This informationwpaul1996-02-261-2/+71
| | | | | was reverse-engineered using the <rpcsvc/ypv1_prot.h> file supplied with SunOS 4.1.3 as a guide.)
* Add prototype for rfork().peter1996-02-231-0/+1
|
* Don't install netns, it doesn't exist any more.wollman1996-02-141-2/+2
|
* Don't install netccitt and netiso, they are going away.wollman1996-02-061-2/+2
|
* Remove unnecessary typedef. All inclusions of <rpc/auth.h> in the sourcehsu1996-01-311-7/+3
| | | | | tree are preceded by an inclusion of <rpc/types.h>, so the 32-bit fixed sized type u_int32_t is already available to us.
* Fix a bunch of spelling errors in the comment fieldsmpp1996-01-3020-51/+51
| | | | of a bunch of system include files.
* Add a missing "chmod 755 /usr/include/ufs" when copies of the includempp1996-01-231-1/+2
| | | | files are installed instead of symlinks.
* Submitted by: john birreljulian1996-01-222-0/+321
| | | | | | Obtained from: uthread package thrreads definitions
* Reviewed by: julian and (hsu?)julian1996-01-223-4/+12
| | | | | | Submitted by: John Birrel(L?) changes for threadsafe operations
* Update resolver include files to bind-4.9.3-rel levelpeter1996-01-072-2/+4
|
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-301-151/+0
| | | | which included commits to RCS files with non-trunk default branches.
* recording cvs-1.6 file deathpeter1995-12-301-36/+0
|
* *groan* Fix yet _ANOTHER_ discrepancy between the NIS protocol definitionwpaul1995-12-221-2/+6
| | | | | | | and real life. YPPUSHPROC_XFRRESP is supposed to return void and take an argument of type yppushresp_xfr, not the other way around as yp.x seems to imply. (I spent two hours today staring intensely at my prototype ypxfr code and scratching my head before I finally figured this out.)
* *sigh* Yet another bogosity: the YPPROC_FIRST procedure is listed aswpaul1995-12-091-2/+5
| | | | | | | taking an argument of type ypresp_key. This is incorrect: it should be ypresp_nokey. (yp_first() is supposed to return the first key in a given map; the server doesn't need any client-specified key to handle such a request.)
* "What? He's modifying the NIS protocol definition!?"wpaul1995-12-081-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No, not really. There are just a couple of long-standing bogosities here that I feel compelled to fix. :) There are two small changes here: 1) yp.x actually contains _three_ protocol definitions: YPPROG (standard NIS client/server procedures), YPPUSH_XFRRESPPROG (callback handler for the YPPROC_XFR service, aka ypxfr/yppush) and YPBINDPROG (for ypbind, ypset & friends). The problem is that when you run yp.x through rpcgen(1), it generates client and server stubs with hooks for all three services. This makes it impossible to actually use the rpcgen-erated code in a program that only deals with _one_ of these services (ypserv, ypbind, etc...) without manually removing the unneeded stubs (either by hand editing or by committing unspeakable horrors with sed). This defeats the whole purpose of using rpcgen and is generally annoying. What I've done is to insert a few #ifndefs and #endifs to allow a programmer to selectively blot out those functions that aren't needed for a particular program. For instance, if you do 'rpcgen -DYPSERV_ONLY', you'll get only the necessary client/server stubs to implement the standard yp client and server functions. If you do 'rpcgen -DYPBIND_ONLY', you get only what you need for ypbind. If you don't #define anything, you get the whole mess, just like before, so existing programs won't notice the difference. (Note that the -D flag is not supported by our existing crufty version of rpcgen, but I intend to update it soon.) 2) The definition for the ypresp_key_val structure is actually incorrect with respect to reality: the key and val members are specified in the wrong order. It should be val/key rather than key/val. For whatever the reason, Sun's actual NIS implementation contradicts the protocol definition in this case. Again, accounting for this bogosity here is cleaner and easier than mangling the output from rpcgen.
* Removed reference to missing mp.h in comment. We have GNU MP now.markm1995-11-121-2/+1
|
* Fix isspecial/isphonogram, they was swappedache1995-11-032-36/+26
| | | | | | Remove EOF hack, now it is recognized per ANSI/POSIX Add upper bounds check Handle all negative chars inside locale functions
* Submitted by: john hayjulian1995-10-271-2/+2
| | | | add a link in /usr/include to /sys/netipx
* Due conflict to some obsoleted applications (dump/restore) renameache1995-09-231-1/+1
| | | | | _PATH_LOCK to _PATH_UUCPLOCK Pointed-by: bde
* Add _PATH_LOCK: /var/spool/lock/ache1995-09-201-0/+1
| | | | Suggested-by: bde
* Update the resolver include files to bind-4.9.3-beta24 level (from beta9p1)peter1995-08-203-37/+59
| | | | | | | Note: this was done by selective patching from diffs by hand, in order to not conflict with the 4.4BSD base code. Beta9 was done the same way. Obtained from: Paul Vixie <paul@vix.com>
* Install the headers and sample files with 444 perms (as opposed tojoerg1995-08-151-1/+2
| | | | | | 555). Submitted by: graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-08-062-6/+6
| | | | | | | specified in the top level Makefiles. Previously I missed dozens of Makefiles that skip the install after using `cmp -s' to decide that the install isn't necessary.
* Don't install bogus tzfile.h. In fact, don't install any tzfile.h.wollman1995-08-051-2/+2
|
OpenPOWER on IntegriCloud