The problem here is setuid(euid) is used far too much. Since I removed
many of these calls, and added no new ones, I do not think this weakens
security. In fact, it quite likely improves it quite a bit, since
access() is called as the real userid, and the file is opened for printing
as the real userid rather than the (setuid-root) effective one.
Mostly, when someone specifies a partition entry like:
c: 1295850 0
or
g: 1295850 0 4.2BSD
disklabel would dump core. Now it generates a warning like it should
in the first case and complains about too few fields in the second.
Perhaps I should just default to unused in the first case, but this prevents
core dumps. (pr bin/2659)
the lowest bit set. This isn't any more or less valid according to the PCI
spec, but it deals with lame devices that don't implement all of the top
bits.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
Giles Lean <giles@nemeton.com.au> on the tech-net@NetBSD.ORG mailing
list. The rationale for this is that folks may be used to rdisc(8)
or in.rdisc(8) on other systems, and may not realize that NetBSD
implements ICMP Router Discovery in the routed(8) program.
- Add some prototypes and definitions for types as necessary,
wrapped in __NetBSD__ to maintain portability.
- Explicit size types in structures that go out the wire.
- RCS id police.
map. SunOS ypservers maps place the host name in the key and the val,
but HP-UX and NetBSD ypservers maps place the hostname only in the
key, leaving the val empty. Since there is no clear standard for this map,
best to play it safe.
a boot string for firmware that can do this, such as the SPARC and
the sun3 models. It is currently silently ignored on all other
hardware now, however. The MD function "boot()" has been changed to
also take a char *.
started if the directory /var/yp exists. Now, ypbind, ypserv, and
rpc.yppasswdd are started like other daemons; there are flags variables
for these programs. To disable them, set the variables to "NO", otherwise,
their contents are passed as flags.