Andrey A. Chernov
829a229d88
Add getopt_long_only() from OpenBSD and other OpenBSD cleanups
...
PR: 63173
Submitted by: Marius Strobl <marius@alchemy.franken.de>
2004-02-24 08:07:26 +00:00
Bruce Evans
63a97efcbb
Don't set d_flags twice. The second setting clobbered D_NOGIANT.
2004-02-24 04:35:44 +00:00
Bruce Evans
aa5191aa75
Fixed the latest unsortings of CPU_ENABLE_*.
2004-02-24 04:18:07 +00:00
Bruce Evans
c014f65858
Fixed missing libraries. This unbreaks the -DNO_DYNAMIC_ROOT and
...
-DNOSHARED=yes cases.
2004-02-24 03:46:12 +00:00
Colin Percival
28ef1f9814
Send birthday presents to Wadham College, Oxford. :)
...
Approved by: rwatson (mentor)
2004-02-24 01:44:47 +00:00
Colin Percival
14135e2cfe
Fix array overflow: If len=128, don't access [16] of a 16-byte IPv6
...
address, even if we subsequently ignore its value by applying a >>8
to it.
Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor), {ume, suz} (KAME)
2004-02-24 01:20:51 +00:00
Noriaki Mitsunaga
0973129743
PAO's work has been merged into FreeBSD not removed.
...
So remove the line.
Reviewed by: trhodes
2004-02-23 23:47:50 +00:00
Poul-Henning Kamp
8627329012
Fix typo.
...
Found by: imp
2004-02-23 23:39:42 +00:00
Christian Brueffer
7f69f64c25
Fix typo
2004-02-23 22:00:44 +00:00
Brian Feldman
7ce21b2023
Apply style(9).
...
Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com>
PR: bin/63283
2004-02-23 20:42:03 +00:00
Markus Brueffer
538d21bfb9
Add my birthday.
...
Approved by: arved (mentor)
2004-02-23 20:39:23 +00:00
Johan Karlsson
604d24db95
style.Makefile(5):
...
Use WARNS?= instead of WARNS=.
2004-02-23 20:25:27 +00:00
Roman Kurakin
cee1270c1a
Add support for Cronyx-Tau. For now I added only Tau-ISA files, system files
...
would be changed in next patches, after extra verifications.
Approved by: imp (mentor)
2004-02-23 20:19:00 +00:00
Johan Karlsson
b51049906c
style.Makefile:
...
Use WARNS?= instead of WARNS=.
2004-02-23 20:07:47 +00:00
Pawel Jakub Dawidek
8d2d29d96f
Connect gconcat(8) to the build.
...
Approved by: scottl (mentor)
2004-02-23 20:06:56 +00:00
Pawel Jakub Dawidek
53ddc946b8
- Connect manual page for gconcat utility to the build.
...
- Fix usage.
Approved by: scottl (mentor) (implicity)
2004-02-23 20:06:21 +00:00
Johan Karlsson
c8edef9f48
style.Makefile:
...
Use WARNS?= instead of WARNS=
2004-02-23 20:05:14 +00:00
Pawel Jakub Dawidek
f5ebf83f3f
Connect geom_concat.ko module to the build.
...
Approved by: scottl (mentor)
2004-02-23 20:03:53 +00:00
Joe Marcus Clarke
3105123c8b
Add ports-net-mgmt to the relevant supfiles.
...
MFC after: 4 days
2004-02-23 19:07:47 +00:00
Kirk McKusick
ecef42e1eb
A more accurate test in the new ufs_lock than that in 1.235.
2004-02-23 19:05:05 +00:00
Maksim Yevmenkin
13706e456a
Teach rfcomm_pppd(8) how to register Bluetooth LAN service with local sdpd(8)
...
Add -u(unit) option
Reviewed by: imp (mentor), ru
2004-02-23 17:30:59 +00:00
John Baldwin
1f220d57d6
Fix a problem with the USB keyboard driver not properly handling key
...
rollover resulting in duplicate keypress events.
PR: 57273
PR: 63171
Submitted by: plasma <plasma at freebsd.sinica.edu.tw>
Submitted by: Brian Candler <B.Candler at pobox.com>
MFC after: 1 week
2004-02-23 15:36:40 +00:00
Maxim Sobolev
fab1e69d80
Add missed CPU_ENABLE_LONGRON.
...
Submitted by: Jon Noack <noackjr@alumni.rice.edu>
2004-02-23 14:49:15 +00:00
Josef El-Rayes
474f8512ae
Add signal numbers to signal(3).
...
Approved by: simon(mentor)
Reviewed by: ru
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
PR: docs/60044
2004-02-23 13:20:03 +00:00
Pawel Jakub Dawidek
a78bd4726b
Added manual page for gconcat utility.
...
Approved by: scottl (mentor) (implicity)
Reviewed by: simon
2004-02-23 12:44:08 +00:00
Dag-Erling Smørgrav
24126ee089
Typo.
2004-02-23 09:08:27 +00:00
Poul-Henning Kamp
6fe9c1609f
Fix vinums cdevsw{} to initialize d_version.
...
The nonstandard formatting made my mega-patch scripts miss it.
Retire the static major number while we're here anyway.
Reported by: Niels Chr. Bank-Pedersen <ncbp@bank-pedersen.dk>
2004-02-23 08:55:13 +00:00
Poul-Henning Kamp
652d04726d
Fix two oversights here: don't trash the freelist, and properly cleanup
...
the cdevsw{}.
Submitted by: tegge
2004-02-23 08:42:55 +00:00
Andrey A. Chernov
05efcb983c
In the comment tell about optreset extension for NetBSD ghetopt_long()
2004-02-23 08:14:18 +00:00
Kirk McKusick
546a1660f0
In the function clear_inodedeps(), a FREE_LOCK() should be called
...
AFTER the call to vn_start_write(), not before it. Otherwise, it is
possible to unlock it multiple times if the vn_start_write() fails.
Submitted by: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
2004-02-23 06:56:31 +00:00
Kirk McKusick
6c053cec34
Change UFS from using vop_stdlock to using its own ufs_lock.
...
In ufs_lock, check for attempts to acquire shared locks on
snapshot files and change them to be exclusive locks. This
change eliminates deadlocks and machine lockups reported in
-current since most read requests started using shared lock
requests.
Submitted by: Jun Kuriyama <kuriyama@imgsrc.co.jp>
2004-02-23 06:40:17 +00:00
Andrey A. Chernov
75207c7a43
Add optarg, optind, opterr, optopt, optreset to SYNOPSYS
2004-02-23 05:07:11 +00:00
Andrey A. Chernov
de693dcb58
Add optreset to getopt.h too since NetBSD getopt_long() (but not GNU one)
...
use it too.
2004-02-23 04:51:07 +00:00
Andrey A. Chernov
1919b885d0
Try to better mimic GNU getopt.h which does not assume to make visible
...
all unistd.h functions, use _GETOPT_DECLARE define for that.
2004-02-23 04:17:59 +00:00
Andrey A. Chernov
3f52a8ab55
Fix comment: GNU getopt.h to which this header tries to mimic does not declare
...
getsubopt/optreset
2004-02-23 03:47:28 +00:00
Andrey A. Chernov
60fb481f43
POSIX clearly states that getsubopt() should be declared in <stdlib.h>
...
not in <unistd.h>
2004-02-23 03:32:10 +00:00
Andrey A. Chernov
f0d82b33be
Remove unneccessary <unistd.h>
2004-02-23 03:30:02 +00:00
Robert Watson
033d9ae179
Limit the amount of memory userspace processes can cause the kernel to
...
allocate via DRI on r128 devices.
Obtained from: Thomas Biege <thomas@suse.de>
Reviewed by: scottl
2004-02-23 03:18:18 +00:00
Andrey A. Chernov
8720578d06
POSIX clearly states that getsubopt() should be declared in <stdlib.h>,
...
not in <unistd.h>
2004-02-23 03:16:59 +00:00
Alan Cox
2c840b1f65
- Substitute bdone() and bwait() from vfs_bio.c for
...
swap_pager_putpages()'s buffer completion code. Note: the only
difference between swp_pager_sync_iodone() and bdone(), aside from
the locking in the latter, was the unnecessary clearing of B_ASYNC.
- Remove an unnecessary pmap_page_protect() from
swp_pager_async_iodone().
Reviewed by: tegge
2004-02-23 03:15:13 +00:00
Tim J. Robbins
f71cc8681b
Fix comment containing vop_readdir_args contents: a_cookies is really
...
u_long ** not u_long *.
2004-02-23 01:43:00 +00:00
Tim J. Robbins
224f219b31
cookies is an array of u_long, not u_int, so MALLOC() it accordingly.
...
Allocating it with the wrong size could have caused corruption on
64-bit architectures.
2004-02-23 01:40:46 +00:00
Brian Feldman
240160d48b
Correct some major SMP-harmful problems in the pipe implementation. First
...
of all, PIPE_EOF is not checked pervasively after everything that can drop
the pipe mutex and msleep(), so fix. Additionally, though it might not
harm anything, pipelock() and pipeunlock() are not used consistently.
Third, the kqueue support functions do not use the pipe mutex correctly.
Last, but absolutely not least, is a race: if pipe_busy is not set on
the closing side of the pipe, the other side that is trying to write to
that will crash BECAUSE PIPE_EOF IS NOT SET! Unconditionally set
PIPE_EOF, and get rid of all the lockups/crashes I have seen trying
to build ports.
2004-02-22 23:00:14 +00:00
Warner Losh
4689134363
Ye/PCI is supported by cy driver, so we don't need to assign a number to it.
2004-02-22 20:39:09 +00:00
Warner Losh
158b90da67
Add a note about cdevsw changes.
2004-02-22 19:02:38 +00:00
Daniel Eischen
f3e170bbdb
Update man page to reflect additional flag to allow selection of threads.
2004-02-22 18:12:56 +00:00
Daniel Eischen
d75c1d8381
Allow the -H option to show threads when selecting by uid, tty,
...
and pid.
2004-02-22 17:59:31 +00:00
Daniel Eischen
694127f89c
Teach kvm_getprocs() to recognize a sysctl flag for including threads.
2004-02-22 17:57:10 +00:00
Daniel Eischen
2648efa621
Add sysctls to allow showing threads for pgrp, tty, uid, ruid,
...
and pid.
2004-02-22 17:54:32 +00:00
Dag-Erling Smørgrav
648a7aae7f
Fix some cosmetic issues in warning and error messages.
2004-02-22 16:45:21 +00:00