Commit Graph

55419 Commits

Author SHA1 Message Date
obrien
a261119781 PowerPC platform-specific definitions.
Obtained from:	NetBSD (parts)
2001-01-01 23:19:22 +00:00
ben
7faabba778 Install sysinstall.8 as part of buildworld.
PR:		19818
Submitted by:	Brian Candler <B.Candler@pobox.com>
2001-01-01 23:17:11 +00:00
phk
f79ed3b7e2 Remove a bogus #ifdef KTR stanza.
Noticed by:	Alexander Langer <alex@big.endian.de>
2001-01-01 23:09:53 +00:00
phk
b7ed866b94 Add padding space and a version number to the md_ioctl structre for future
extension.

Add ability to create a preload disk giving an address and a length
(suggested by imp)

Fix bug relating to very small md(4) devices.

Update md.c copyright to reflect the status of code copied from vn.c.
(noticed by dillon)
2001-01-01 23:08:26 +00:00
obrien
d7a004c96f Shells for the atomic operations FreeBSD needs.
This is just waiting for a budding PowerPC ASM guy to fill in the blanks.
2001-01-01 23:06:59 +00:00
obrien
61880175c4 PowerPC platform-specific type definitions. 2001-01-01 22:43:52 +00:00
obrien
f060b6823c Sort some of the _BSD_* types. 2001-01-01 22:26:56 +00:00
obrien
db5db2e690 Update the e_machine values to include x86-64, PowerPC and [Strong]ARM;
and fix the Sparc values.  Also update the ELFOSABI list while I'm here.
2001-01-01 21:56:57 +00:00
obrien
eb987482f0 PowerPC specific ELF ABI definitions. 2001-01-01 21:54:48 +00:00
peter
bb20b7c63f Further tidy up the sbin/init and release builds. 2001-01-01 21:39:00 +00:00
obrien
da55259414 s/rsa0/sa0/g 2001-01-01 19:50:48 +00:00
phk
26488d2f7a This is not necessarily the correct fix, but at least sbin/init compiles
in a sterile environment like "make release"
2001-01-01 19:46:43 +00:00
ben
7ae2075697 Check that the hostname field in received packets is NUL-terminated. 2001-01-01 18:43:21 +00:00
mjacob
aed2c0bb20 Sanity check ptr for legal values so it is less likely
(but not impossible) to get stuck in an infinite loop.

