Don Lewis
dcbe050b29
Pre-wire the output buffer so that sysctl_kern_function_list() doesn't
...
block in SYSCTL_OUT() while holding a lock.
2002-07-22 08:28:09 +00:00
Don Lewis
0600730d73
Provide a way for sysctl handlers to pre-wire their output buffer before
...
they grab a lock so that they don't block in SYSCTL_OUT() with the lock
being held.
2002-07-22 08:25:37 +00:00
Yaroslav Tykhiy
e4648f051f
Fix one RFC 959 incompliance:
...
Double double-quotes in a PWD result
if they appear in the directory pathname.
PR: misc/18365
MFC after: 1 week
2002-07-22 07:41:14 +00:00
Warner Losh
bf038c87af
Copy cis strings into the kernel.
2002-07-22 06:58:24 +00:00
Warner Losh
e6e2fdce18
Copy manufacturer and version string into the kernel, and copy it to
...
the slot info. This brings OLDCARD's API much closer to NEWCARD and
will allow moving more information into the kernel from pccard.conf
for common drivers (ed).
2002-07-22 06:46:10 +00:00
Tim J. Robbins
776600e6de
Don't allow "||" or "&&" to be the first tokens of a command.
...
PR: 40386
MFC after: 2 weeks
2002-07-22 05:50:12 +00:00
Tim J. Robbins
c4232ceae7
Correct syntax error, remove the unescaped newline between "||" and the
...
command it is intended to test. pdksh and bash caught this syntax error,
sh(1) did not behave as intended.
PR: 40386
2002-07-22 05:35:59 +00:00
Robert Watson
b02aac465d
Teach discretionary access control methods for files about VAPPEND
...
and VALLPERM.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-22 03:57:07 +00:00
Robert Watson
ccac0940e1
Add VALLPERM, which is a mask of all the access control request permission
...
bits for vnodes passed to vaccess() and friends.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-22 03:51:09 +00:00
Robert Watson
230d10f631
Sort vnode access mode flags.
...
Add flags VSTAT, VAPPEND required for TrustedBSD.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-22 03:45:33 +00:00
Orion Hodson
7cf0e77a00
Move lock in pcm_chn_add() to after malloc.
...
PR: kern/40157
Submitted by: Dan Lukes <dan@obluda.cz>
2002-07-22 02:38:20 +00:00
Peter Wemm
0cd59a38ce
Move 'em' from files.i386 to files so that it is within reach of the
...
ia64 (tested) and pc98 (i386 based) platforms.
2002-07-22 01:11:16 +00:00
Peter Wemm
d50f790fa4
No more NO_WERROR for the kernel. It's still possible though, but
...
seperate from NO_WERROR which is easily mixed up with in userland.
2002-07-22 00:21:17 +00:00
Peter Wemm
c19a8e0670
The transition time for -Werror has been gone for a while. We are now
...
sufficiently clean that we can fix any new problems or mark individual
files as not being ready for -Werror.
2002-07-22 00:15:01 +00:00
Peter Wemm
7c65416558
Make this compile.
...
uaudio.c:1822: warning: `uaudio_ctl_get' defined but not used
2002-07-22 00:11:35 +00:00
Peter Wemm
297c910258
Remove bktr.h/NBKTR. Set BKTR_FREEBSD_MODULE in opt_bktr.h instead.
2002-07-22 00:08:24 +00:00
Peter Wemm
2f3bead082
Remove stray function prototype. I wrote and removed this function but
...
forgot the prototype.
Submitted by: dd
2002-07-21 23:31:43 +00:00
Peter Wemm
4c8b385244
Add units to card, wdc, wcd, wst and wfd
2002-07-21 23:29:00 +00:00
Peter Wemm
51fabead55
Add unit counts for the i4b stuff where it still uses NFOO etc.
2002-07-21 23:23:14 +00:00
Peter Wemm
ee739cd16c
Add unit count to 'card'
2002-07-21 23:20:29 +00:00
Peter Wemm
d76dc9c3f3
pci/cy_pci.c is still MD, it needs i386/isa/cy.c for the core.
2002-07-21 23:15:41 +00:00
Peter Wemm
e8ec5ae1d8
Add static unit count to pci
2002-07-21 23:10:59 +00:00
Peter Wemm
d3abf70bbc
Add static unit count for 'card'
2002-07-21 23:09:48 +00:00
Peter Wemm
08240012f9
Add static unit count for pci here as well.
2002-07-21 23:09:15 +00:00
Peter Wemm
fc147d7fe9
Add explicit unit count on 'device pci' for ahc/ahd
2002-07-21 23:07:31 +00:00
Peter Wemm
4f52fbb1d8
Check for missing static unit 'count' declarations as well.
2002-07-21 23:02:35 +00:00
Peter Wemm
c06a33507a
The following devices do not take a static unit 'count' argument:
...
ar, fe, lnc, sr, wl, fpa, bktr, sbni
2002-07-21 22:28:43 +00:00
Peter Wemm
775d6c0ece
Check that we are not supplying 'device foo N' to devices that do not take
...
a statuc unit count.
2002-07-21 22:23:56 +00:00
Peter Wemm
995e4431de
Change bktr and smbus from 'count' back to 'optional'
2002-07-21 21:47:07 +00:00
Peter Wemm
b5d0be8951
Remove dependency on NPCI. Use 'options ATA_NOPCI' to compile without
...
pci support. This really needs to be fixed properly some day, but judging
by the fact that the nopci case hasn't compiled for quite a while, there
does not seem to be much urgency.
Reviewed by: sos
2002-07-21 21:37:09 +00:00
Ruslan Ermilov
397304fe4f
Moved `clean:' below, just before the inclusion of bsd.obj.mk,
...
so that CLEANFILES from bsd.man.mk and bsd.dep.mk are honored.
2002-07-21 21:22:45 +00:00
Alan Cox
2ad9827349
o Lock page queue accesses by vm_page_free() and vm_page_deactivate().
2002-07-21 21:20:57 +00:00
Ruslan Ermilov
2e9968fa36
Fixed improper SCRIPTS assignment that broke `clean'.
2002-07-21 21:03:47 +00:00
Alan Cox
ab9abe5d7e
o Lock page queue accesses by vm_page_free().
2002-07-21 20:38:45 +00:00
Robert Drehmel
d6d1eb5d18
Remove duplicated '__BEGIN_DECLS' which obviated compiling
...
C++ sources that use this header.
Reported by: Jan Stocker <Jan.Stocker@t-online.de>
2002-07-21 20:37:58 +00:00
Alan Cox
e0c9fdb50e
o Lock page queue accesses in nfs_getpages().
2002-07-21 20:01:32 +00:00
Hajimu UMEMOTO
9067589d53
be able to configure to run an IPv6 routing daemon even on
...
an end node (sync with rc.network6 1.30).
Approved by: gordon
2002-07-21 19:12:21 +00:00
Alan Cox
c1d5e2741e
o Lock page queue accesses by vm_page_free().
2002-07-21 19:06:46 +00:00
Nick Sayer
d807a231a2
Add uaudio -- a USB audio device driver.
...
This driver actually works slightly better on -stable than on -current
(the system locks on detach on -current), so it should be MFC'd somewhat
sooner.
This driver currently points out a difficulty in the sound device framework.
The PCM unregister routine is allowed to refuse the detach if the device is
in use. In the case of a USB device, however, this unregistration is much more
mandatory in nature, since the device is *actually* gone when this call is
made. The sound subsystem really should not refuse an unregistration and
should take its own steps to reject further I/O. As a result, if you detach
a USB sound device while it is in use, you can expect a panic shortly
thereafter.
This device cannot currently record audio. Some routines are unwritten as
of yet in uaudio.c to support recording.
This device hangs my -current box on detach. I don't know why. This does
not happen on my -stable machine.
Obtained from: Hiroyuki Aizu
MFC after: 2 weeks
2002-07-21 17:28:50 +00:00
Wolfram Schneider
45841b7025
Fix broken handbook links.
...
Submitted by: "Dipl.Phys. Andreas Hiltenkamp" <hiltenkamp@web.de>
2002-07-21 16:45:30 +00:00
Johan Karlsson
5b60674451
Save flags returned by vn_open and use them when calling vn_close.
...
Reviewed by: bde
Approved by: sheldonh (mentor)
2002-07-21 15:22:56 +00:00
Johan Karlsson
da2dc5cc61
Only use one %s when there is only one argument to print.
...
Submitted by: keramida
Approved by: sheldonh (mentor)
2002-07-21 15:11:32 +00:00
Philippe Charnier
0c9dd24bbb
Correct wrong grammar from previous commit. Note that fingerd is not limited
...
to being an interface to finger(1), see -p flag. Remove a reference to
name(?) program we don't have.
Submitted by: wollman
2002-07-21 13:02:13 +00:00
Philippe Charnier
75863a6dbb
Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc,
...
xstrdup. There is a crash() function that do cleaning before exiting the
program. The new functions are wrappers that make use of crash() in case
of allocation failure. warn, exit -> err.
Reviewed by: alfred
2002-07-21 12:55:04 +00:00
Philippe Charnier
53aa54b8bf
s/A last utility last appeared/A last utility appeared/ (horikawa).
...
Use .Pa for wtmp.
Submitted by: horikawa
2002-07-21 12:45:54 +00:00
Yaroslav Tykhiy
1b0e12d747
Allow deleting and renaming stale symlinks and
...
deleting symlinks pointing to directories.
PR: bin/37250
Submitted by: Nino Dehne <TeCeEm@gmx.de>
MFC after: 1 week
2002-07-21 12:06:56 +00:00
Seigo Tanimura
1b64ed3b5b
Do not pass a thread with the state TDS_RUNQ to setrunqueue(), otherwise
...
assertion in setrunqueue() fails.
2002-07-21 10:55:57 +00:00
Tim J. Robbins
2babaf74b5
Implement the P1003.2 `command' builtin command, which is used to suppress
...
shell function and alias lookup. The -p option has been implemented, the
UPE -v and -V options have not. The old `command' command has been renamed
to `builtin'.
2002-07-21 06:49:14 +00:00
Warner Losh
e300f53ca2
style(9)ize the whole file
...
Approved in concept a long time ago by: msmith
2002-07-21 05:35:42 +00:00
Warner Losh
8b5cc27046
Fix more abuse of __FreeBSD__ to detect version.
2002-07-21 05:34:14 +00:00