]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoThis commit was generated by cvs2svn to compensate for changes in r30839,
ache [Wed, 29 Oct 1997 16:14:35 +0000 (16:14 +0000)]
This commit was generated by cvs2svn to compensate for changes in r30839,
which included commits to RCS files with non-trunk default branches.

26 years agoInitial import
ache [Wed, 29 Oct 1997 16:14:35 +0000 (16:14 +0000)]
Initial import

26 years agoInitial import
ache [Wed, 29 Oct 1997 16:14:35 +0000 (16:14 +0000)]
Initial import

26 years ago- Make sure we include <sys/kernel.h> to pick up the definitions of DATA_SET()
nate [Wed, 29 Oct 1997 15:54:19 +0000 (15:54 +0000)]
- Make sure we include <sys/kernel.h> to pick up the definitions of DATA_SET()

Noticed by: bde

26 years agoImplement linux_iopl and linux_nice.
kato [Wed, 29 Oct 1997 08:17:14 +0000 (08:17 +0000)]
Implement linux_iopl and linux_nice.

26 years agoSync with sys/i386/isa/if_ed.c revision 1.126.
kato [Wed, 29 Oct 1997 08:14:56 +0000 (08:14 +0000)]
Sync with sys/i386/isa/if_ed.c revision 1.126.

26 years agoSynchronize with sys/i386/i386/microtime.s revision 1.34.
kato [Wed, 29 Oct 1997 08:13:32 +0000 (08:13 +0000)]
Synchronize with sys/i386/i386/microtime.s revision 1.34.

26 years agodidn't even know fddi had the atalk support.
julian [Wed, 29 Oct 1997 07:59:27 +0000 (07:59 +0000)]
didn't even know fddi had the atalk support.
fix it here too. (really needs more of the fixes from the ethernet)

26 years agoDo chflags properly even when running multi-user.
jkh [Wed, 29 Oct 1997 07:47:06 +0000 (07:47 +0000)]
Do chflags properly even when running multi-user.

26 years agoBack out strcpy() -> strncpy() changes. According to Bruce, they are unneeded.
charnier [Wed, 29 Oct 1997 07:35:27 +0000 (07:35 +0000)]
Back out strcpy() -> strncpy() changes. According to Bruce, they are unneeded.
Check the return value of gethostname() like in timed. Make enough place to
NUL-terminate the result.

26 years agoBack out strcpy() -> strncpy() changes. According to bruce, they are unneeded.
charnier [Wed, 29 Oct 1997 07:32:30 +0000 (07:32 +0000)]
Back out strcpy() -> strncpy() changes. According to bruce, they are unneeded.

26 years agoUse err(3). Rewrote man page using mdoc format.
charnier [Wed, 29 Oct 1997 07:27:56 +0000 (07:27 +0000)]
Use err(3). Rewrote man page using mdoc format.

26 years agoUse err(3).
charnier [Wed, 29 Oct 1997 07:26:09 +0000 (07:26 +0000)]
Use err(3).

26 years agoTypos in man page. Cosmetics in error strings.
charnier [Wed, 29 Oct 1997 07:25:05 +0000 (07:25 +0000)]
Typos in man page. Cosmetics in error strings.

26 years agoo Bump version to 1.3 to reflect major changes
brian [Wed, 29 Oct 1997 01:19:51 +0000 (01:19 +0000)]
o  Bump version to 1.3 to reflect major changes
o  Report modem connect time properly
o  Report bytes in/out over physical media
o  Fix phases (TERMINATE is *higher than* DEAD)
o  Do a LayerFinish from LcpDown
o  Bring down IPCP & CCP when we enter PHASE_TERMINATE
o  Give a new prompt when we go to PHASE_DEAD
o  Stop the modem timer properly when idle
o  Treat sig 15 like an exiting carrier loss
o  Log (DEBUG) offline & online transitions

