summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug found by new prototypes. The code was passing an int to a functionPeter Wemm1996-12-301-2/+5
| | | | | | | | that was expecting a "struct timeval" on the stack. I've guessed at a suitable replacement timeout. Notes: svn path=/head/; revision=21095
* Fix bug found by newly visible function pointer prototypes. ThisPeter Wemm1996-12-301-2/+5
| | | | | | | | | was passing an int to something expecting a "struct timeval". I've guessed at a timeout to replace it with.. Notes: svn path=/head/; revision=21094
* Fix bug found by newly visible prototypes in rpc. The code was passingPeter Wemm1996-12-301-2/+5
| | | | | | | an in to a function instead of a "struct timeval". Notes: svn path=/head/; revision=21093
* - make wire protocol 64 bit type safePeter Wemm1996-12-301-11/+9
| | | | | | | | | | | - extern prototypes now in include file - fix local prototypes - use standard functions Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21092
* - prototypes now in include filePeter Wemm1996-12-301-26/+48
| | | | | | | | | | | - overhaul for unlimited fd's - OpenBSD's ftp port bounce attack fix - fix timeouts Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21091
* - canonical function declarationPeter Wemm1996-12-301-7/+6
| | | | | | | | | | - prototypes now in common include file - use standard functions Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21090
* - overhaul for unlimited file descriptorsPeter Wemm1996-12-301-15/+24
| | | | | | | | | | | | | - prototypes now in include files Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Note: potential bug here, It looks like there could be a null pointer dereference depending on what has already been called to initialise some shared data. Notes: svn path=/head/; revision=21089
* - make wire protocol 64 bit type safePeter Wemm1996-12-301-4/+4
| | | | | | | | | - use standard functions Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21088
* - major overhaul to make this deal with unlimited fd's.Peter Wemm1996-12-301-56/+68
| | | | | | | | | | | | | | | - kill non-FD_SETSIZE code Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Note, there was a nasty bug with our old code here. It would trash the stack if a fd > 31 was passed in. It was using a "long" as though it was an "fd_set", ie: it was assuming that a long was 256 bits wide. :-( This has been lurking here for a while, since the FD_SETSIZE #ifdef's were first implemented. Notes: svn path=/head/; revision=21087
* - make wire protocol 64 bit type safePeter Wemm1996-12-301-10/+10
| | | | | | | Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21086
* Remove our code that clamped the max select() fd number to FD_SETSIZE (256)Peter Wemm1996-12-301-16/+3
| | | | | | | This function is now unused. Notes: svn path=/head/; revision=21085
* xrs - detect unsorted cross references in section SEE ALSOWolfram Schneider1996-12-301-0/+75
| | | | Notes: svn path=/head/; revision=21084
* - kill non-FD_SETSIZE codePeter Wemm1996-12-301-5/+2
| | | | | | | Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21083
* - 64 bit type safe on-the-wire protocolPeter Wemm1996-12-301-17/+15
| | | | | | | | | | - use standard functions - prototype now in include file Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21082
* - prototype now in include file, plus no longer needed anywayPeter Wemm1996-12-301-37/+44
| | | | | | | | | | | | | | - fix timeout code - better sequence number generation (for long running daemons) - dont close an unopen socket - use standard functions - 64 bit type safe for wire protocols - unlimited file descriptors Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21081
* - dont close an unopen socketPeter Wemm1996-12-301-2/+3
| | | | | | | Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21080
* - Don't close an unopened socketPeter Wemm1996-12-301-2/+3
| | | | | | | Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21079
* - don't close unopen socketPeter Wemm1996-12-301-7/+12
| | | | | | | | | | | - ensure we're not spoofed/confused while trying to talk to the portmapper - handle new get_myaddress failure cases - prototype now in include file Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21078
* - missing prototype from include filePeter Wemm1996-12-301-5/+5
| | | | | | | | | | - canconical function declaration (ctags safe) - use standard functions Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21077
* - OpenBSD's strncpy fixes to ensure NULL terminationPeter Wemm1996-12-301-8/+11
| | | | | | | | | - missed endrpcent() in some cases. Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21076
* - prototypes now in include filePeter Wemm1996-12-301-49/+64
| | | | | | | | | | | | | | - fix timeout code - better "random" initial transaction id for long running daemons - unlimited number of file descriptors to select(). - 64 bit type safe wire protocol Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. - typo (spelling police :-) - dont die on select() that returns time remaining (on my systems) Notes: svn path=/head/; revision=21075
* - prototypes now in standard include filePeter Wemm1996-12-301-23/+43
| | | | | | | | | | | | | - improve initial "random" sequence number, to make it harder to guess in long running daemons. - fix timeout code. - unlimited number of fd's in select. Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. - Protect against select() that returns time remaining (on my systems). Notes: svn path=/head/; revision=21074
* - update return type of an "internal but documented" functionPeter Wemm1996-12-301-2/+10
| | | | | | | | | - warn about FD_SETSIZE in certain internal functions Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21073
* - tags in correct orderPeter Wemm1996-12-301-4/+6
| | | | | | | | | | - list missing functions - list missing args Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21072
* - canonical function declarationPeter Wemm1996-12-301-9/+21
| | | | | | | | | | | - don't exit. It's bad form for libc to exit() or abort() instead of returning an error. - only use loopback addresses after checking the real interfaces. Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21071
* - don't close an unopen socketPeter Wemm1996-12-301-5/+8
| | | | | | | | | | | - canonical function declaration - use constants from includes, not magic numbers - use standard functions Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21070
* - prototype moved to include filePeter Wemm1996-12-301-3/+1
| | | | | | | Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21069
* - buffer overflow fix, from OpenBSDPeter Wemm1996-12-301-110/+58
| | | | | | | | | - optimise the error number -> string mapping code Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21068
* - use standard functionPeter Wemm1996-12-301-3/+7
| | | | | | | | | - timeout code repaired elsewhere, remove unneeded workaround Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21067
* - prototype now in common include filePeter Wemm1996-12-301-4/+2
| | | | | | | | | - standard function name Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21066
* - prototype now in include file, not herePeter Wemm1996-12-301-3/+1
| | | | | | | Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21065
* - Man page fix, updates.Peter Wemm1996-12-302-8/+11
| | | | | | | | | - minor cosmetic tweaks Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21064
* Add manpage links for rpc functionsPeter Wemm1996-12-301-0/+68
| | | | | | | Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21063
* - Missing prototypes, including pointers to functionsPeter Wemm1996-12-307-150/+375
| | | | | | | | | | | - 64 bit long type safe (wire protocols specified in explicit sized types) - Support systems that don't do unaligned accesses - Support for explicit int16 and int32 sizes in xdr Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21062
* xdr manpage linksPeter Wemm1996-12-301-0/+33
| | | | | | | Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21061
* - Prototypes, including pointers to functionsPeter Wemm1996-12-302-28/+30
| | | | | | | - C++ safe Notes: svn path=/head/; revision=21060
* First commit of a series of cleanups for the libc rpc code which has beenPeter Wemm1996-12-309-91/+140
| | | | | | | | | | | | | | suffering a bad case neglect for the last few years. - Add full prototypes, including to function pointers. - Make the wire protocols 64-bit type safe, eg: 32 bit quantities are int32_t, not long. The orginal rpc code was implemented when an int could be 16 bits. Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code. Notes: svn path=/head/; revision=21059
* Tempt fate! 'cvs add' a file remotely which also exists in the Attic onPeter Wemm1996-12-301-0/+64
| | | | | | | | | | | | RELENG_2_2! This is part#2 of the previous commit to src/lib/libc/net to contain the potential damage. This provides stubs so that binaries linked in 2.2 will run on 3.0 Notes: svn path=/head/; revision=21058
* Here goes.. Bring the 4.9.5-P1 resolver into -current. This has thePeter Wemm1996-12-3019-216/+1268
| | | | | | | | DNSSEC stuff, among other things. There are also some renamed functions, I've left out the res_stubs.c from this commit in case cvs bombs out.. Notes: svn path=/head/; revision=21057
* Update 4.9.4-P1 -> 4.9.5-P1Peter Wemm1996-12-302-42/+110
| | | | | | | Included here are definitions for the DNSSEC key management stuff. Notes: svn path=/head/; revision=21056
* Update the resolver definitions from bind-4.9.4-P1 to 4.9.5-P1 level.Peter Wemm1996-12-302-53/+94
| | | | | | | (More commits to come) Notes: svn path=/head/; revision=21055
* 1) Base home directory is created if it does not already exist ifDavid Nugent1996-12-301-35/+65
| | | | | | | | | | | useradd -m or useradd -D -b are used. 2) Hyphen allowed in username if not first character. Fix trivial bug in error fmt string. 3) /etc/skeykeys updating changed to do 'inplace' update, commenting out a username rather than removing it completely. Notes: svn path=/head/; revision=21052
* Added &a.proven, &a.jvh, &a.mbarkah and &a.nsj to the developer list.Masafumi Max NAKANE1996-12-301-10/+14
| | | | | | | Also, sort the developer list. Notes: svn path=/head/; revision=21051
* When using the perl5 extensions, ask perl itself what the pathnames are,Peter Wemm1996-12-301-8/+17
| | | | | | | | | | | | | | | don't just hard code them into the Makefile. (This is the optional stuff to use perl scripts as a vi scripting language. eg, to load a sample script, type: :perl do 'wc.pl'; this loads /usr/share/vi/perl/wc.pl to add the "wc" command. Then, one can do this: :perl wc Yes, this is a trivial example. There are more useful examples, eg 'make' output parsing along the lines of emacs's "compile" mode. The tcl extension is similar and enabled by default since we ship with tcl.) Notes: svn path=/head/; revision=21050
* Remove breakage of 1.8.2.2, choose slightly better character for quit.Jordan K. Hubbard1996-12-302-4/+4
| | | | Notes: svn path=/head/; revision=21048
* Geeze, I'm really off-target on my Makefile hacking tonite. Guess I'llJordan K. Hubbard1996-12-301-3/+3
| | | | | | | | | | go to bed. :-) Revert this change which would have broken the ${DESTDIR} relative link when chrooted. Pointed-Out-To-My-Embarassment-By: bde Notes: svn path=/head/; revision=21044
* LIBMODE -> LIBOWNJordan K. Hubbard1996-12-302-4/+4
| | | | Notes: svn path=/head/; revision=21043
* Argh, guys, LIBOWN, not LIBMODE for -o! :-)Jordan K. Hubbard1996-12-301-2/+2
| | | | Notes: svn path=/head/; revision=21042
* Back out max's rev 1.15. tclLoad.c and tclLoadDl2.c are most definatelyPeter Wemm1996-12-301-3/+4
| | | | | | | | | | | | | | needed, as he discovered when he tried to run vi. :-] These files used to be stubs which used #ifdef PIC to decide whether to use the real dlopen() version or the stub version from the src/contrib/tcl sources. Now, with the our stubs gone, the .PATH directive causes them to be compiled directly from src/contrib/tcl/{unix,generic}. You might need to rebuild your depend rules though as they may have stale paths. Also, this is a generated file. This should not have been edited here. Notes: svn path=/head/; revision=21041
* argh!! I thought I stomped these two lines already.. :(Jordan K. Hubbard1996-12-301-3/+1
| | | | Notes: svn path=/head/; revision=21040