Commit Graph

199 Commits

Author SHA1 Message Date
fvdl ab48aa4caf Another one of those if defined(arch) lists I forgot to commit earlier. 2001-06-19 22:10:01 +00:00
wiz 2a65697aff NetBSD -> Nx, and some whitespace nits. 2001-06-05 13:24:41 +00:00
kristerw 7e4c882a7c Free the correct buffer in error handling.
Handle that malloc may return NULL.
2001-05-26 00:22:22 +00:00
lukem 7c72a90438 missing space in a warning 2001-05-08 23:21:17 +00:00
fvdl e33a1e6253 In __rpc_uaddr2taddr_af, actually return useful data for the AF_LOCAL
case. From FreeBSD.
2001-04-22 20:51:25 +00:00
wiz 8c56635f64 rpc_clnt_calls and rpc_svc_calls live in 3, not 8.
Whitespace and punctuation fixes.
2001-04-09 12:26:32 +00:00
wiz 5aeb3dc3c1 Add RCS Id; whitespace and punctuation fixes. 2001-04-09 12:25:37 +00:00
wiz 98a7e03eee select(2), not (3); order SEE ALSO; whitespace and punctuation fixes. 2001-04-09 12:21:43 +00:00
wiz 04d01455a4 Add RCS Id, and some whitespace/punctuation fixes. 2001-04-09 12:21:01 +00:00
wiz 814224e5c6 netconfig(5), not (4), and whitespace. 2001-04-09 12:20:18 +00:00
wiz f51570c57d netconfig(5), not (4); environ(7), not (5); whitespace, and use
.Dq instead of ``xx.''
2001-04-09 12:19:45 +00:00
wiz 3bb356f0f8 netconfig(5), not (4), and whitespace fixes. 2001-04-09 12:18:48 +00:00
bjh21 fe6fa58436 Add support for ARM VFP-format doubles, conditional on __VFP_FP__. 2001-02-21 18:09:25 +00:00
bjh21 45531ab974 The ARM FPA is big-endian as far as the word order in doubles is concerned. 2001-02-18 22:13:41 +00:00
cgd 8318d9d0b9 change 'char *' args of clnt_pcreateerror, clnt_spcreateerror,
clnt_perror, and clnt_sperror to 'const char *' to follow manual
pages (!!).
2001-02-13 01:00:21 +00:00
bjh21 b2ffea9b75 __arm26__ || __arm32__ -> __arm__
Not least because the unified NetBSD/arm compiler probably won't predefine
__arm26__ or __arm32__.
2001-02-09 18:38:32 +00:00
jdolecek ca797c3c15 make local constant arrays const 2001-01-25 22:50:55 +00:00
lukem 1b4c6a992b don't _DIAGASSERT(cp != NULL) until after cnt is checked for != 0.
other stuff in the rpc systems (e.g, authnone_create() with _null_auth)
trigger this assertion otherwise
2001-01-17 01:07:10 +00:00
lukem 9004e39fee rename MAX_MARSHEL_SIZE to MAX_MARSHAL_SIZE 2001-01-16 15:46:52 +00:00
lukem 0d2d9acca6 whitespace consistency fixups 2001-01-04 14:57:17 +00:00
lukem 0e8cfd8ffb sprinkle _DIAGASSERT() appropriately. minor other cleanups 2001-01-04 14:42:18 +00:00
lukem 29e8291322 sprinkle _DIAGASSERT() around 2001-01-04 01:45:30 +00:00
christos 128bd71ffc oops fix previous typos. 2000-12-20 23:08:51 +00:00
christos f9b8c27ae8 appease lint casts 2000-12-20 20:52:50 +00:00
christos 663f790f35 remove redundant declarations. 2000-12-20 20:51:08 +00:00
christos c2285c0805 remove dedundant declaration of _svc_getreq_common; declared in <rpc/svc.h> 2000-12-10 04:12:03 +00:00
christos ec4fa3bdcc remove redundant declaration of _seterr_reply. Already declared in
<rpc/rpc_msg.h>
2000-12-10 04:10:08 +00:00
kleink dbf8a5327c Need "namespace.h". 2000-09-28 09:07:04 +00:00
fvdl 3b9024546d For an accepted connection (tcp), set xp_netid, as it might be examined
by some applications, most notably rpcbind.
2000-08-03 00:01:53 +00:00
matt dd8046c23f fix a bug in the NOIEEE (aka VAX) case. 2000-07-17 04:59:51 +00:00
itojun 52f552d80a correct delint mistake (missing "&").
may fix recent rpc/nfs-related PRs, including 10579 and 10601.
2000-07-16 06:41:43 +00:00
fvdl 4063df8381 Use rpcvers_t, not long, for some variables holding version numbers. They
were sometimes passed by reference, creating problems on 64bit be systems.
2000-07-14 10:29:16 +00:00
fvdl 7c5c8962ad Use explicit int32 get/put macros. Needed for 64bit big-endian systems. 2000-07-14 08:40:41 +00:00
kleink 1e67e23b6f De-delint previous: svc_vc_rendezvous_ops() isn't unused unless the single
reference to it is accidently deleted; from Shuuichirou Murata in PR lib/10537.
2000-07-08 11:41:50 +00:00
christos deb154d2bc add __RPC_GETXID macro
don't const castway __rpc_getconf and __rpc_getconfig. It might try to
write const strings
fix non-portable casts
remove duplicated prototypes
cast things to proper types
remove extraneous casts to NULL
fix variable cast mismatches
remove register var declarations
2000-07-06 03:10:34 +00:00
christos b056680b9b remove register
adjust types to match functions
elide non-portable casts
cast to proper types
2000-07-06 03:06:45 +00:00
christos 6a3d07cc2d get prototypes from rpc/nettype.h
avoid non-portable casts
add explicit casts
2000-07-06 03:05:20 +00:00
christos 3ee90709fb elide non-portable casts 2000-07-06 03:03:59 +00:00
christos ea5394abfa remove unnecessary casts to NULL 2000-07-06 03:03:30 +00:00
msaitoh f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
christos 4af2eb7264 PR/10499: IWAMOTO Toshihiro: getnetconfig uses strtok. Applied suggested patch
to use strtok_r
2000-07-03 12:08:13 +00:00
fvdl dc01bcc976 Plug a memory leak. 2000-06-22 11:06:23 +00:00
fvdl d7fde522ec Fix 2 items. 2000-06-20 00:53:08 +00:00
assar 598be7b0b7 syslog an error if /etc/netconfig is not found. fixes lib/10275 2000-06-11 16:26:53 +00:00
fvdl eaee8c445a Set the error code sanely in a few cases.
When connecting to a version 2 portmapper, don't use the "udp" nettype,
since that includes udp on ipv6, but just use the "udp" netconfig entry
directly.
2000-06-07 21:46:01 +00:00
fvdl 737db7ee0a The two unchanged interfaces (svc_create and clnt_create) resulted
in sockets bound to reserved ports in the old code. Since old binaries
will still expect this, always try to bind to a reserved port in
clnt_cli_create and svc_tli_create, unless we're already bound.
2000-06-07 18:27:39 +00:00
simonb d649f5ebb1 Spell registerrpc properly. 2000-06-07 13:39:43 +00:00
fvdl 5b761cd338 Always do a listen() in the old svctcp_create backward compat code. 2000-06-07 01:45:25 +00:00
fvdl 3f80608ea9 Correct misleading error messages. 2000-06-06 14:44:45 +00:00
thorpej 934426175d - An initialized variable kept LOCAL_CREDS from being set on
the listen socket properly.  This caused spurious rpcbind(8)
  failures.
- Don't define a "credmsg" structure.  Instead, dynamically
  allocate a buffer of the correct size of the message with
  CMSG_SPACE() and free it when we're done.  This gets the
  size of the buffer right on LP64 platforms, which has padding
  for alignment thrown in.
- Check for non-present or truncated cred messages when recvmsg(2)
  returns.
2000-06-05 05:58:46 +00:00