26 years agoThe previous change added a use of the DATA_SET macro, but forgot
jdp [Wed, 29 Oct 1997 00:51:50 +0000 (00:51 +0000)]
The previous change added a use of the DATA_SET macro, but forgot
to define it by including <sys/kernel.h>.  That broke PC-CARD
support for this driver, producing the dreaded "device allocation
failed" message.  Surprisingly, the missing include caused only
two compiler warnings.  The compilation still "succeeded" anyway.

26 years agoFix various problems with netatalk kernel support.
julian [Wed, 29 Oct 1997 00:30:52 +0000 (00:30 +0000)]
Fix various problems with netatalk kernel support.
Some of these changes are a bit rough and will become
more polished later.  the changes to if_ethersubr should largely be moved
to within the appletalk code, but that will happen later.
A few of these were related to network-byteorder problems,
and more were related to loopback failures.

26 years agoI wonder how I managed to get the krb.h include wrong. Anyway: correct it.
guido [Tue, 28 Oct 1997 21:20:21 +0000 (21:20 +0000)]
I wonder how I managed to get the krb.h include wrong. Anyway: correct it.

26 years ago- More style nits (sorry, I should have done this last time).
nate [Tue, 28 Oct 1997 20:58:53 +0000 (20:58 +0000)]
- More style nits (sorry, I should have done this last time).

26 years ago- Style nit.
nate [Tue, 28 Oct 1997 20:50:58 +0000 (20:50 +0000)]
- Style nit.

26 years agoRemove the long description from the in-kernel datastructure.
phk [Tue, 28 Oct 1997 19:01:02 +0000 (19:01 +0000)]
Remove the long description from the in-kernel datastructure.
Put a magic field in there instead, to help catch uninitialized
malloc types.

26 years agoFix bugs from my previous commit
guido [Tue, 28 Oct 1997 18:55:21 +0000 (18:55 +0000)]
Fix bugs from my previous commit
Submitted by: Bruce Evans

26 years ago- Disable cards when doing a suspend by emulating that they have been
nate [Tue, 28 Oct 1997 17:51:25 +0000 (17:51 +0000)]
- Disable cards when doing a suspend by emulating that they have been
  removed.  Add a new state 'suspend' so we 'fake' insertion events at
  resume time for the cards that have been suspended.

[
The code still works if you remove the card during suspend, switch the
card during suspend, or combinations of both.
]

Reviewed by: frf@xocolatl.com

26 years agoDon't logwtmp(), login() already does it.
brian [Tue, 28 Oct 1997 16:50:56 +0000 (16:50 +0000)]
Don't logwtmp(), login() already does it.
Log us out of utmp & wtmp if we're already in there.
PR: 4862

26 years agoRemoved unused #includes.
bde [Tue, 28 Oct 1997 15:59:26 +0000 (15:59 +0000)]
Removed unused #includes.

26 years agoZaire is now the Dem. Rep. of the Congo, and has new two- and three-letter
wollman [Tue, 28 Oct 1997 15:45:09 +0000 (15:45 +0000)]
Zaire is now the Dem. Rep. of the Congo, and has new two- and three-letter
codes.

Obtained from: ISO 3166 Maintenance Agency via RIPE NCC

26 years agoSynchronize with sys/i386/isa/npx.c and clock.c revisions 1.53 and
kato [Tue, 28 Oct 1997 14:30:47 +0000 (14:30 +0000)]
Synchronize with sys/i386/isa/npx.c and clock.c revisions 1.53 and
1.103, respectively.

26 years agoSynchronize with sys/i386/conf/files.i386 revision 1.178.
kato [Tue, 28 Oct 1997 14:29:23 +0000 (14:29 +0000)]
Synchronize with sys/i386/conf/files.i386 revision 1.178.

26 years ago1) Create intermediate directories with 755, not 777
ache [Tue, 28 Oct 1997 14:20:10 +0000 (14:20 +0000)]
1) Create intermediate directories with 755, not 777
2) Exit with error diagnostic if file exists but not a directory (-d)
3) Do chmod independently of chown (-d)

