Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 07/06/1998 01:00:02
mrg
Mon Jul  6 00:50:19 PDT 1998
Update of /cvsroot/src/bin/ps
In directory nb00:/tmp/cvs-serv27055/bin/ps

Modified Files:
	ps.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:19 PDT 1998
Update of /cvsroot/src/sbin/ccdconfig
In directory nb00:/tmp/cvs-serv27055/sbin/ccdconfig

Modified Files:
	ccdconfig.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:19 PDT 1998
Update of /cvsroot/src/usr.bin/fstat
In directory nb00:/tmp/cvs-serv27055/usr.bin/fstat

Modified Files:
	fstat.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:19 PDT 1998
Update of /cvsroot/src/usr.bin/ipcs
In directory nb00:/tmp/cvs-serv27055/usr.bin/ipcs

Modified Files:
	ipcs.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:19 PDT 1998
Update of /cvsroot/src/usr.bin/netstat
In directory nb00:/tmp/cvs-serv27055/usr.bin/netstat

Modified Files:
	main.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:20 PDT 1998
Update of /cvsroot/src/usr.bin/nfsstat
In directory nb00:/tmp/cvs-serv27055/usr.bin/nfsstat

Modified Files:
	nfsstat.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:20 PDT 1998
Update of /cvsroot/src/usr.bin/vmstat
In directory nb00:/tmp/cvs-serv27055/usr.bin/vmstat

Modified Files:
	dkstats.c vmstat.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:20 PDT 1998
Update of /cvsroot/src/usr.bin/w
In directory nb00:/tmp/cvs-serv27055/usr.bin/w

Modified Files:
	w.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:20 PDT 1998
Update of /cvsroot/src/usr.sbin/slstats
In directory nb00:/tmp/cvs-serv27055/usr.sbin/slstats

Modified Files:
	slstats.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:21 PDT 1998
Update of /cvsroot/src/usr.sbin/trpt
In directory nb00:/tmp/cvs-serv27055/usr.sbin/trpt

Modified Files:
	trpt.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


mrg
Mon Jul  6 00:50:21 PDT 1998
Update of /cvsroot/src/usr.sbin/trsp
In directory nb00:/tmp/cvs-serv27055/usr.sbin/trsp

Modified Files:
	trsp.c 
Log Message:
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places


fair
Mon Jul  6 00:50:27 PDT 1998
Update of /cvsroot/src/gnu/usr.bin/tar
In directory nb00:/tmp/cvs-serv27076

Modified Files:
	buffer.c 
Log Message:
flush TTY input for "new volume" query, fix for PR#2212