Commit Graph

23454 Commits

Author SHA1 Message Date
ache
9fc764805c Change to reflect -current sleep implementation reality 1997-08-12 16:46:05 +00:00
ache
901a0bfcc8 Cleanup and use /usr/libdata/doscmd now 1997-08-12 16:08:02 +00:00
ache
884e91fe27 Add libdata/doscmd 1997-08-12 15:54:05 +00:00
ache
2a8b6ff057 Make itimerfix hack better: return the time we can't sleep at once 1997-08-12 15:46:05 +00:00
eivind
3112d8efee Fix fencepost error.
PR:		4170
Submitted by:	Harlan Stenn <Harlan.Stenn@pfcs.com>
1997-08-12 14:42:39 +00:00
asami
549abb682a Merge from -stable; NOTCL hook in beforeinstall. 1997-08-12 10:12:56 +00:00
kato
d0850efd52 Fixed vnode corruption by undefined case in union_lookup(). When
uerror == 0 && lerror == EACCES, lowervp == NULLVP and union_allocvp
doesn't find existing union node and new union node is created.

Sicne it is dificult to cover all the case, union_lookup always
returns when union_lookup1() returns EACCES.

Submitted by:	Naofumi Honda <honda@Kururu.math.sci.hokudai.ac.jp>
Obtained from:	NetBSD/pc98
1997-08-12 07:18:59 +00:00
charnier
ec86e12dab Use err(3) instead of local redefinition. Add prototypes. 1997-08-12 06:46:56 +00:00
charnier
6c11a55082 Add usage(). 1997-08-12 06:45:43 +00:00
charnier
bf47d95e0c Use err(3) instead of local redefinition. 1997-08-12 06:44:57 +00:00
sef
47bfe6b362 Check permissions for fp regs as well as normal regs. 1997-08-12 05:23:51 +00:00
kjc
a2d21c0047 Fix a traceroute problem in the CISCO HDLC mode. (cisco routers not
returning ICMP_TIMXCEED)

use CISCO_UNICAST instead of CISCO_MULTICAST to send normal packets.
this is needed for packets to get processed by a cisco router,
but doesn't matter if a packet is just forwarded.

Reviewed by:itojun@itojun.org
1997-08-12 05:22:54 +00:00
sef
ea579a477d Fix procfs security hole -- check permissions on meaningful I/Os (namely,
reading/writing of mem and regs).  Also have to check for the requesting
process being group KMEM -- this is a bit of a hack, but ps et al need it.

Reviewed by:	davidg
1997-08-12 04:34:30 +00:00
brian
4777af062a Use libalias.so.2.3. 1997-08-11 22:07:57 +00:00
brian
ab1e7a5996 Fix file descriptor leak.
Submitted by:	Charles Mott <cmott@srv.net>
Identified by:	Gordon Burditt
1997-08-11 22:05:10 +00:00
kato
d18cfb8af2 Synchronize with sys/i386/i386/userconfig.c revision 1.87. 1997-08-11 14:41:18 +00:00
jkh
3c74d22281 Add a SEE ALSO for install.cfg sample script. 1997-08-11 13:20:38 +00:00
jkh
a6a2ca12c2 Make some changes to the way the label editor reads script variables
so you don't need to re-enter it for each and every filesystem. Heads up!
This change is incompatible with the previous scripting format,
so those folks (all 2 of you) using config files should take a look
at the changes to the sample install.cfg file for the diskLabelEditor's
new calling syntax.