26 years agoDon't #include <nfs/nfs.h> in <nfs/nfs_node.h> if KERNEL is defined.
bde [Tue, 28 Oct 1997 14:06:25 +0000 (14:06 +0000)]
Don't #include <nfs/nfs.h> in <nfs/nfs_node.h> if KERNEL is defined.
Fixed everything that depended on the nested include.

26 years agoImplement group part now, final syntax is:
ache [Tue, 28 Oct 1997 13:46:52 +0000 (13:46 +0000)]
Implement group part now, final syntax is:
user[:group][/login-class]

26 years agoThis depends on option TCP_DEBUG for some reason, so include
bde [Tue, 28 Oct 1997 12:24:26 +0000 (12:24 +0000)]
This depends on option TCP_DEBUG for some reason, so include
opt_tcp_debug.h so that the option is visible again.

Restored a used #include.

26 years agoDon't include <machine/cputypes.h> or declare cputype/class interfaces
bde [Tue, 28 Oct 1997 11:43:57 +0000 (11:43 +0000)]
Don't include <machine/cputypes.h> or declare cputype/class interfaces
in <machine/cpu.h>.  Moved the declarations to <machine/cputypes.h>.
Fixed style bugs in the moved code.  Fixed everything that depended on
the nested include.  Don't include <machine/cpu.h> (in the changed files)
unless something in it is used directly.

26 years agoImplement linux_semop, linux_semget and linux_semctl.
kato [Tue, 28 Oct 1997 10:50:02 +0000 (10:50 +0000)]
Implement linux_semop, linux_semget and linux_semctl.

PR: 4355

26 years agoFixed style bugs in open() fix.
bde [Tue, 28 Oct 1997 10:29:55 +0000 (10:29 +0000)]
Fixed style bugs in open() fix.

26 years agoSynchronize with sys/i386/conf/GENERIC revision 1.100.
kato [Tue, 28 Oct 1997 09:09:05 +0000 (09:09 +0000)]
Synchronize with sys/i386/conf/GENERIC revision 1.100.

26 years agoTypo.
joerg [Tue, 28 Oct 1997 07:46:27 +0000 (07:46 +0000)]
Typo.

Submitted by: peter@rhiannon.clari.net.au (Peter Hawkins)

26 years agoUse the new "mandatory" keyword for the npx driver.
joerg [Tue, 28 Oct 1997 07:28:34 +0000 (07:28 +0000)]
Use the new "mandatory" keyword for the npx driver.

26 years agoRemoved another comment about not-so-mandatory devices i've missed in
joerg [Tue, 28 Oct 1997 07:27:48 +0000 (07:27 +0000)]
Removed another comment about not-so-mandatory devices i've missed in
the previous commit.  It's perfectly legal to build a kernel without
any video device driver (and even without any console driver at all if
desired).

26 years agoRemove the stale `log' non-pseudodevice.
joerg [Tue, 28 Oct 1997 07:24:35 +0000 (07:24 +0000)]
Remove the stale `log' non-pseudodevice.

Found by: the new config(8) ;-)

26 years agoAllow for a keyword in the "files" file named "mandatory". The first
joerg [Tue, 28 Oct 1997 07:21:04 +0000 (07:21 +0000)]
Allow for a keyword in the "files" file named "mandatory".  The first
candidate for this is "npx0", more are likely to follow.

Check for pseudo-devices that are being configured, but don't appear
in any "files" file.  The ``pseudo-device bpf 2'' already hit me too
often.

26 years ago1) Ignore -C with -d, not fail (for $(INSTALL) macro from /etc/make.conf)
ache [Mon, 27 Oct 1997 22:53:33 +0000 (22:53 +0000)]
1) Ignore -C with -d, not fail (for $(INSTALL) macro from /etc/make.conf)
2) When uid/gid not specified, not try to set 0:0 owner, just do nothing.
It makes possible to use install -d by users without setting
their uid:gid each time.
3) Be more specific where install_dir fails

