summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen
Commit message (Collapse)AuthorAgeFilesLines
* In change 1.15, an arbitrary setting of the max RPC record size torwatson2006-05-171-11/+0
| | | | | | | | | | | | | | | | RPC_MAXDATASIZE was introduced. This is believed to have been debugging code committed accidentally, although I've been unable to reach the committer to confirm this. The effect was to limit the size of RPCs on TCP and UDP to 9k, well below the default protocol limits in the libc rpc code. This change simply removes these introduced limits, falling back on the libc definitions. PR: 88856 Reported by: Keith Bostic <bostic at sleepycat dot com> Testing by: Susan LoVerso <sue at loverso dot southborough dot ma dot us> Reveiwed by: cel, rees Review timeout: alfred, mbr MFC after: 2 weeks
* Eliminate coredump problem introduced by last commit.rodrigc2005-11-141-2/+8
| | | | Noticed by: Guido van Rooij <guido at gvr dot org>
* Eliminate build breakage due to warnings about const.rodrigc2005-11-141-3/+3
|
* Use ANSI definitions.dwmalone2005-11-1313-574/+352
| | | | | Avoid using extern by declaring shared functions in header files. Const poision.
* In version 1.8 I botched findval()'s type, fix.stefanf2005-09-021-1/+1
|
* Use socklen_t variables when passing sizes to getsockname() andstefanf2005-09-021-4/+4
| | | | getsockopt().
* The appropriate argument is -K -1, not -k -1.stefanf2005-09-021-2/+2
|
* Fix a syntax error in the generated code when invoked with -P. Note thatstefanf2005-09-021-1/+0
| | | | | the generated code still doesn't compile as we lack tinfo, t_getinfo and friends.
* Stop generating the `register' keyword.stefanf2005-09-023-4/+4
|
* Don't generate K&R C code. The -C flag is kept for backwards compatibility.stefanf2005-09-029-402/+125
| | | | Also remove the SIG_PF macro, there is no need to cast closedown.
* Only write the dispatch table function prototypes to the header if the -hstefanf2005-09-013-25/+24
| | | | | | | | flag was specified. If all files are generated at once, those functions are static and shouldn't appear in the header. PR: 84450 Reviewed by: alfred
* - Use prototypes in headers.stefanf2005-08-3110-43/+49
| | | | | - Include rpc_scan.h before rpc_util.h for the tok_kind enum. - Nuke unused declarations.
* Rename the variable `inline' to `inline_size'.stefanf2005-08-314-16/+11
|
* Move #ident into #if 0.stefanf2005-05-319-18/+9
|
* back out 1.7 changes, unneeded and possibly wrong.alfred2005-02-101-9/+6
|
* Let the generated code include <string.h> instead of <memory.h>.stefanf2005-02-101-2/+2
|
* Modify rpcgen -t output to something that's a lot more useful inalfred2005-02-021-6/+9
| | | | | | | | | | | | | today's modern "no sir, not today" compilers. Basically, when building the table: use NULL instead of 0, use braces around array initializers, case the function pointers to xdrproc_t, don't cast function pointers that do not need casting. MFC After: 1 week
* Markup nit.ru2005-01-151-2/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+4
|
* - style(9) improvements courtesy of bde.smkelly2004-05-021-12/+18
| | | | | | - Revise the former commit to behave nicer on filenames containing multiple '.' characters. - Prevent the generation of macros starting with "__".
* Teach rpcgen to generate .h files properly when the input filename containssmkelly2004-05-021-5/+23
| | | | | | | characters that can't be used in preprocessor macros. PR: bin/66156 Submitted by: K S Braunsdorf <rpc@ksb.npcguild.org>
* Fix broken -a functionality.mbr2003-06-191-1/+1
| | | | | | | | Reviewed by: phk Submitted by: Martin Kammerhofer <mkamm@gmx.net> PR: 53451 MFC: 1 week
* Implement nonblocking tpc-connections. rpcgen -m does stillmbr2003-01-162-5/+33
| | | | | | | | produce backcompatible code. Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* mdoc(7) police: markup polishing.ru2002-11-261-6/+6
| | | | Approved by: re
* Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc,charnier2002-07-2114-209/+244
| | | | | | | | xstrdup. There is a crash() function that do cleaning before exiting the program. The new functions are wrappers that make use of crash() in case of allocation failure. warn, exit -> err. Reviewed by: alfred
* WARNS=2alfred2002-07-142-3/+1
|
* - TI-RPC is now the default again for code generation.alfred2002-07-1412-145/+132
| | | | | | | | | | | | | | | | | | | | | | - As before, inetd support support is turned of per default. Code for inetd can be made with -I. - Support for ``transport monitors'' and the NLSPROVIDER env variable is still there , even if their use is not clear in non TLI stream based systems like Free-/NetBSD. It can be activated with -P. - There are a few corrections in rpcgen.1 and usage function to conform to the code. Added and documented -P - I removed the #ifdefs checks for Free-/NetBSD since we are the only ones who use this code. MaxOS X may have the same limitations as we have, so this code will correctly build for them. - Generate correct cflags. Submitted by: mbr, Jean-Luc Richier <Jean-Luc.Richier@imag.fr> PR: bin/29175, misc/27816
* Back out part of previous commit - K&R doesn't have const.des2002-05-091-1/+1
|
* Make _msgout take a const char * rather than a char *.des2002-05-081-2/+2
| | | | Sponsored by: DARPA, NAI Labs
* Use `The .Nm utility'charnier2002-04-201-7/+11
|
* remove __Pimp2002-03-2210-89/+93
|
* Have rpcgen output the prototypes for the dispatch tablesalfred2001-11-131-0/+19
|
* Don't overflow a buffer from command line arguments.kris2001-08-201-2/+6
| | | | MFC after: 2 weeks
* Embed $FreeBSD$ as an rcsid[]kris2001-07-191-2/+4
|
* Remove whitespace at EOL.dd2001-07-151-27/+27
|
* Don't generate syslog() statements which have format string vulnerabilities.kris2001-07-051-2/+2
| | | | MFC after: 1 week
* Turn -b (BSD socket compat mode) back on by default, as we don't have TLI/XTIalfred2001-04-132-0/+19
|
* MAN[1-9] -> MAN.ru2001-03-271-3/+3
|
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-194-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Have rpcgen actually tell us what cpp it is looking for (as it would if weobrien2001-01-101-1/+1
| | | | were SVR%).
* Use /usr/bin/cpp as on NetBSD, not /usr/libexec/cpp.obrien2001-01-091-3/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-7/+7
|
* Include sys/types.hbrian2000-10-161-0/+4
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-5/+10
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Reduce the number of args to .%T to an acceptable number bychris2000-02-141-1/+1
| | | | | removing the `Nm' command from the line. This means that %T will actually work.
* Fxi various man pages to stop abusing the .Bx macro to generatempp2000-01-231-3/+3
| | | | | | | the string "FreeBSD". Use the .Fx macro instead. Also did some minor re-wording/formatting to work around a deficiency with the .Fx macro when it comes to puncuation characters other than periods and commas.
* mdoc(7)'fyphantom1999-10-301-7/+4
|
* $Id$ -> $FreeBSD$peter1999-08-285-5/+5
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Clean up some ambiguous nested if/elses.billf1999-07-041-3/+5
|
OpenPOWER on IntegriCloud