Obtained from:	msmith@freebsd.org
2001-01-01 16:49:31 +00:00
deischen
5d88cdc41f Change prototype to getlogin_r to reflect recent change to its
implementation (conformance to '96 POSIX standard).
2001-01-01 13:35:04 +00:00
deischen
377f9a1bc1 Change the interface of getlogin_r to return an int. The former
interface was based on a draft version of POSIX whereas the final
(1996) version of POSIX specified that the error is returned.

While I'm here, fix getlogin_r so that it works for more than just
the first time it's called.

Reviewed by:	wes, wollman (man page)
2001-01-01 13:29:19 +00:00
phk
2874501997 Add a missing vnode_if.h.
Submitted by:	Jim Bloom <bloom@acm.org>
2001-01-01 11:28:32 +00:00
sobomax
05314eab55 We are now in the year 2001, so ajust copyrights.
Happy New Year!
2001-01-01 08:05:48 +00:00
ben
2ac7e08130 Make it a bit clearer that asprintf doesn't actually "return" a pointer in
the normal sense of the word, but does it through one of its arguments which
is a pointer to a pointer.

PR:		23717
Submitted by:	phk
2001-01-01 05:19:52 +00:00
jhb
66aebc014b Push down sched_lock in psignal(). sched_lock was being held across
recursive calls into psignal() as well as calls to signotify(),
forward_signal(), etc.
2001-01-01 02:31:08 +00:00
ache
edc0448e50 ru_SU -> ru_RU for nls too 2001-01-01 02:19:59 +00:00
jhb
0d72c15210 Add in a missing release of the proctree lock.
Submitted by:	Sja <sakari.jalovaara@eqonline.fi>
2001-01-01 02:19:51 +00:00
mjacob
616571ca75 Add a dopey makefile to do the tags dance, which is probably not perfect
but is better than nothing by a good deal.
2000-12-31 23:26:34 +00:00
mjacob
e0a0c42f7d there is no more miscfs/devfs 2000-12-31 23:12:20 +00:00
mjacob
be6c47884c Fix problems with incomplete conversions from printf to isp_prt. 2000-12-31 20:50:56 +00:00
mjacob
f2130a7ecd Oops, I'm such an idiot. For reasons I don't really agree with,
all devices are by default known by their 'cooked' name, so
my change was wrong. I thought it was a hangover from old 'block
tape device' support which hasn't worked (if it ever did) since
v6/PWB.

So, the default tape name is now the same as Linux. Far out, man....
2000-12-31 20:29:56 +00:00
ghelmer
98627c581c In call to realloc, pass the number of bytes needed, not simply the
number of login time structures.

Forward the name of the deny capability rather than hard-coding it
in login_hostok.
2000-12-31 16:15:06 +00:00
phk
5a4fd1d919 ... and ru_RU.KOI8-R.
Remove ru_SU

Forgotten by:	phantom on 2000/12/29 14:58:01
2000-12-31 15:08:14 +00:00
phk
67853006ee Add ru_RU.ISO_8859-5 also. 2000-12-31 15:06:08 +00:00
phk
f5d33e675c This is the first snapshot of the new all-singing-and-dancing md(4).
Using the mdconfig(8) program you can now configure memory disks
on malloc(9), swap or a file/vnode.  preloaded md disks also work
as usual.
2000-12-31 13:03:42 +00:00
phk
162e205b19 Add forgotten entry for ru_RU.CP866 to try to make make release work. 2000-12-31 12:02:55 +00:00
phk
989932f7b6 Use macro API to <sys/queue.h>
Submitted by:	Dima Dorfman <dima@unixfreak.org>
Reviewed by:	phk
2000-12-31 11:22:42 +00:00
phk
389eefdccf Improve cmdline parsing and messages.
Add a rudimentary man-page.  (I'm no mdoc wizard, feel free to attack my
mistakes and blunders)
2000-12-31 11:20:49 +00:00
phk
f67bb3c27f Use macro API to <sys/queue.h>
Submitted by:	"Peter Avalos" <pavalos@theshell.com>
Reviewed by:	/sbin/md5 [*]

[*] This line appears courtesy of Mr. Warner Losch, all rights reversed.
2000-12-31 10:28:01 +00:00
phk
5945da4512 Use macro API to <sys/queue.h> 2000-12-31 10:24:19 +00:00
phk
c9cc925e55 Add compress option at the instigation of rgrimes. 2000-12-31 10:22:52 +00:00
mjacob
0124b5a18f The default is /dev/nrsa0 (now), not /dev/nsa0. 2000-12-31 08:17:58 +00:00
mjacob
d9f3da5d48 Unbelievable how this slipped through. There is
no such device as /dev/nsa0. The DEFTAPE should
"/dev/nrsa0". *Groan*.
2000-12-31 08:17:19 +00:00
imp
0fcfcbed33 If the first argument doesn't start with '-' assume that it is an
interface.  This augments the default to an appropriate interface
code.

# These programs should be merged into ifconfig, ala NetBSD, but that's
# a fight for another day.

Idea from: OpenBSD
2000-12-31 01:51:23 +00:00
tanimura
7e96ac0272 Ignore a net interrupt if the corresponding handler is not
registered.

This fixes panic on my laptop where a spurious arp packet
is received when arp is not ready to run.
2000-12-31 01:31:55 +00:00
ps
cac1a1d20c Backout rev 1.57 & 1.58. While the previous revisions fixed
attaching to running processes, it completely breaks normal debugging.
A better fix is in the works, but cannot be properly tested until
the problem with gdb hanging the system in -current is solved.
2000-12-31 01:30:27 +00:00
dillon
679a4954b7 Imply -c when -S is specified, so 'vnconfig -s reserve -S 4 vn1' configures the
device as expected.
2000-12-31 01:27:55 +00:00
dillon
2309003af3 Fix a lockup problem that occurs with 'cvs update'. specfs's fsync can
get into the same sort of infinite loop that ffs's fsync used to get
into, probably due to background bitmap writes.  The solution is
the same.
2000-12-30 23:32:24 +00:00
phk
660c62c6ff Use macro API for <sys/queue.h> 2000-12-30 22:06:19 +00:00
phk
b3f5dc2765 My bad, committed the submitted patch rather than the fixed patch. 2000-12-30 21:56:18 +00:00
ben
7f9795769e Use macro API to <sys/queue.h> 2000-12-30 21:52:34 +00:00
phk
75388b9fa6 Use macro API to <sys/queue.h>
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	phk
2000-12-30 21:22:54 +00:00
phk
0895ed08bd Use macro API to <sys/queue.h>
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	phk
2000-12-30 21:17:03 +00:00
phk
f1fc52594b Use macro API to <sys/queue.h>
Submitted by:	"Peter Avalos" <pavalos@theshell.com>
Reviewed by:	/sbin/md5
2000-12-30 21:05:45 +00:00
phk
2e74acb55c Use macro API to <sys/queue.h>
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	/sbin/md5
2000-12-30 21:02:25 +00:00