26 years agoBack out moving nobody to daemon class, the problem fixed in another place:
ache [Mon, 27 Oct 1997 22:07:03 +0000 (22:07 +0000)]
Back out moving nobody to daemon class, the problem fixed in another place:
inetd

26 years agoAdd -c option that allows root to specify a login_class.
guido [Mon, 27 Oct 1997 22:05:12 +0000 (22:05 +0000)]
Add -c option that allows root to specify a login_class.

26 years agoImplement login classes sepcification as user[/loginclass]
ache [Mon, 27 Oct 1997 22:03:47 +0000 (22:03 +0000)]
Implement login classes sepcification as user[/loginclass]

By default inetd run things with the same limits as from /etc/rc
(daemon class) to not break anything as in good old days.

26 years agoUse a MODE SELECT command to reset the block size, instead of calling the
jmz [Mon, 27 Oct 1997 21:09:27 +0000 (21:09 +0000)]
Use a MODE SELECT command to reset the block size, instead of calling the
prepare_track() function, which caused fixation problems with some drives.

26 years agoWhen dosourcerouting is set do not sourceoute....
guido [Mon, 27 Oct 1997 21:07:26 +0000 (21:07 +0000)]
When dosourcerouting is set do not sourceoute....

26 years agoMoved declaration of etext from <machine/md_var.h> to <machine/cpu.h>
bde [Mon, 27 Oct 1997 17:23:18 +0000 (17:23 +0000)]
Moved declaration of etext from <machine/md_var.h> to <machine/cpu.h>
and fixed everything that dependended on it being declared in the old
place.  It is used in "machine-independent" code in subr_prof.c.

Moved declaration of btext from subr_prof.c to <machine/cpu.h>.  It
is machine-dependent.

26 years agoOops, <machine/psl.h> is used unconditionally in -current.
bde [Mon, 27 Oct 1997 17:19:20 +0000 (17:19 +0000)]
Oops, <machine/psl.h> is used unconditionally in -current.

26 years agoMove nobody to daemon class, otherwise it is impossible to start fingerd
ache [Mon, 27 Oct 1997 16:59:07 +0000 (16:59 +0000)]
Move nobody to daemon class, otherwise it is impossible to start fingerd
while Apache is running, it effectively eats all default class limits for
nobody

26 years agoCleaned up #includes.
bde [Mon, 27 Oct 1997 16:35:34 +0000 (16:35 +0000)]
Cleaned up #includes.

Ifdefed conditionally used includes.

Finished changing indentation of per-statement comments to 40.

26 years agoKNFize rev.1.31.
bde [Mon, 27 Oct 1997 15:39:01 +0000 (15:39 +0000)]
KNFize rev.1.31.

26 years agoUse unique sleep message strings.
bde [Mon, 27 Oct 1997 15:33:04 +0000 (15:33 +0000)]
Use unique sleep message strings.

26 years agoUse 127 instead of CHAR_MAX for the limit on the sequence count. The
bde [Mon, 27 Oct 1997 15:26:23 +0000 (15:26 +0000)]
Use 127 instead of CHAR_MAX for the limit on the sequence count.  The
limit doesn't have anything to do with characters.  The count mainly
needs to fit in the VOP_READ() ioflag after being left shifted by 16.

Moved vn_lock() before vn_closefile().  vn_lock() was mismerged from
Lite2.

Removed some gratuitous braces.

26 years agoUse bread() instead of cluster_read() for reading the last block
bde [Mon, 27 Oct 1997 14:55:49 +0000 (14:55 +0000)]
Use bread() instead of cluster_read() for reading the last block
in a file.  There was a (harmless, I think) off-by-1 error.  This
was fixed in ufs long ago (rev.1.21 of ufs_readwrite.c) but not
in cd9660.

cd9660_read() has stagnated in many other ways.  It is closer to
the Net/2 ufs_read() (which is was cloned from) than ufs_read()
itself is.

26 years agoBetter wording explaining that all single character options
steve [Mon, 27 Oct 1997 14:25:54 +0000 (14:25 +0000)]
Better wording explaining that all single character options
are extensions along with the previous list of primaries.

