Alan Cox
e293dc860c
In aio_waitcomplete() correct two cases of using an aiocb after freeing it.
2005-06-02 23:14:38 +00:00
Peter Wemm
d97f4741a4
Document the previously existing RELENG_[45]_* security branch locks.
...
Approved by: core (quite a while ago)
2005-06-02 22:57:30 +00:00
Peter Wemm
072f68a7c4
Add a 'statement of intent' blurb to the top of MAINTAINERS. Split
...
the role of MAINTAINERS into advisory and strict parts. Introduce a
new LOCKS file to document enforced locked parts of the tree.
Strict locks are only added with core approval and will generally
have a renewal timeout.
Clarify that the source tree is a community effort, not a place to stake
out 'turf'.
This will be refined as needed.
With-core-hat-on: Yes
2005-06-02 21:28:33 +00:00
Marcel Moolenaar
d4337d869f
Fix the load64 and store64 macros, created to handle 8-byte unaligned
...
loads and stores (resp.) The ldq_u and stq_u instruction mask off the
lower 3 bits of the final address before loading from or storing to
the address, so as to avoid unaligned loads and stores. They do not
themselves allow loads from or stores to unaligned addresses. Replace
the macro definitions by a packed struct dereference.
Submitted by: Richard Henderson (rth at twiddle dot net)
2005-06-02 05:34:08 +00:00
Sam Leffler
b50c8bde99
restore led state on resume
...
Submitted by: markus
2005-06-02 03:18:55 +00:00
Tai-hwa Liang
566c1555c6
Honouring current authmode setting. With this patch, my wi card can now
...
associate to an AP which uses shared WEP key authentication.
Tested with: "ifconfig wi0 authmode shared"
Reviewed by: imp, sam
2005-06-02 01:51:16 +00:00
Ian Dowse
ba5da2a06f
Use IFF_LOCKGIANT/IFF_UNLOCKGIANT around calls to the interface
...
if_ioctl routine. This should fix a number of code paths through
soo_ioctl() that could call into Giant-locked network drivers without
first acquiring Giant.
2005-06-02 00:04:08 +00:00
Eivind Eklund
e1d27f08f1
Back out revision 1.19 and 1.20 until I find mental clarity to deal with
...
issues bde pointed out.
2005-06-01 20:34:06 +00:00
Brad Davis
e8a296f5e5
Add myself as a new committer.
...
Approved by: ceri (mentor)
2005-06-01 18:29:50 +00:00
Scott Long
e462283052
Provide missing implementations for archive_entry_ctime() and
...
archive_entry_ctime_nano()
2005-06-01 18:20:02 +00:00
Alan Cox
f0e5132053
Giant is no longer required in kern_setrlimit(); remove its acquisition and
...
release.
Reviewed by: jhb
2005-06-01 17:52:51 +00:00
John Baldwin
e2d8b255c9
Allow the VESA code to handle devices that don't claim to be VGA devices.
...
This fixes VESA support when running under vmware.
PR: i386/81445
Submitted by: Jia-Shiun Li jiashiun at gmail dot com
MFC after: 1 week
2005-06-01 16:02:39 +00:00
Tim Kientzle
0f412b97da
Remove the C99-specific __func__ that is one of the few barrier to
...
compiling on IRIX and Solaris. Remove the "archive_check_magic" macro
that existed only to provide __func__ to the underlying __archive_check_magic
function.
Thanks to: Darin Broady
MFC after: 14 days
2005-06-01 15:52:39 +00:00
Tim Kientzle
f65d1d5147
<Ooops> Two lines got dropped from the previous commit. Apologies.
...
MFC after: 14 days
2005-06-01 15:46:47 +00:00
Tim Kientzle
3a2a859dd4
A minor refinement to "pax" output: Remove suid/sgid/sticky bits
...
from mode before using mode for extended attributes entry, copy
mtime/atime/ctime to extended attributes entry so it's a little more
clear that it corresponds to the like-named regular entry.
MFC after: 14 days
2005-06-01 15:44:23 +00:00
David E. O'Brien
659e382f5b
Temperarly disable building in the bzip2 support by default so we can fit
...
on the i386 floppies. Sigh, I hate floppies.
2005-06-01 15:32:57 +00:00
John Baldwin
d14c0c076e
Fix some warnings on 64-bit archs.
...
Reviewed by: sam
2005-06-01 14:55:45 +00:00
John Baldwin
f1e1aa9ba2
Typo.
...
Submitted by: njl
2005-06-01 14:07:43 +00:00
Maxim Konovalov
42dc3715bb
o Teach login(1) to respect "hushlogin" and "nocheckmail" attributes
...
defined in user's $HOME/.login_conf.
PR: bin/75001
Submitted by: Rostislav Krasny
MFC after: 2 weeks
2005-06-01 12:23:06 +00:00
Robert Watson
303939942c
When aborting tcp_attach() due to a problem allocating or attaching the
...
tcpcb, lock the inpcb before calling in_pcbdetach() or in6_pcbdetach(),
as they expect the inpcb to be passed locked.
MFC after: 7 days
2005-06-01 12:14:56 +00:00
Robert Watson
e6e0b5ffd1
Assert tcbinfo lock, inpcb lock in tcp_disconnect().
...
Assert tcbinfo lock, inpcb lock in in tcp_usrclosed().
MFC after: 7 days
2005-06-01 12:08:15 +00:00
Robert Watson
e3d5315d01
Assert tcbinfo lock in tcp_drop() due to its call of tcp_close()
...
Assert tcbinfo lock in tcp_close() due to its call to in{,6}_detach()
Assert tcbinfo lock in tcp_drop_syn_sent() due to its call to tcp_drop()
MFC after: 7 days
2005-06-01 12:06:07 +00:00
Robert Watson
1e2d989d0d
Assert that tcbinfo is locked in tcp_input() before calling into
...
tcp_drop().
MFC after: 7 days
2005-06-01 12:03:18 +00:00
Robert Watson
416738a781
Assert the tcbinfo lock whenever tcp_close() is to be called by
...
tcp_input().
MFC after: 7 days
2005-06-01 11:49:14 +00:00
Robert Watson
7609aad7d9
Assert tcbinfo lock in tcp_attach(), as it is required; the caller
...
(tcp_usr_attach()) currently grabs it.
MFC after: 7 days
2005-06-01 11:44:43 +00:00
Robert Watson
fe6bfc3730
Commit correct version of previous commit (in_pcb.c:1.164). Use the
...
local variables as currently named.
MFC after: 7 days
2005-06-01 11:43:39 +00:00
Robert Watson
6b348152be
Assert pcbinfo lock in in_pcbdisconnect() and in_pcbdetach(), as the
...
global pcb lists are modified.
MFC after: 7 days
2005-06-01 11:39:42 +00:00
Robert Watson
3ca1570c82
Slight white space tweak.
...
MFC after: 7 days
2005-06-01 11:38:35 +00:00
Robert Watson
8a2aa63d7e
Lock udbinfo and inp before calling in6_pcbdetach() from udp6_abort().
...
MFC after: 1 week
2005-06-01 11:38:19 +00:00
Hartmut Brandt
5878452aa9
Add a test for escaped newline handling.
2005-06-01 11:26:47 +00:00
Hartmut Brandt
6772dd14cb
Add support for TODO tests. These are tests that are supposed to fail,
...
because of a make bug that should be fixed.
2005-06-01 11:25:38 +00:00
Robert Watson
277afaff66
De-spl UDP.
...
MFC after: 3 days
2005-06-01 11:24:00 +00:00
Xin LI
73ac45052f
Add a handy macro to represent null mount option, MOPT_NULL, and make
...
use of the macro in sbin/mount*'s, by replacing:
mopts[] = {
MOPT_STDOPTS,
{ NULL }
}
With:
mopts[] = {
MOPT_STDOPTS,
MOPT_NULL
}
This change will help to reduce the situation that we don't explicitly
initialize "struct mntopt"'s. It should not contribute to any
functional/logical changes as far as I can tell.
2005-06-01 09:39:36 +00:00
Tai-hwa Liang
7a3afb563c
Adding note about required firmware to save others time and frustration with
...
this device.
Obtained from: imp (if_iwi)
Encouraged by: damien
2005-06-01 07:13:21 +00:00
Scott Long
b1c56c68b0
Add a text description for the Intel IOP302/303 processors. Be slightly
...
more verbose about the allocation of RAM on the controller.
Sbumitted by: Jeremy Chadwick
PR: kern/81259
MFC-After: 3 days
2005-06-01 07:11:17 +00:00
Tai-hwa Liang
972d4b8211
Printing a warning once when trying to bring up interface before firmware load.
...
Obtained from: imp (if_iwi)
Reviewed by: damien
2005-06-01 01:54:00 +00:00
David E. O'Brien
9703393611
Don't use a patch w/in /usr/src. Programmatically change files when needed.
2005-05-31 22:16:49 +00:00
John Baldwin
4081108643
Don't enable I/O or memory mode in a device's command register if the BAR
...
we are processing has a base address of zero. Note that this will only
change behavior for devices where all the BARs of a given type have a base
address of 0 since we will enable the appropriate access when we encounter
the first BAR with a base that is not 0. Specifically, this allows certain
Toshiba laptops to no longer require 'hw.pci.enable_io_modes=0' to avoid
hangs during boot.
PR: kern/20040
PR: i386/63776 (possibly)
PR: i386/68900 (possibly)
PR: i386/74532 (possibly)
MFC after: 1 week
2005-05-31 21:33:33 +00:00
John Baldwin
71ed2c3c59
Add a missing const to alpha_setcurrdev() to quiet a warning.
2005-05-31 21:23:43 +00:00
John Baldwin
81c9a2099d
Change the type the buf arg to the strategy routines from void * to char *
...
to quiet some warnings.
2005-05-31 21:23:21 +00:00
John Baldwin
2d41a4e5c0
Whitespace.
2005-05-31 21:22:01 +00:00
Stefan Farfeleder
a4229919e2
Initialise `hex' at the top of the file, ISO C requires that an array with
...
internal linkage has a complete type.
2005-05-31 21:19:14 +00:00
David E. O'Brien
264d3e6b45
Put bzip2 support on equal footing with gzip support.
...
Enable bzip2 support by default, set LOADER_NO_BZIP2_SUPPORT to disable it.
Pointy hat to: sobomax
2005-05-31 21:16:50 +00:00
David E. O'Brien
c0a87c26b3
Back out revision 1.51, it is wrong. We don't litter -I's within lib
...
Makefiles to get headers from /usr/src vs. the standard include paths.
2005-05-31 20:39:53 +00:00
Stefan Farfeleder
92e7a424c5
Remove #ident directives, they don't exist on the vendor branch anymore.
2005-05-31 20:28:49 +00:00
David E. O'Brien
d27006c826
Reassert some maintainership. People aren't using good judgment.
2005-05-31 20:12:59 +00:00
Stefan Farfeleder
e5bcd63edb
Use __FBSDID() over #ident.
2005-05-31 20:07:46 +00:00
John Baldwin
ac0a0594f6
Use %z to print size_t values.
2005-05-31 20:01:58 +00:00
John Baldwin
7ab17e6d01
Just use uintptr_t and intptr_t rather than requiring each arch to provide
...
explicit int/long typedefs.
2005-05-31 20:01:18 +00:00
Stefan Farfeleder
63f1737128
Move #ident into #if 0.
2005-05-31 20:00:29 +00:00