Commit Graph

58955 Commits

Author SHA1 Message Date
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
Andrey A. Chernov
d413a1b13b Add cons*u aliases to allow programs to determine exact code table via TERM
to use capabilities missing in termcap
2001-04-19 22:17:59 +00:00
Bruce A. Mah
a4d6eeb369 Fix a problem with tests of the form "1.0" vs. "1.0a".
MFC candidate.

Pointed out by:		knu
2001-04-19 22:17:07 +00:00
Chris D. Faulhaber
51be6918b5 o Document UFS_ACL option
o Add link to src/sys/ufs/ufs/README.extattr for UFS_EXTATTR* options

Reviewed by:	rwatson
Obtained from:	TrustedBSD Project
2001-04-19 21:33:52 +00:00
Jeroen Ruigrok van der Werven
bfc4cb269a Who ever came up with the ${CFLAGS} need to be passed to lint?
We can now run make lint on src/bin at least.

I am sure Mark Murray has way more interesting fixes up his sleeve.
2001-04-19 19:45:19 +00:00
Maxim Sobolev
c5ab496267 Comment out vfs.vmiodirenable=0 by default, to prevent inproducing another
place where default sysctl value have to be tweaked if we ever would want
to switch kernel default to 1.

Submitted by:	dillon
2001-04-19 17:21:53 +00:00
John Baldwin
d8915a7f34 - Whoops, forgot to enable the clock lock in the spin order list on the
alpha.
- Change the Debugger() functions to pass in the real function name.
2001-04-19 15:49:54 +00:00
Jeroen Ruigrok van der Werven
998e62958c Change uses of mktemp() to mkstemp().
Call cc -E, not cpp, this allows lint to be unaware of any
machine-dependent defines that cc(1) may normally define.

Change fork() to vfork() and exit() to _exit().

Reuse temporary file so that multiple files passed can be processed without
problems.
2001-04-19 15:40:04 +00:00
Andrey A. Chernov
5199f8b803 Describe mousechar_start hook 2001-04-19 14:55:32 +00:00
Andrey A. Chernov
b9ea7307d3 Add mousechar_start hook
Reviewed by:	Nick Hibma <n_hibma@qubesoft.com>
2001-04-19 14:53:47 +00:00
Jeroen Ruigrok van der Werven
c7bee68f23 Change SYNOPSIS to use mdoc keeps.
Obtained from:	NetBSD
2001-04-19 14:48:36 +00:00
Jeroen Ruigrok van der Werven
4d380447f7 Fix some mdoc usage.
Obtained from:	NetBSD
2001-04-19 14:20:54 +00:00
Jeroen Ruigrok van der Werven
db52328cf6 Fix english grammar: then does -> than.
Obtained from:	NetBSD
2001-04-19 14:06:12 +00:00
Jeroen Ruigrok van der Werven
d808aefa49 Add a comma after e.g.. This syncs us more with NetBSD and looks more
aesthetically correct.

Obtained from:	NetBSD
2001-04-19 14:02:36 +00:00
Maxim Sobolev
1dd8bcf144 o Install sysctl.conf with all other *.conf files;
o put a note into sysctl.conf describing vfs.vmiodirenable knob.

OK'ed by:	alfred
2001-04-19 13:47:53 +00:00
Orion Hodson
5090c9953c Add power on to start sequence for 4.x kernels.
PR:		kern/26255
Submitted by:	WATANABE Kiyoshi <aab10490@pop16.odn.ne.jp>
2001-04-19 13:23:50 +00:00
Doug Rabson
2322ee63c2 Don't unwrap the function descriptor used as the callout argument to
fork_exit(). The MI version of fork_exit() needs a real function
descriptor, not a simple function pointer.
2001-04-19 12:35:47 +00:00
Doug Rabson
eed829bca9 Don't take the Giant mutex for clock interrupts. 2001-04-19 12:34:23 +00:00
Alfred Perlstein
3455a26dc3 Remove section from bugs that says we don't support client locks.
Pointed out by: Martin Blapp <mb@imp.ch>
2001-04-19 12:29:43 +00:00