Suggested by: bde

26 years agoRemoved unused #includes. The need for most of them went away with
bde [Mon, 27 Oct 1997 13:33:47 +0000 (13:33 +0000)]
Removed unused #includes.  The need for most of them went away with
recent changes (docluster* and vfs improvements).

26 years agoForward declare precisely the structs that are actually used in this header.
bde [Mon, 27 Oct 1997 12:50:57 +0000 (12:50 +0000)]
Forward declare precisely the structs that are actually used in this header.

26 years agoUse err(3).
charnier [Mon, 27 Oct 1997 12:30:30 +0000 (12:30 +0000)]
Use err(3).

26 years agoRemove `progname'.
charnier [Mon, 27 Oct 1997 12:29:25 +0000 (12:29 +0000)]
Remove `progname'.

26 years agoAdd usage() and err(3). Sync man page with usage string.
charnier [Mon, 27 Oct 1997 12:27:21 +0000 (12:27 +0000)]
Add usage() and err(3). Sync man page with usage string.

26 years agoOne line usage string: see man page for more info.
charnier [Mon, 27 Oct 1997 12:25:38 +0000 (12:25 +0000)]
One line usage string: see man page for more info.

26 years agoCosmetic in err() strings.
charnier [Mon, 27 Oct 1997 12:23:08 +0000 (12:23 +0000)]
Cosmetic in err() strings.

26 years agoUse err(3).
charnier [Mon, 27 Oct 1997 12:21:10 +0000 (12:21 +0000)]
Use err(3).

26 years agoSynchronize with sys/i386/isa/sio.c revision 1.187.
kato [Mon, 27 Oct 1997 11:00:31 +0000 (11:00 +0000)]
Synchronize with sys/i386/isa/sio.c revision 1.187.

26 years agoSynchronize with sys/i386/isa/if_fe.c revision 1.32.
kato [Mon, 27 Oct 1997 10:59:48 +0000 (10:59 +0000)]
Synchronize with sys/i386/isa/if_fe.c revision 1.32.

26 years agoSynchronize with sys/i386/isa/if_ed.c revision 1.125.
kato [Mon, 27 Oct 1997 10:59:03 +0000 (10:59 +0000)]
Synchronize with sys/i386/isa/if_ed.c revision 1.125.

26 years agoSynchronize with sys/i386/isa/syscons.c revision 1.236.
kato [Mon, 27 Oct 1997 10:58:30 +0000 (10:58 +0000)]
Synchronize with sys/i386/isa/syscons.c revision 1.236.

26 years agoSynchronize with sys/i386/conf/GENERIC and majors.i386 revisions 1.99
kato [Mon, 27 Oct 1997 10:57:58 +0000 (10:57 +0000)]
Synchronize with sys/i386/conf/GENERIC and majors.i386 revisions 1.99
and 1.19, respectively.

26 years agoUse err(3). Add prototypes. Document -s and -r flags.
charnier [Mon, 27 Oct 1997 07:55:31 +0000 (07:55 +0000)]
Use err(3). Add prototypes. Document -s and -r flags.

26 years agoStatisize usage().
charnier [Mon, 27 Oct 1997 07:53:22 +0000 (07:53 +0000)]
Statisize usage().

26 years agoUse err(3). Stylistic changes in man page.
charnier [Mon, 27 Oct 1997 07:52:10 +0000 (07:52 +0000)]
Use err(3). Stylistic changes in man page.

26 years agoAdd usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
charnier [Mon, 27 Oct 1997 07:49:47 +0000 (07:49 +0000)]
Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
when -n (do nothing) is used.

26 years agoUse err(3). Change `=' to `==' in two places, so that server not responding/
charnier [Mon, 27 Oct 1997 07:45:47 +0000 (07:45 +0000)]
Use err(3). Change `=' to `==' in two places, so that server not responding/
server ok is not displayed too often.
OKed by: Bill (wpaul).

