jtc
e1cfddbd32
Copyright has been assigned to The NetBSD Foundation
1996-09-25 00:53:45 +00:00
ghudson
e312e1563e
Don't canonicalize relative paths to the source tree any more; libkern
...
and libcompat can handle them as long as they begin with '.'. If a
relative path doesn't begin with '.', add a "./" before it.
1996-09-23 05:04:23 +00:00
perry
d8e1329af8
close out pr 2771, which added a -s ("secure") flag to lpd -- makes
...
lpd run in a mode where the it listens only to the local unix domain
socket and not to the network. Changes are similar but not identical
to the supplied patches.
1996-09-21 15:57:21 +00:00
explorer
30adb79d7d
reduce differences between 8.7.6 and netbsd's version
1996-09-20 14:39:36 +00:00
explorer
3c01a04f97
fix botched conf.c update
1996-09-20 02:03:19 +00:00
explorer
1391818caf
resolve conflicts
1996-09-20 02:00:51 +00:00
explorer
f5d93398cb
import sendmail 8.7.6, which fixes some security holes
1996-09-20 01:21:24 +00:00
cgd
cec83b8146
declare the variable "bad", used to hold errors, as a long, so it can
...
safely be xdr_long()ed.
1996-09-19 04:25:08 +00:00
explorer
c00fecf703
Update to 8.7.6 -- this is a well known attack, and in CERT Advisory CA-96.20
...
This should be in 1.2...
1996-09-19 02:52:09 +00:00
explorer
d77cb628d8
fix where tcpdump lives
1996-09-18 02:48:58 +00:00
mycroft
9312574c1f
Remove bogus setreuid() hack.
1996-09-17 15:03:01 +00:00
jtk
179716e7b0
bug fix: set fromlen to sizeof(from)
1996-09-17 00:46:31 +00:00
mycroft
6dbfdb34f7
Clear the sin_zero fields explicitly.
1996-09-16 17:22:04 +00:00
jtk
9869120050
add -o and -m options for owner/group and mode of the socket
1996-09-13 01:10:14 +00:00
explorer
4f6bc4307e
fix two security holes; recently posted to freebsd-bugs
1996-09-11 23:53:38 +00:00
explorer
d3a4eeb1fe
Fix some potential buffer overflow problems.
...
From David Holland <dholland@hcs.harvard.edu>
1996-09-07 21:05:37 +00:00
thorpej
cf8907875b
Add a missing "break;", pointed out by Chris Demetriou.
1996-09-05 23:29:22 +00:00
christos
b33b1aed5c
- for portability make sure that we never use "" as a pathname, always convert
...
it to "."
- include sockio.h if needed to define SIOCGIFCONF (for svr4)
- use POSIX signals and wait macros
- add -S silent flag, so that the client does not print messages unless there
is something wrong
- use flock or lockf as appropriate
- use fstatfs or fstatvfs to find out if a filesystem is mounted over nfs,
don't depend on the major() = 255 hack; it only works on legacy systems.
- use gzip -cf to make sure that gzip compresses the file even when the file
would expand.
- punt on defining vsnprintf if _IOSTRG is not defined; use sprintf...
To compile sup on systems other than NetBSD, you'll need a copy of daemon.c,
vis.c, vis.h and sys/cdefs.h. Maybe we should keep those in the distribution?
1996-09-05 16:50:01 +00:00
mycroft
6a6476be8b
Add a `-t' option to update time stamps.
1996-09-05 09:56:48 +00:00
mycroft
e73875ce0a
Only record sizes for regular files.
1996-09-05 09:24:19 +00:00
mycroft
8441b8f88d
Remove interrupt vector handling. This is done dynamically by all ports now.
1996-08-31 21:15:05 +00:00
mycroft
ab6ebadde6
Add source' and
build' directives, and corresponding options, per discussion
...
on tech-kern. (See man page.) Implementation by Greg Hudson.
Also, remove special case for i386 in vector handling, although this code isn't
actually used any more.
1996-08-31 20:58:16 +00:00
thorpej
52110e02f0
RCS id police.
1996-08-30 20:03:54 +00:00
jtk
16cc3ce6e6
fix for consistent comment names
1996-08-30 02:37:32 +00:00
jtk
b86b695240
add Advanced Power Management driver
...
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
1996-08-25 23:38:57 +00:00
explorer
1e7535e577
Do the timeout in bin/2701 a bit differently.
1996-08-16 21:36:18 +00:00
explorer
4022c55a29
Fix traceroute timeout problems and a printing problem. Closes pr bin/2701
1996-08-16 20:47:31 +00:00
chuck
3745979128
fix broken case statement for "-C", also check to make sure we've got
...
the proper number of args for -C and give up if not. fixes yp slave servers.
1996-08-15 22:17:57 +00:00
chuck
6ad546e352
fix printf format (%s -> %d) in yplog debug statement
1996-08-15 21:47:53 +00:00
explorer
0072cebdef
Add mailstats man page. From John M. Vinopal. Closes pr bin/2697.
...
I also mailed this to sendmail-bugs@sendmail.org , in hopes this won't
remain a local mod for long
1996-08-14 07:07:06 +00:00
mycroft
b9ae4a5e3f
Remove config-dependent' and
device-driver' flags.
1996-08-12 00:55:54 +00:00
explorer
2ff0386692
allow comments in chat scripts. pr misc/2450
1996-08-10 23:57:22 +00:00
explorer
22018a843b
Reference the new sl(4) page
1996-08-10 21:26:42 +00:00
explorer
75f3d0f63c
Reference the new ppp(4) page
1996-08-10 21:25:45 +00:00
explorer
aa3ab1608c
demand.c: fixed a very minor problem where the top of the file claimed
...
to be auth.c. pr bin/2539
main.c: don't try to delete pid file "", since that will end up being
a directory. pr bin/2388 and bin/2551
1996-08-10 20:39:35 +00:00
explorer
66917416dd
Fix printing over non-root-exported NFS at least.
...
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.
1996-08-10 20:09:19 +00:00
thorpej
7026126974
Alter the ypservers rule a bit to always make sure that this map
...
exists.
1996-08-09 21:04:32 +00:00
thorpej
e20d4be867
Add a rule for the `ypservers' map (the map containing a list of
...
slaves for the YP domain). This map is not built by default, but the
rule exists to make adding slave servers a bit easier.
1996-08-09 20:58:36 +00:00
thorpej
5bf41ee467
Error out if we can't determine the YP domain name to be used for
...
the RPC.
1996-08-09 20:24:34 +00:00
thorpej
34ca0ef5c8
Use the key, not the val from the datum when reading the `ypservers'
...
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.
1996-08-09 20:18:50 +00:00
thorpej
5c49628ed7
Remove hard-coded a /var/yp.
1996-08-09 15:16:30 +00:00
thorpej
012dde15fd
Install the Makefiles with mode 0644, not ${BINMODE}
1996-08-09 15:11:47 +00:00
thorpej
236743c464
Make this script a little more sane.
1996-08-09 15:09:04 +00:00
thorpej
eabc5cbaf3
Build rpc.yppasswdd and the ypserv suite.
1996-08-09 10:24:00 +00:00
thorpej
d3e1a3664e
An rpc.yppasswdd implmentation by Mats O Jansson, with some minor
...
cleanup and a race condition fix by me.
1996-08-09 10:19:48 +00:00
thorpej
60aa689c94
A ypserv implementation, originally written by Mats O Jansson, with
...
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
1996-08-09 10:14:49 +00:00
ws
35a18894f5
xdr_bool wants a bool_t (which happens to be an int32_t on our port)
...
and not a char
1996-07-25 18:53:43 +00:00
explorer
86cec79d01
Document the new autonice sysctls
1996-07-17 21:38:46 +00:00
thorpej
401810260a
-DDEAMON is no longer used, so remove it from CFLAGS.
1996-07-09 06:36:31 +00:00
thorpej
0d01b20301
Fix a misplaced #endif - if DEBUG wasn't defined, ypbind would never
...
detach from the controlling tty.
1996-07-09 06:34:12 +00:00
jtc
d7eb41bd8e
Changed to not use a compiled in table of baud rates. Evidently
...
there are some PC/Mac oriented devices that use non-standard speeds,
furthermore that's just not the way we do things anymore.
"Bad" baud rates are no longer caught with their own error message,
but the condition will still be diagnosed when the tcsetattr() fails.
1996-06-30 23:55:49 +00:00
jtc
fe16013cee
Fixed reversed inet_aton condition test; From PR #2579
1996-06-30 22:51:11 +00:00
thorpej
5ab89821de
Use sigemptyset() rather than frobbing the sa_mask directly.
1996-06-23 22:08:43 +00:00
christos
ebef85c991
Code cleanups.
...
- check malloc returns
- null terminate strncpy() strings
- use snprintf instead of sprintf
- pass the right arguments to the right functions
- check usage
- use err(3) and warn(3) instead of printfs.
1996-06-22 17:59:52 +00:00
gwr
f1d623f2f2
Some corrections regarding boot file and path (suggested by cgd)
1996-06-19 16:08:34 +00:00
gwr
587d8cc1f5
Explain why the HP printers fail and how to work around the problem.
1996-06-19 15:15:40 +00:00
gwr
2a6455604b
Minor fixes sent in since bootp-2.4.3 release:
...
Correct length arg to haddrtoa() in report of duplicate address.
The string value for a generic tag should not include the null.
(Including the null in reponses really annoys HP printers!)
When reading hardware addresses, allow colon separators
(only works if the whole H/W address is in quotes).
1996-06-19 14:52:34 +00:00
christos
bb531c94ea
General cleanup
1996-06-18 20:32:25 +00:00
briggs
14cd82db79
Minor formatting update.
1996-06-18 17:45:24 +00:00
briggs
3a5ebfc1d7
paths are specified as server:/path and the server and path are both
...
returned.
1996-06-18 17:30:16 +00:00
cgd
cb40dc44d0
two devices instances which are otherwise the same but do not attach
...
via the same attributes are _not_ the same, and should not be treated
as aliases of each other.
1996-06-17 18:21:35 +00:00
pk
fee478451f
/dev/printer' =>
/var/run/printer' (PR#2552).
...
Also, change `.Os 4.2' => `.Os 4.4' (this man page is from 4.4 lite), and
for now, refer to the "BSD 4.3 Line printer manual", because that is what
we now have in lpr/SMM.doc (SMM.doc needs updating too).
1996-06-16 22:36:59 +00:00
thorpej
01c816cc43
Add the `ac' device (auto-changer) to the isscsidev() macro. (I can't
...
believe that's been missing for so long!)
While I'm here, remove all of the non-hp300 cruft. The hp300 port is the
only thing that uses config.old(8) now'a'days. Yes, this is a little
embarassing.
1996-06-10 02:32:20 +00:00
thorpej
5ac89b5cd9
Discard setgid privileges if not reading the running kernel, as suggested
...
by Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2485 .
While I'm here, do some long-overdue cleanup, including function prototypes,
and update for modern libkvm interfaces.
1996-06-07 00:44:18 +00:00
mrg
0d3d973470
remove nstest/nsquery references.
1996-06-06 16:32:10 +00:00
is
565cd65355
Sync "iteconfig -h" output with reality and man page.
...
From Hubert Feyrer, #2444
1996-06-04 16:27:56 +00:00
thorpej
3e82f2c697
Fix typo that can cause ypbind to assume an error when one doesn't
...
actually exist if the server takes a dive.
1996-06-03 20:44:51 +00:00
thorpej
5bd844ce5d
Fix buglet in ypbindproc_domain_2() which caused:
...
ypbind; sleep 10; ypwhich
to fail (where failure is defined as ypwhich hangs until it gives up,
complaining about not being able to communicate with ypbind). Failure
mode pointed out by Chris G. Demetriou <cgd@cs.cmu.edu>.
1996-06-03 20:32:55 +00:00
cgd
60da050b90
fix session pointer field width: make it two characters wider.
...
(The alpha will use all 8 chars.)
NOTE: use of (addr & ~KERNBASE) is VERY bogus.
1996-06-03 19:00:23 +00:00
cgd
6b52790dd2
warnx() already outputs newline; warnings for undefined symbols don't
...
need an extra one.
1996-06-03 18:50:26 +00:00
pk
ef8fa9414c
Fix formatting errors.
...
Also: `PGRP' => 'PGID'; and update `SESS' and `PGID' descriptions.
1996-06-02 21:47:41 +00:00
mrg
a16f5e70fa
some minor fixes/additions.
1996-05-31 04:07:20 +00:00
cgd
02bcd4f0c5
fix minor bogons (pastos) in last change
1996-05-31 00:29:59 +00:00
cgd
56aad3355b
update documentation of what's in the DISC field output by pstat -t
1996-05-31 00:27:19 +00:00
cgd
f73f528c42
add case for STRIPDISC to the tty discipline printing code, so that
...
ttys running Metricom Wireless IP have their discipline printed nicely.
1996-05-31 00:09:38 +00:00
mrg
d3124e1c38
remove unnecessary test.
1996-05-30 23:33:16 +00:00
mrg
8493c7c772
pull in <paths.h> for _PATH_VARTMP.
1996-05-30 13:00:09 +00:00
mrg
0fae2c6fbd
oops. print pstat -t header.
1996-05-30 08:08:27 +00:00
mrg
956fd533da
use new ttylist to get tty stats.
1996-05-30 05:45:45 +00:00
thorpej
eb46d3c03e
Pull down yp/xdr fixes from release branch.
1996-05-29 20:11:10 +00:00
cgd
78dab63aec
update for changes in libpcap function prototypes (u_long -> u_int32_t)
1996-05-26 23:51:40 +00:00
fvdl
9ba6417ed1
Don't try to print an NFS packet over TCP when there's not enough space
...
for an RPC header (--> garbage && coredumps).
1996-05-26 18:35:14 +00:00
ws
021326698d
Fix PR 2462
...
While I am here do some reformatting, remove hardwired DEV_BSIZE values,
add old fs compatibility (stolen from libsa), and change to new RCSids.
1996-05-24 12:51:23 +00:00
mrg
30cdcc3b6b
pull in <unistd.h> to make lseek() work ...
1996-05-24 08:52:41 +00:00
fvdl
e5687b1276
Add PRECISE_SYMLINKS define (part of fix in PR #1917 )
1996-05-23 22:51:02 +00:00
fvdl
6dacd1c9e2
Oops. Forgot to commit the nfsv2.h -> nfs.h change.
1996-05-23 22:49:53 +00:00
mrg
8849e59abd
make some errors more verbose. inspired from pr#1509
1996-05-22 03:50:06 +00:00
mrg
8b5da257b3
CHAP is Challenge.... not Cryptographic.... (pr#2446)
1996-05-22 01:41:51 +00:00
mrg
64bd9cec8b
don't use gets(). pr#2254
1996-05-21 13:00:31 +00:00
mrg
4a908fb362
use ABRT not IOT for "ndc stats". pr#2241
1996-05-21 12:53:48 +00:00
mrg
290aca3136
use LOG_INFO to say NIS isn't running.
1996-05-21 11:03:14 +00:00
fvdl
d65ddbd4e0
Grok NFSv3 packets. Needs a bit of work but is ok for now. Enable dumping
...
of NFS packets over TCP. Upgrade to 3.0.4 while at it. 3.0.4 fixes previous
fix made to util.c too; 'official' fix applied instead (very minor difference).
Fixes to be sent to maintainers RSN.
1996-05-20 00:41:00 +00:00
is
0bc8c28078
Fix typo in last commit.
1996-05-19 20:17:42 +00:00
is
83f62ea033
Screenblank support:
...
- new fbio.h in arch/amiga/include, defining only FBIOSVIDEO
- add an IOCTL translation to arch/amiga/dev/grf.c
- add screenblank to the list of specials to build on amiga.
1996-05-19 20:06:02 +00:00
veego
26003d1ce4
print also the wrong mode number
1996-05-19 09:02:44 +00:00
cgd
b165a43791
update comment for KERNTEXTOFF -> kerntextoff changes.
1996-05-16 22:48:09 +00:00
gwr
36c3560196
Use the symbol "_kernel_text" if it exists, instead of KERNTEXTOFF.
...
This allows /usr/sbin/kvm_mkdb to be shared among m68k machines.
1996-05-16 21:17:21 +00:00
thorpej
7356f2c747
Fix think-o in the code that deals with multiple field names passed
...
on the command line.
1996-05-16 16:00:55 +00:00
jtc
a65aba5bdb
Updated to use new password file functions in libutil.
...
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 23:19:09 +00:00
mrg
f485020d84
use BINDIR from ../../Makefile.inc
1996-05-14 13:55:47 +00:00