| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Approved by: scottl (mentor)
|
|
|
|
|
|
| |
- Fix usage.
Approved by: scottl (mentor) (implicity)
|
|
|
|
| |
Use WARNS?= instead of WARNS=
|
|
|
|
| |
Approved by: scottl (mentor)
|
|
|
|
| |
MFC after: 4 days
|
| |
|
|
|
|
|
|
| |
Add -u(unit) option
Reviewed by: imp (mentor), ru
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Submitted by: Jon Noack <noackjr@alumni.rice.edu>
|
|
|
|
|
|
|
| |
Approved by: simon(mentor)
Reviewed by: ru
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
PR: docs/60044
|
|
|
|
|
| |
Approved by: scottl (mentor) (implicity)
Reviewed by: simon
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
the cdevsw{}.
Submitted by: tegge
|
| |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
use it too.
|
|
|
|
| |
all unistd.h functions, use _GETOPT_DECLARE define for that.
|
|
|
|
| |
getsubopt/optreset
|
|
|
|
| |
not in <unistd.h>
|
| |
|
|
|
|
|
|
|
| |
allocate via DRI on r128 devices.
Obtained from: Thomas Biege <thomas@suse.de>
Reviewed by: scottl
|
|
|
|
| |
not in <unistd.h>
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
u_long ** not u_long *.
|
|
|
|
|
| |
Allocating it with the wrong size could have caused corruption on
64-bit architectures.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
and pid.
|
| |
|
|
|
|
| |
and pid.
|
| |
|
|
|
|
|
|
|
| |
an integer type and the a cast to (void *) was added in the
definition of NULL for the kernel, we need to use 0 here instead.
Partly submitted by: cperciva
|
|
|
|
|
|
|
|
|
|
|
| |
Now I believe it is done in the right way.
Removed some XXMAC cases, we now assume 'high' integrity level for all
sysctls, except those with CTLFLAG_ANYBODY flag set. No more magic.
Reviewed by: rwatson
Approved by: rwatson, scottl (mentor)
Tested with: LINT (compilation), mac_biba(4) (functionality)
|
|
|
|
|
|
|
|
|
|
|
| |
nologin(8), this causes a considerable (100K) increase in the binary size,
so I've added a NO_LOGIN_LOG option which disables this.
While I'm here, s/sizeof(MESSAGE)/sizeof(MESSAGE) - 1/, in order to
avoid writing the string-terminating zero byte.
No complaints from: -current
Approved by: rwatson (mentor)
|
|
|
|
|
| |
Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor)
|
|
|
|
|
| |
Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor)
|
|
|
|
|
|
|
| |
two free commands.
Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor), scottl
|
|
|
|
|
| |
Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor), scottl
|
| |
|
| |
|
|
|
|
|
|
|
| |
could result in a dirty page being unintentionally freed.
Reviewed by: tegge
MFC after: 7 days
|
|
|
|
| |
will assume that syscalls will succeed rather than fail.
|
|
|
|
|
|
|
|
|
| |
with a memory mapped I/O range that's immediately before it and is
not 256MB aligned. As a result, when an address is accessed in the
memory mapped range and a direct mapping is added for it, it overlaps
with the pre-mapped I/O port space and causes a machine check.
Based on a patch from: arun@
|
|
|
|
|
|
|
| |
free it again.
Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor)
|
|
|
|
|
| |
Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor), ken (scsi@)
|