26 years agontohl->htonl.
charnier [Mon, 27 Oct 1997 07:41:12 +0000 (07:41 +0000)]
ntohl->htonl.
OKed by: Bruce

26 years agoMove the EP_ID_PORT out to 0x110, so it doesn't conflict with other port
joerg [Mon, 27 Oct 1997 06:15:10 +0000 (06:15 +0000)]
Move the EP_ID_PORT out to 0x110, so it doesn't conflict with other port
usage at 0x100.  Quoted Justin's quotation from the manual as well, to
explain the technical background.

PR: kern/4559
Submitted by: Stephen J. Roznowski <sjr@home.net>

26 years agoOffending statement removed from STANDARDS section. From what I
steve [Mon, 27 Oct 1997 04:22:13 +0000 (04:22 +0000)]
Offending statement removed from STANDARDS section.  From what I
can gather from the Posix spec that I have (which is very old)
all one character options are extensions to Posix.

PR: docs/4701

26 years agoTypo fix.
steve [Mon, 27 Oct 1997 03:31:57 +0000 (03:31 +0000)]
Typo fix.

PR: docs/4579
Submitted by: Stephen J. Roznowski <sjr@home.net>

26 years agoFix a misleading comment.
steve [Mon, 27 Oct 1997 03:28:44 +0000 (03:28 +0000)]
Fix a misleading comment.

PR: bin/4861
Submitted by: Alex <garbanzo@hooked.net>

26 years agoBump MAXDSIZ to 512MB so that soft limits have a chance to actually
jkh [Mon, 27 Oct 1997 00:38:46 +0000 (00:38 +0000)]
Bump MAXDSIZ to 512MB so that soft limits have a chance to actually
regulate this.
Reviewed by: dyson

26 years agoCheck to see if the pv_limits are initialized before checking.
dyson [Mon, 27 Oct 1997 00:34:15 +0000 (00:34 +0000)]
Check to see if the pv_limits are initialized before checking.

26 years agoFix a comment about multicast; since the Etherlink III has no
fenner [Mon, 27 Oct 1997 00:02:33 +0000 (00:02 +0000)]
Fix a comment about multicast; since the Etherlink III has no
multicast filter the driver will never learn how to program it.

26 years ago- Instead of relying on a functional call to register PCARD-capable drivers,
nate [Sun, 26 Oct 1997 21:08:42 +0000 (21:08 +0000)]
- Instead of relying on a functional call to register PCARD-capable drivers,
  use a Linker Set.  Note, if a driver is loaded as an LKM  if will have
  to use the function call, but since none of the existing drivers
  are loadable, this made things cleaner and boot messages nicer.

Obtained from: PAO-970616

26 years agoUpdate this little gadet to latest version.
phk [Sun, 26 Oct 1997 21:06:33 +0000 (21:06 +0000)]
Update this little gadet to latest version.

26 years agoI guess nobody uses ext2fs in current ?
phk [Sun, 26 Oct 1997 21:05:40 +0000 (21:05 +0000)]
I guess nobody uses ext2fs in current ?
vop_lookup is back now, don't know whan I lost it.

26 years ago- Patch the 'skeleton' example driver to be more consistant with the new
nate [Sun, 26 Oct 1997 21:01:44 +0000 (21:01 +0000)]
- Patch the 'skeleton' example driver to be more consistant with the new
  state of the world.

26 years agoVFS interior redecoration.
phk [Sun, 26 Oct 1997 20:55:39 +0000 (20:55 +0000)]
VFS interior redecoration.

Rename vn_default_error to vop_defaultop all over the place.
Move vn_bwrite from vfs_bio.c to vfs_default.c and call it vop_stdbwrite.
Use vop_null instead of nullop.
Move vop_nopoll from vfs_subr.c to vfs_default.c
Move vop_sharedlock from vfs_subr.c to vfs_default.c
Move vop_nolock from vfs_subr.c to vfs_default.c
Move vop_nounlock from vfs_subr.c to vfs_default.c
Move vop_noislocked from vfs_subr.c to vfs_default.c
Use vop_ebadf instead of *_ebadf.
Add vop_defaultop for getpages on master vnode in MFS.

