drochner
b2058e2f38
Fix handling of privileges - the gid was given up before dkinit()
...
was called.
Pass the gid to use for KVM access explicitely to dkinit(), the caller
decides whether to call setgid(getgid()) or not.
1998-07-19 17:47:07 +00:00
mrg
47abaab886
- KNF
...
- use snprintf
- don't overwrite the keyboard buffer (and make this sized on
the window size).
1998-07-12 05:59:00 +00:00
mrg
2beab49a06
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
lukem
9ccb9cd874
fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/
1997-10-19 23:36:20 +00:00
mrg
5941399374
- some KNF.
...
- use __RCSID().
- WARNS=1
1997-07-21 07:04:56 +00:00
explorer
a030e0a1ae
Message buffer passed to kvm_openfiles() should _POSIX2_LINE_MAX long; PR#3266
1997-03-03 22:12:19 +00:00
scottr
823c2433dc
Freshen up a bit:
...
- Replace deprecated sigblock() with sigprocmask()
- Redraw the current display if SIGWINCH is caught
- Style police
1996-12-13 19:26:18 +00:00
thorpej
1eaf5ee379
New userland code to read the statistics kept by the NetBSD generic
...
disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
1996-05-10 23:16:30 +00:00
jtc
cac62b2d65
Be pedantic, main() returns int in C.
1996-03-21 17:56:15 +00:00
jtc
86f36c2670
Print error message and exit if TERM is not set.
...
From PR #1015 .
1995-05-06 06:25:07 +00:00
cgd
5cac5e9c7c
various includes, casts, and cleanups...
1995-04-29 05:54:42 +00:00
mycroft
05fc3892b3
Use err*(3)/warn*(3).
1995-03-22 15:25:56 +00:00
mycroft
73ab328b89
Don't core dump on an illegal display type. Display a more specific error
...
message for an ambiguous type.
1995-03-22 15:20:31 +00:00
jtc
2f3cb7ae7d
Changed to conform to NetBSD's new RCS Id convention.
1995-01-20 08:51:48 +00:00
jtc
12749a2a84
imported from 44lite
1995-01-20 08:30:50 +00:00