Fix some minor issues in various headers for self sufficiency.* <netgraph/ksocket/ng_ksocket.h>, <netgraph7/ksocket/ng_ksocket.h> and <rpc/auth.h>: Include <sys/types.h> because <sys/socket.h> no
Fix some minor issues in various headers for self sufficiency.* <netgraph/ksocket/ng_ksocket.h>, <netgraph7/ksocket/ng_ksocket.h> and <rpc/auth.h>: Include <sys/types.h> because <sys/socket.h> no longer brings it in.* <sys/sysunion.h>: Include <sys/sysproto.h> for struct <syscall>_args definitions.
show more ...
libc/xdr: Add xdr_uint16_t() (it's just like xdr_u_int16_t()).dports might make use of it.While here, improve the manual page a bit and also bring in some fixesfrom FreeBSD.
libc/xdr: Use standard types.
rpc: Fix xdr_* macros and limit buffer sizes.While there, constify few things.Taken-from: FreeBSD
<rpc/svc.h>: Add back comment.
rpc: Whitespace cleanup.While there, perform license change as per FreeBSD r258581
rpc: Make few headers more compatible with gcc.Previously gcc compilers from dports installed patched versionsof rpc headers that override the system ones.By applying small changes, headers are n
rpc: Make few headers more compatible with gcc.Previously gcc compilers from dports installed patched versionsof rpc headers that override the system ones.By applying small changes, headers are no longer patched anddoes not require rebuilding gcc dports to account for possiblechange in include/rpc headers after installworld.While there perform some minor cleanup.No functional change.
libc/xdr: Sync xdr_sizeof.c with FreeBSD and add it to the build.FreeBSD did so too after our last upgrade. Shouldn't hurt.
buildworld: Specify cpp for rpcgen to use rather than fallbackWithout the -Y switch, rpcgen will fall back to "cpp" which is guidedby OBJFORMAT environment settings to point at the host cpp from g
buildworld: Specify cpp for rpcgen to use rather than fallbackWithout the -Y switch, rpcgen will fall back to "cpp" which is guidedby OBJFORMAT environment settings to point at the host cpp from gcc50.In the later stages of buildworld, we want to use the cpp we just built,not the host cpp which could have issues. By stage 4, no native hosttools should be in use.
"Normalize" some types, s/long unsigned/unsigned long/ etc.Just like the rest of our tree is doing it.
rpc: Remove empty FreeBSD ID.
RPC: remove some extraneous $id$ lines.
RPC: replace Sun license with 3-clause BSD license.Original commit message:"Replace Sun RPC license in TI-RPC library with a 3-clause BSD license,with the explicit permission of Sun Microsystems
RPC: replace Sun license with 3-clause BSD license.Original commit message:"Replace Sun RPC license in TI-RPC library with a 3-clause BSD license,with the explicit permission of Sun Microsystems in 2009."Taken-from: FreeBSDCherry-picked-from: http://svnweb.freebsd.org/base?view=revision&revision=258578
<rpc/types.h>: Use our standard definition for NULL, instead of 0.Also fix a warning in spray(8) that was triggered by this change.
libc: Add a few missing xdr functionsObtained-from: FreeBSD
Clean up BIND upgrade.Remove some auto-generated files which were accidentally added.
BIND - Update BIND to 9.5.2* Enable man page for nslookup.* nsupdate does not provide man 8 anmyore, but man 1.* Fixes for x86_64.* Added all the _LIBC conditionals that where present in 9.3Su
BIND - Update BIND to 9.5.2* Enable man page for nslookup.* nsupdate does not provide man 8 anmyore, but man 1.* Fixes for x86_64.* Added all the _LIBC conditionals that where present in 9.3Submitted-by: Jan Lentfer <Jan.Lentfer@web.de>Testing-by: dillon
Fix the way <sys/ioccom.h> is included throughout our tree.The original intention was to include it only in header files whichdefine ioctl codes and not in .c or .h files which include headerstha
Fix the way <sys/ioccom.h> is included throughout our tree.The original intention was to include it only in header files whichdefine ioctl codes and not in .c or .h files which include headersthat define ioctl codes.Adjust the tree to follow this idea.Pointed-out-by: Guy Harris <guy@alum.mit.edu>Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1334>
Remove some unexpanded $DragonFly$ IDs in our tree.
Add nsswitch support.The nsswitch.conf(5) manual page has a description of nsswitch.Curiously, we already had this manual page, even though we didn'tsupport it./etc/host.conf is removed from sr
Add nsswitch support.The nsswitch.conf(5) manual page has a description of nsswitch.Curiously, we already had this manual page, even though we didn'tsupport it./etc/host.conf is removed from src/, but if host.conf exists andnsswitch.conf does not, nsswitch.conf will be created using itscontents.Included in this commit is a framework for nsswitch caching, nscd(8),but it relies on a few upcoming changes to our libc before it will work.For now, it's turned off.Also this commit includes hesiod support which is not compiled bydefault. Add WANT_HESIOD=true to make.conf to get it working.Obtained-from: FreeBSD
Bring in a transport-independent RPC (TI-RPC).-rpcbind replaces portmap which is more secure.-Essentially this is the same thing FreeBSD did over 7 years ago (svnrevision #74462).-This also upda
Bring in a transport-independent RPC (TI-RPC).-rpcbind replaces portmap which is more secure.-Essentially this is the same thing FreeBSD did over 7 years ago (svnrevision #74462).-This also updates utilities and the kernel build associated with thischange.
Don't #include <sys/select.h> from sys/types.h, to conform to SUS.Some old BSD programs assume that sys/types.h is basically enoughto get all types and even functions declared, so adjust these.sy
Don't #include <sys/select.h> from sys/types.h, to conform to SUS.Some old BSD programs assume that sys/types.h is basically enoughto get all types and even functions declared, so adjust these.sys/param.h still works as kitchensink and includes sys/select.h.
Add some missing prototypes.The xdr_{accepted,rejected}_reply() part was taken from FreeBSD.Submitted-by: Alexey Slynko <slynko@tronet.ru>Dragonfly-bug: <http://bugs.dragonflybsd.org/issue72>
* Add prototype for callrpc()* Fix function type for callrpc() in rpc(3)* Raise WARNS to 2 for librpcsvc, fix warnings and ansify
Cleanup:- Add $DragonFly$.- Ansify function definitions.- Change pmap_set()'s 'port' parameter from int to u_short.- In function definitions, move the type on a line of its own.- Remove (void)
Cleanup:- Add $DragonFly$.- Ansify function definitions.- Change pmap_set()'s 'port' parameter from int to u_short.- In function definitions, move the type on a line of its own.- Remove (void) casts for discarded return values.- Remove 'register' storage class specifiers.
12