cvs update -j 1.3 kvm_getprocs.3
----------------------------
revision 1.3
date: 1995/06/25 03:35:49; author: bde; state: Exp; lines: +2 -1
41 headers must be implicitly included and one more (<sys/param.h>) must
be explicitly included before kvm_getprocs() can be used.
----------------------------
revision 1.2
date: 1995/06/24 18:53:09; author: joerg; state: Exp; lines: +9 -9
Update the man page for kvm_getprocs.3 to reflect our sysctl-based
kvm mechanism.
Submitted by: (Vic Abell) <abe@cc.purdue.edu>
----------------------------
some cases due to a subtle bug. Specifically, if you override
an NIS user's shell, /usr/bin/login and /usr/bin/su (and probably
other commands) can end up with bogus data for the pw_shell
member of the passwd structure *if* the do an endpwent(),
thereby preventing logins.
This happpens because the text fields in the passwd structure
(pw_name, pw_passwd, pw_gecos, pw_class, pw_dir and pw_shell)
are returned to the calling program as pointers to dycamically
allocated buffers, rather than pointers to static buffers as
they should be. Once endpwent() is called, the dynamic buffers
are free()ed, which invalidates the data returned by the
library functions.
Note: Bill promises a more elegant solution in post-2.0.5R. This fix
is only a work-around.
Submitted by: Bill Paul
ypbind.c:
Make fewer assumtions about the state of the dom_alive and dom_broadcasting
flags in roc_received().
If select() fails, use syslog() to report the error rather than perror().
Check that all our malloc()s succeed. Report malloc() failure in
ypbindproc_setdom_2() to callers.
yplib.c:
Use #defined constants in ypbinderr_string() rather than hard-coded values.
Remove bogus targets.
Allocate partition letters as follows:
lowest offset "flags & CHUNK_IS_ROOT" gets 'a',
lowest offset "subtype==FS_SWAP" gets 'b'
the rest is allocated in offset order from this sequence "defghab".
This will generally make sense.
Added rules to complain if more than one CHUNK_IS_ROOT or more than one
FS_SWAP per FreeBSD chunk.
Set CHUNK_IS_ROOT on the 'a' partition in Open_Disk.
Run Fixup_Names in Open_Disk.