David E. O'Brien
68a2ed01fd
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
David E. O'Brien
a0ff0188c2
PowerPC specific ELF ABI definitions.
2001-01-01 21:54:48 +00:00
Peter Wemm
623d7cd30e
Further tidy up the sbin/init and release builds.
2001-01-01 21:39:00 +00:00
David E. O'Brien
29931e8454
s/rsa0/sa0/g
2001-01-01 19:50:48 +00:00
Poul-Henning Kamp
8440a01077
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 Smithurst
cfc038e79c
Check that the hostname field in received packets is NUL-terminated.
2001-01-01 18:43:21 +00:00
Matt Jacob
afd27fce94
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
Daniel Eischen
5bbc321312
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
Daniel Eischen
fc1d3c6dfb
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
Poul-Henning Kamp
924836d50e
Add a missing vnode_if.h.
...
Submitted by: Jim Bloom <bloom@acm.org>
2001-01-01 11:28:32 +00:00
Maxim Sobolev
1ed369095d
We are now in the year 2001, so ajust copyrights.
...
Happy New Year!
2001-01-01 08:05:48 +00:00
Ben Smithurst
7e7a6ec033
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
John Baldwin
4bfba0cf19
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
Andrey A. Chernov
30055cc993
ru_SU -> ru_RU for nls too
2001-01-01 02:19:59 +00:00
John Baldwin
ef8294075b
Add in a missing release of the proctree lock.
...
Submitted by: Sja <sakari.jalovaara@eqonline.fi>
2001-01-01 02:19:51 +00:00
Matt Jacob
32f73b1c3e
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
Matt Jacob
56f29ddd1e
there is no more miscfs/devfs
2000-12-31 23:12:20 +00:00
Matt Jacob
91f1caa2d8
Fix problems with incomplete conversions from printf to isp_prt.
2000-12-31 20:50:56 +00:00
Matt Jacob
23dc42d12f
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
Guy Helmer
4a4ecab1c6
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
Poul-Henning Kamp
aaf7f598ae
... 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
Poul-Henning Kamp
7566bcb0b7
Add ru_RU.ISO_8859-5 also.
2000-12-31 15:06:08 +00:00
Poul-Henning Kamp
8f8def9e2c
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
Poul-Henning Kamp
284f963cf5
Add forgotten entry for ru_RU.CP866 to try to make make release work.
2000-12-31 12:02:55 +00:00
Poul-Henning Kamp
3281461493
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
Poul-Henning Kamp
c2ef0b73df
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
Poul-Henning Kamp
f42abb1fef
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
Poul-Henning Kamp
49851cc706
Use macro API to <sys/queue.h>
2000-12-31 10:24:19 +00:00
Poul-Henning Kamp
e33941c787
Add compress option at the instigation of rgrimes.
2000-12-31 10:22:52 +00:00
Matt Jacob
95cb096e65
The default is /dev/nrsa0 (now), not /dev/nsa0.
2000-12-31 08:17:58 +00:00
Matt Jacob
dcf516de13
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
Warner Losh
b6e6d918c0
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
Seigo Tanimura
338c0bc664
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
Paul Saab
e9df486f0a
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
Matthew Dillon
10c2f24068
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
Matthew Dillon
08c0a67b2e
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
Poul-Henning Kamp
6214433089
Use macro API for <sys/queue.h>
2000-12-30 22:06:19 +00:00
Poul-Henning Kamp
1009e5708d
My bad, committed the submitted patch rather than the fixed patch.
2000-12-30 21:56:18 +00:00
Ben Smithurst
42680b3a78
Use macro API to <sys/queue.h>
2000-12-30 21:52:34 +00:00
Poul-Henning Kamp
4d51ef6343
Use macro API to <sys/queue.h>
...
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: phk
2000-12-30 21:22:54 +00:00
Poul-Henning Kamp
539d2b38e2
Use macro API to <sys/queue.h>
...
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: phk
2000-12-30 21:17:03 +00:00
Poul-Henning Kamp
32ff2662d1
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
Poul-Henning Kamp
baba280c68
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
Poul-Henning Kamp
2673ed4725
Use macro API to <sys/queue.h>
...
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: /sbin/md5
2000-12-30 20:56:04 +00:00
Poul-Henning Kamp
0d7b8d16dc
Use <sys/queue.h> macro API.
...
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: /sbin/md5
2000-12-30 20:40:16 +00:00
Bruce A. Mah
d4b6ae6159
Sync up the list of supported AMI MegaRAID controllers with reality.
...
Submitted by: msmith
2000-12-30 20:11:55 +00:00
Matt Jacob
56c6d0d775
Change the modification of what could be a const string. Apparently the
...
construct:
char *foo;
...
foo = "XXX";
...
foo[1] = 'Y';
is wrong. IT blew up on NetBSD-sparc64 because that platform write-protects
constant strings.
2000-12-30 20:09:26 +00:00
Ben Smithurst
b4660c3783
Remove comma after final .Nm entry before .Nd
2000-12-30 18:58:15 +00:00
Ben Smithurst
83c1fbc27f
Remove CIRCLEQ manual page links now that CIRCLEQ has been axed.
2000-12-30 18:54:35 +00:00
Brian Feldman
429d49129b
Fix a tailq conversion bug that resulted in, e.g., nvi crashing upon
...
quitting every time. The way to free a CIRCLEQ was to loop until
the current == current->head, but the way to free a TAILQ is to loop
until current->head == NULL.
In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks
and TAILQ_REMOVE()al of TAILQ_FIRST(). This bug wouldn't have happened
if the loop wasn't hard-coded...
There may be more bugs of this type from the conversion.
2000-12-30 16:10:32 +00:00