26 years agoRemade syscalls.master derived files.
phk [Sun, 26 Oct 1997 20:28:54 +0000 (20:28 +0000)]
Remade syscalls.master derived files.

26 years agoAdd "NOIMPL" for syscalls we know what is, but don't implement as "STD".
phk [Sun, 26 Oct 1997 20:27:51 +0000 (20:27 +0000)]
Add "NOIMPL" for syscalls we know what is, but don't implement as "STD".
Use this for getfh & nfssvc.

26 years agoSimplify the lease_check stuff.
phk [Sun, 26 Oct 1997 20:26:33 +0000 (20:26 +0000)]
Simplify the lease_check stuff.

26 years agoAlways initialize the syscall vectors for our "private" syscalls (not
phk [Sun, 26 Oct 1997 20:13:52 +0000 (20:13 +0000)]
Always initialize the syscall vectors for our "private" syscalls (not
just in the LKM case).
Plug nqnfs_vop_lease_check directly into the default_vnodeop_p table.

26 years agoIn clntudp_call(), it is possible that xdr_replymsg() might fail
wpaul [Sun, 26 Oct 1997 18:47:31 +0000 (18:47 +0000)]
In clntudp_call(), it is possible that xdr_replymsg() might fail
partway through its attempt to decode the result structure sent by
the server. If this happens, it can leave the result partially
populated with dynamically allocated memory. In this event, the
xdr_replymsg() failure is detected and RPC_CANTDECODERES is returned,
but the memory in the partially populated result struct is not
free()d.

The end result is that memory is leaked when an RPC_CANTDECODERES
error occurs. (This condition can occur if a CLIENT * handle is created
using clntudp_bufcreate() with a receive buffer size that is too small
to handle the result sent by the server.)

Fixed by setting reply_xdrs.x_op to XDR_FREE and calling
xdr_replymsg() again to free the memory if an RPC_CANTDECODERES error
is detected.

I suspect that the clnt_tcp.c, clnt_unix.c and clnt_raw.c modules
may ha a similar problem, but I haven't duplicated the condition with
those yet.

Found by: dbmalloc

26 years agoRemove yet another superfluous file.
jraynard [Sun, 26 Oct 1997 12:53:16 +0000 (12:53 +0000)]
Remove yet another superfluous file.

26 years agotypo.
wosch [Sun, 26 Oct 1997 12:51:30 +0000 (12:51 +0000)]
typo.

26 years agoUse croation week day name. This avoid a name clash
wosch [Sun, 26 Oct 1997 12:48:50 +0000 (12:48 +0000)]
Use croation week day name. This avoid a name clash
between `Subota' and `Sunday'.
         ^^           ^^

Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>

26 years agoCosmetic:
brian [Sun, 26 Oct 1997 12:42:13 +0000 (12:42 +0000)]
Cosmetic:
  Move prototypes into the correct headers.

26 years agoChange the initial amount of memory allocated for pv_entries to be proportional
dyson [Sun, 26 Oct 1997 12:33:39 +0000 (12:33 +0000)]
Change the initial amount of memory allocated for pv_entries to be proportional
to the amount of system memory.  Also, clean-up some of the new pv_entry
mgmt code.

26 years agoAdd -funsigned-char to CFLAGS (for ctype macros)
ache [Sun, 26 Oct 1997 12:20:45 +0000 (12:20 +0000)]
Add -funsigned-char to CFLAGS (for ctype macros)

26 years agoBack out mode (unsigned char)...
ache [Sun, 26 Oct 1997 12:17:33 +0000 (12:17 +0000)]
Back out mode (unsigned char)...

26 years agoBack out (unsigned char) cast, will use -funsigned-char instead
ache [Sun, 26 Oct 1997 12:14:54 +0000 (12:14 +0000)]
Back out (unsigned char) cast, will use -funsigned-char instead