Finally write a man page for this thing, documenting all of the above
and more.  I can't drive a stake through this thing's heart without
properly documenting it first, so please consider this step #1 in that
process (to be honest, sysinstall will also live on for some time in
the 2.2. branch since it's unlikely that the new install tools will ever
make it over there - they're strictly 3.0 material).
1997-08-11 13:08:29 +00:00
jkh
ba6340d330 Make the CLI mode message a little less intimidating.
Suggested by:	Richard Underwood <ru@atticus.com>
1997-08-11 09:44:57 +00:00
se
01dae1c441 Fix problem in the DC390_DefaultEEprom subroutine, which could lead
to spurious wites outside an alloccated array in the case of generic
AMD SCSI cards.

PR:		kern/4217
Submitted by:	Erik H. Moe <ehm@cris.com>
1997-08-11 08:49:08 +00:00
charnier
59770b8246 Use err(3). 1997-08-11 07:31:28 +00:00
charnier
55429790ab Cosmetic in err() string. 1997-08-11 07:30:22 +00:00
charnier
9cf0d924dd Use err(3). Add prototype. 1997-08-11 07:29:17 +00:00
charnier
12409694bd Use err(3) instead of local redefinition. 1997-08-11 07:28:19 +00:00
charnier
44c0b1badf Use err(3). Add prototypes. 1997-08-11 07:27:27 +00:00
charnier
ce366c2c61 Cosmetic. 1997-08-11 07:22:04 +00:00
charnier
db6e9b0f81 Remove local redefinition for err(). Add usage(). 1997-08-11 07:21:08 +00:00
fenner
5555a73810 Add an ntohs() and format an IP address with inet_ntoa() when
printing the details of a received ICMP packet.

PR:		bin/3766
Submitted by:	denny1@home.com (Denton Gentry)
1997-08-11 04:33:07 +00:00
steve
c8b8aa249f Merge Lite2 changes.
PR:		bin/2599
Submitted by:	Julian Assange <proff@iq.org>
1997-08-11 04:23:05 +00:00
fenner
e4360f10b8 Fix typo: "send" -> "end"
PR:		bin/3474
Submitted by:	graphix@iastate.edu (Kent Vander Velden)
1997-08-11 04:19:11 +00:00
fenner
592cfec5fa Make "make-localhost" Y2K safe by using "date +%Y" instead of "date +%y"
to pick the serial number.

PR:		misc/3465
Submitted by:	sjr1@flash.net (Stephen J. Roznowski)
1997-08-11 04:06:49 +00:00
steve
6f3a8cdf64 Oops, add #include's (forgotten in last commit) to make this
compile again.
1997-08-11 02:41:02 +00:00
steve
c0576fc29d Use -I../../sys instead of -I/sys. 1997-08-11 02:36:09 +00:00
steve
2a27aabc95 Remove #ifdef NEWVM code and remove extra "key.name = p" line. 1997-08-11 02:35:16 +00:00
steve
6cd5fcd54b Fix seg fault when invalid keywords are used.
PR:		bin/4253
Submitted by:	Jesse Rosenstock <jmr@ugcs.caltech.edu>
1997-08-11 02:29:50 +00:00
steve
f880a4a55f Default size for FD_SETSIZE is 1024 not 256.
PR:		bin/4177
Submitted by:	Wolfgang Helbig <helbig@MX-BA.Stuttgart.De>
1997-08-11 01:31:30 +00:00
steve
b1d8579943 Mention vty* in the man page.
PR:		bin/3741
Submitted by:	Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
1997-08-11 01:25:06 +00:00
brian
2be4b0d434 Correct default log file name.
PR:		4065
Prompted by:	Steve Price <sprice@hiwaay.net>
Submitted by:	sjr1@flash.net
1997-08-10 22:03:20 +00:00
brian
69210a7693 - Buffer space problem found by Sergio Lenzi <lenzi@bsi.com.br>
fixed. Natd now waits with select(2) for buffer space
  to become available if write fails.
- Packet aliasing library upgraded to 2.2.

Submitted by:	Ari Suutari <suutari@iki.fi>
1997-08-10 21:55:52 +00:00
fsmp
d89f54f7a3 Oops, fix breakage to UP kernel. 1997-08-10 21:18:01 +00:00
fsmp
ce530fb8fa Added trap specific lock calls: get_fpu_lock, etc.
All resolve to the GIANT_LOCK at this time, it is purely a logical partitioning.
1997-08-10 20:59:07 +00:00
wpaul
1dfa4285cf Don't initialize structures from other variables; gcc -ansi -pedantic
doesn't allow it. Use proper constants instead.
1997-08-10 20:37:48 +00:00
fsmp
f76cbffb97 Cheap fix for kern/4255.
If the problem is seen this fix suggests a compile-time work-around then panics.
1997-08-10 19:32:38 +00:00
ache
cda69874ef Implement canonical locking protocol
Suggested by: joerg
1997-08-10 18:42:39 +00:00
sos
30859a202b Ops the arguments to copyin was in the wrong order..
This has survived since the first version, sigh.
1997-08-10 18:15:20 +00:00
brian
0c083de4cc Remove forgotten debug statement. 1997-08-10 16:37:33 +00:00
brian
e2cda524da Add "-f fmt date" for specification of the
date using strptime(3).
Suggested by: Michael Smith <msmith@atrad.adelaide.edu.au>

Change mm & dd to MM & DD so that they don't
clash with the month.
1997-08-10 16:36:59 +00:00
joerg
7c374e293d Implement the LCP fail_counter: if an option has been NAK'ed for more
than max_failures attempts, we are going to REJ it, to prevent endless
NAK loops.

(This is actually part of a larger local set of modifications i'm
running with, but the remainder (PAP & CHAP) ain't ready for prime-
time yet.)
1997-08-10 14:28:16 +00:00
joerg
b350688b28 If, in a level N dump, the file with the inode number X is a
non-directory file with more than one link to it, but in a level M > N
dump, the file with the inode number X is a plain file, "restore", when
restoring the level M dump, won't remove all the hard links to the old
file.

Submitted by:	guy@netapp.com (Guy Harris)
1997-08-10 14:19:13 +00:00
joerg
d50ebd355c Hack^H^H^H^Hworkaround for itimerfix(9) gratuitously limiting the
acceptable range for tv_sec to the magic number 100000000 (which at
least ought to be declared in a header file, and explained in the
non-existing man page, as well as in the existing man pages for
nanosleep(2) & Co.).

PR:		bin/4259
1997-08-10 12:16:13 +00:00