Andrew Gallatin
62dbd2f29e
Block out all interrupts, even machine checks, for critical_enter()
...
This is will be required to prevent lowering the ipl when a critical_enter()
is present in the interrupt path when handling a machine check.
reviewed by: jhb
2001-04-21 21:44:39 +00:00
Dima Dorfman
3430b08c5f
mkisofs is in section 8, not section 1.
2001-04-21 21:14:52 +00:00
Ian Dowse
60caaee242
The introduction of IPv6 support from NetBSD's mountd invalidated
...
a number of assumptions related to the parsing of options in
/etc/exports, and missed a few necessary new error checks.
The main problems related to netmasks: an IPv6 network address
missing a netmask would result in the filesystem being exported to
the whole IPv6 world, non-continuous netmasks would be made continuous
without any warnings, and nothing prevented you specifying an IPv4
mask with an IPv6 address.
This change addresses these issues. As a side-effect we now store
netmasks in sockaddr structs (this matches the kernel interface,
and is closer to the way it used to be). Add a flag OP_HAVEMASK to
keep track of whether or not we have successfully got a mask from
any source. Replace some mask-related helper functions with versions
that use the sockaddr-based masks.
Also tidy up get_net() and fix the code that interprets IPv4 partial
networks such as "127.1" as network rather than host addresses.
Properly zero out some structures that were ending up partially
containing junk from the stack, fix a few formatting issues, and
add a comment noting some assumptions about export arguments.
2001-04-21 20:06:18 +00:00
Chris D. Faulhaber
d33d158eb5
Fix the cut'n'paste style bugs I introduced in rev 1.16
...
(spaces -> tab(s) in #define's)
2001-04-21 19:52:06 +00:00
Andrey A. Chernov
f1930dce8f
Fix typo in mousechar range
2001-04-21 16:28:29 +00:00
Andrey A. Chernov
557d3d1c9c
Fix typo in mouse_char range
2001-04-21 16:22:26 +00:00
Andrey A. Chernov
475693945d
Upper limit of mousechar start is UCHAR_MAX - 3, not UCHAR_MAX - 4
...
Restore original characters when mousechar start changes, not always 0-3
PR: 24437
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2001-04-21 14:11:48 +00:00
Warner Losh
4d98b7a61b
My fix to NEWCARD for getting the function type broke oldcard due to
...
a name conflict.
Pointed out by: markm
# I had to login to freefall to make this commit, so something maybe up
2001-04-21 14:10:32 +00:00
Andrey A. Chernov
e4ef2fa234
Proper upper limit for mousechar start is UCHAR_MAX - 3, not UCHAR_MAX
...
PR: 24437
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2001-04-21 13:50:32 +00:00
Andrey A. Chernov
ad6931f954
Sync with main v1.105
2001-04-21 13:27:05 +00:00
Andrey A. Chernov
3d30f086d0
cons25w: cosmetique, move all bolean and numeric capabilities to the top
...
of the entry for easy reading
2001-04-21 13:25:35 +00:00
Jeroen Ruigrok van der Werven
16a10d334e
Aesthetics: fix placement of $NetBSD$ (use space instead of tab)
2001-04-21 11:17:44 +00:00
Warner Losh
04a3a05381
Set the device name for NEC PC98 PCMCIA Controller on boot.
...
# We really need to allocate i/o ports for it, but I need to learn
# the pc98 bus space better before attempting that.
2001-04-21 07:08:03 +00:00
Gregory Neil Shapiro
cd7926424f
Fix a typo
2001-04-21 06:13:03 +00:00
Gregory Neil Shapiro
a9b474f1ed
Add a note about the new ip6fw(8) abilities.
2001-04-21 05:34:06 +00:00
Warner Losh
dc8e185f93
Add accessor/ivar for the "function". This is so we can generically
...
match disks and serial ports and maybe others.
2001-04-21 04:08:39 +00:00
Mike Smith
b8ce799cc4
Avoid divide-by-zero for devices that the adapter has not negotiated a
...
transfer speed with.
2001-04-21 04:08:26 +00:00
Greg Lehey
ccd58ea72d
Add entry for swdog, Sitara Networks' watchdog timer.
...
Submitted by: John Hood <jhood@sitaranetworks.com>
2001-04-21 03:09:42 +00:00
Warner Losh
19f1fe42e6
Only try to delete the resource if we actually got it.
2001-04-21 02:29:09 +00:00
John Baldwin
9d4f526475
Spelling nit: acquring -> acquiring.
...
Reported by: T. William Wells <bill@twwells.com>
2001-04-21 01:50:32 +00:00
Ian Dowse
69d6557226
Fix a long-standing bug relating to the handling of SIGHUP: mountd
...
would call malloc, stdio and other library functions from the signal
handler which is not safe due to reentrancy problems.
Instead, add a simple handler that just sets a flag, and call the
more complex function from main() when necessary. Unfortunately to
be able to check this flag, we must expand the svc_run() call, but
the RPC library makes that relatively easy to do.
2001-04-21 00:55:17 +00:00
Mike Smith
0fb0f418bc
Turn on devinfo(8)
2001-04-21 00:13:57 +00:00
Mike Smith
ce7894ee6d
Simple tool to print the device tree and resource usage by devices. Also
...
serves as an example of libdevinfo usage.
2001-04-21 00:13:25 +00:00
Mike Smith
bd2bae03ed
Turn on libdevinfo
2001-04-21 00:11:00 +00:00
Brian S. Dean
58d3c43935
Eliminate the null mount for /etc for diskless clients.
2001-04-20 23:10:11 +00:00
Mike Smith
fcc069af4a
devinfo_var.h should not be in INCS
2001-04-20 23:10:09 +00:00
Mike Smith
bd90461b59
More typo fixes, .Os -> .Fx
2001-04-20 23:02:52 +00:00
Mike Smith
66f21806ad
typo .Fr -> .Fn
2001-04-20 23:00:24 +00:00
Dima Dorfman
d0b272038e
Remove references to block devices.
...
PR: 26734
Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
2001-04-20 22:57:29 +00:00
Mike Smith
09247921e5
Add a manpage for libdevinfo.
2001-04-20 22:48:12 +00:00
Alfred Perlstein
98689e1e70
Assert that when using an interlock mutex it is not recursed when lockmgr()
...
is called.
Ok'd by: jhb
2001-04-20 22:38:40 +00:00
Alfred Perlstein
38bb635d3d
add a comment to note that a process's vmspace may change, but so far
...
only aiod does this and is also marked P_SYSTEM, the locations that
reference p->p_vmspace usually do it within the context of the caller,
the async access from the vm system is protected by the fact that it
will skip over P_SYSTEM processes.
Ok'd by: jhb
2001-04-20 22:34:48 +00:00
David E. O'Brien
f2313eed6f
Style changes. Not purfect, but closer to other Makefiles in the tree.
...
Approved by: fenner
2001-04-20 17:30:12 +00:00
Jordan K. Hubbard
c764454fde
Add Greece to the FTP mirror list.
...
Submitted by: Konstantinos Konstantinidis <kkonstan@duth.gr>
PR: 26073
2001-04-20 15:04:59 +00:00
Akinori MUSHA
5c10c492a4
Correct and update Japanese holidays.
...
PR: misc/26703
Submitted by: SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
2001-04-20 13:44:21 +00:00
Jesper Skriver
d1745f454d
Say goodbye to TCP_COMPAT_42
...
Reviewed by: wollman
Requested by: wollman
2001-04-20 11:58:56 +00:00
Wolfram Schneider
66542ee60d
FOO -> FreeBSD
...
Submitted by: andrew@ugh.net.au
2001-04-20 10:31:25 +00:00
Jeroen Ruigrok van der Werven
1b1990f6e2
Properly constify the rcsid[].
2001-04-20 09:43:30 +00:00
Jeroen Ruigrok van der Werven
30fb1fac8d
Add $FreeBSD$ to the files which didn't have it yet.
...
Fix the .c files, so that the $FreeBSD$ is contained within the rcsid. [bde]
2001-04-20 09:33:57 +00:00
Hajimu UMEMOTO
d23d305519
Fix typo in previous commit.
...
Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
2001-04-20 08:43:20 +00:00
David E. O'Brien
0ab26f0af0
"ZZ"ed before done with in rev 1.7 commit message:
...
PR: 24146
Submitted by: Thomas Zenker <thz@lennartz-electronic.de>
2001-04-20 07:42:44 +00:00
David E. O'Brien
0a8bb16255
Fix damage I did in rev 1.4 that broke formatting this example:
...
void foo(struct bar *bar) { return 0; }
2001-04-20 07:41:23 +00:00
Mike Smith
a2e6df2951
This is the Device Information Library, libdevinfo.
...
The devinfo library provides access to the kernel's internal device
hierarchy and to the I/O resource manager. The library uses a
sysctl(9) interface to obtain a snapshot of the kernel's state which
is then made available to the application.
2001-04-20 05:53:30 +00:00
Dima Dorfman
f444a4c57a
Fix miscellaneous spelling and grammar errors.
...
PR: 26672
Submitted by: Seth <seth@psychotic.aberrant.org>
2001-04-20 03:49:07 +00:00
John Baldwin
242d02a13f
Make the ap_boot_mtx mutex static.
2001-04-20 01:09:05 +00:00
John Baldwin
882796f8c2
Split up the db_printf's for 'show pcpu' so that we only output at most one
...
line for each db_printf(). Also, just use spaces to line the columns up
rather than trying to be fancy with tabs.
2001-04-20 01:08:27 +00:00
Andrew Gallatin
29b3d1c151
GC some debugging code that's been #if 0'ed since we got the file from
...
NetBSD
2001-04-20 00:55:21 +00:00
Hajimu UMEMOTO
8d64298407
- Fix to receive icmp6 echo reply within the host itself to ff02::1.
...
- Fix to receive icmp6 echo reply to link-local of itself.
Reported by: Eriya Akasaka <eakasaka@rodfbs.org>
Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
2001-04-19 23:51:20 +00:00
David E. O'Brien
c612c69dc7
style(9) edit.
...
Prompted by email from: dfr
2001-04-19 23:15:06 +00:00
Andrey A. Chernov
f3312e5d3f
Sync with main termcap
2001-04-19 22:21:18 +00:00