| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
I really don't want any pieces of code to include ioctl_compat.h, so let
the ibcs2 and svr4 compat leave sgtty alone. If they want to support
sgtty, they should emulate it on top of termios, not sgtty.
The code has been marked with BURN_BRIDGES for a long time. ibcs2 and
svr4 are not really popular pieces of code anyway.
Notes:
svn path=/head/; revision=191919
|
|
|
|
|
|
|
|
|
| |
macros to allow for future flexibility in logging.
Submitted by: zachary dot loafman at isilon dot com
Notes:
svn path=/head/; revision=191918
|
|
|
|
|
|
|
|
|
|
| |
into r191816.
Spotted by: bz
Approved by: julian (mentor) (an earlier version of the diff)
Notes:
svn path=/head/; revision=191917
|
|
|
|
|
|
|
|
| |
This change has no functional impact on nooptions VIMAGE builds.
Submitted by: bz
Notes:
svn path=/head/; revision=191916
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
virtualized instances of hostname and domainname, as well as a new top-level
virtualization struct vimage, which holds pointers to struct vnet and struct
vprocg. Struct vprocg is likely to become replaced in the near future with
a new jail management API import.
As a consequence of this change, change struct ucred to point to a struct
vimage, instead of directly pointing to a vnet.
Merge vnet / vimage / ucred refcounting infrastructure from p4 / vimage
branch.
Permit kldload / kldunload operations to be executed only from the default
vimage context.
This change should have no functional impact on nooptions VIMAGE kernel
builds.
Reviewed by: bz
Approved by: julian (mentor)
Notes:
svn path=/head/; revision=191915
|
|
|
|
|
|
|
|
| |
Pointed out by: brueffer
MFC after: 1 minute
Notes:
svn path=/head/; revision=191914
|
|
|
|
| |
Notes:
svn path=/head/; revision=191912
|
|
|
|
|
|
|
| |
PR: kern/121156
Notes:
svn path=/head/; revision=191911
|
|
|
|
|
|
|
|
|
|
|
| |
to a dynamically allocated one in order to support input lines of
arbitrary length.
Approved by: kan (mentor)
MFC after: 1 month
Notes:
svn path=/head/; revision=191910
|
|
|
|
| |
Notes:
svn path=/head/; revision=191909
|
|
|
|
| |
Notes:
svn path=/head/; revision=191908
|
|
|
|
| |
Notes:
svn path=/head/; revision=191907
|
|
|
|
| |
Notes:
svn path=/head/; revision=191906
|
|
|
|
| |
Notes:
svn path=/head/; revision=191905
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to eliminate some duplicated code. In particular,
archive_read_open_filename() has different close
handling than archive_read_open_fd(), so delegating
the former to the latter in the degenerate case
(a NULL filename is treated as stdin) broke reading
from pipelines. In particular, this fixes occasional
port failures that were seen when using "gunzip | tar"
pipelines under /bin/csh.
Thanks to Alexey Shuvaev for reporting this failure and
patiently helping me to track down the cause.
Notes:
svn path=/head/; revision=191904
|
|
|
|
|
|
|
|
|
| |
buffers to
a temporary list
Notes:
svn path=/head/; revision=191903
|
|
|
|
|
|
|
| |
on Solaris.
Notes:
svn path=/head/; revision=191902
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
back in to zfs.
This is based on a fix that went in to opensolaris on March 9th. However, it uses a dedicated
thread instead of a Solaris' taskq to avoid doing a blocking memory allocation with the vnode
interlock held.
This fixes a long-time deadlock in ZFS. This is not, strictly speaking, an LOR. The spa_zio
thread releases a vnode, this calls in to vn_reclaim which in turn needs to acquire range locks
to sync dirty data out to disk. The range locks are already held by a user-level process waiting
on a condition variable that it the process is waiting on a spa_zio thread to signal it on. The
process could not be signalled because the spa_zio thread could not proceed.
The nature of this problem was not apparent due to ZFS locks opting out of witness which meant
that DDB did not know about the locks that were held by ZFS.
Reviewed by: pjd
MFC after: 7 days
Notes:
svn path=/head/; revision=191900
|
|
|
|
|
|
|
| |
non-trivial functions
Notes:
svn path=/head/; revision=191899
|
|
|
|
|
|
|
|
|
| |
Write 100 times: "32 bits is so twentieth century."
Noticed by: dchagin
Notes:
svn path=/head/; revision=191898
|
|
|
|
|
|
|
| |
PR: kern/127289
Notes:
svn path=/head/; revision=191897
|
|
|
|
|
|
|
|
|
|
|
|
| |
OSD-based jail extensions. This allows the Linux MIB to accessed via
jail_set and jail_get, and serves as a demonstration of adding jail support
to a module.
Reviewed by: dchagin, kib
Approved by: bz (mentor)
Notes:
svn path=/head/; revision=191896
|
|
|
|
|
|
|
|
|
|
|
| |
vfs_busy(MBF_NOWAIT) failed, unlock the vnode and sleep in vfs_busy().
Suggested and reviewed by: jeff
Tested by: pho
MFC after: 3 weeks
Notes:
svn path=/head/; revision=191895
|
|
|
|
|
|
|
|
| |
Submitted by: Brian A. Seklecki <bseklecki -at- collaborativefusion.com>
MFC after: 1 day
Notes:
svn path=/head/; revision=191894
|
|
|
|
|
|
|
|
|
|
| |
It turns out if we called cfmakeraw() on a TTY with only a rint handler
in place, it could inject data into the TTY, even though it should be
redirected. Always take a look at the hooks before looking at the
termios flags.
Notes:
svn path=/head/; revision=191893
|
|
|
|
|
|
|
| |
count.
Notes:
svn path=/head/; revision=191892
|
|
|
|
| |
Notes:
svn path=/head/; revision=191891
|
|
|
|
| |
Notes:
svn path=/head/; revision=191890
|
|
|
|
| |
Notes:
svn path=/head/; revision=191889
|
|
|
|
|
|
|
|
| |
Approved by: kib (mentor)
MFC after: 1 month
Notes:
svn path=/head/; revision=191887
|
|
|
|
|
|
|
| |
Approved by: wxs (mentor)
Notes:
svn path=/head/; revision=191886
|
|
|
|
|
|
|
| |
Approved by: wxs (mentor)
Notes:
svn path=/head/; revision=191885
|
|
|
|
| |
Notes:
svn path=/head/; revision=191884
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which is available for Glibc as sysconf(_SC_CLK_TCK). If AT_CLKTCK entry is
not exported, Glibc uses 100.
linux_times() shall use the value that is exported to user space.
Pointyhat to: dchagin
PR: kern/134251
Approved by: kib (mentor)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=191883
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The entire world seems to use the non-standard TIOCSCTTY ioctl to make a
TTY a controlling terminal of a session. Even though tcsetsid(3) is also
non-standard, I think it's a lot better to use in our own source code,
mainly because it's similar to tcsetpgrp(), tcgetpgrp() and tcgetsid().
I stole the idea from QNX. They do it the other way around; their
TIOCSCTTY is just a wrapper around tcsetsid(). tcsetsid() then calls
into an IPC framework.
Notes:
svn path=/head/; revision=191882
|
|
|
|
|
|
|
|
| |
Approved by: kib (mentor)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=191880
|
|
|
|
|
|
|
|
| |
Approved by: kib (mentor)
MFC after: 1 month
Notes:
svn path=/head/; revision=191877
|
|
|
|
|
|
|
|
|
|
| |
header file. As it is defined in Linux.
Approved by: kib (mentor)
MFC after: 1 month
Notes:
svn path=/head/; revision=191876
|
|
|
|
|
|
|
|
|
| |
unsupported domain argument is specified.
Approved by: kib (mentor)
Notes:
svn path=/head/; revision=191875
|
|
|
|
| |
Notes:
svn path=/head/; revision=191874
|
|
|
|
|
|
|
|
|
|
|
| |
architecture.
Eliminate an unused definition.
Tested by: cognet
Notes:
svn path=/head/; revision=191873
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the protocol family constants for the domain argument validation.
Return EAFNOSUPPORT in case when the incorrect domain argument
is specified.
Return EPROTONOSUPPORT instead of passing values that are not 0
to the BSD layer.
Suggested by: rwatson
Approved by: kib (mentor)
MFC after: 1 month
Notes:
svn path=/head/; revision=191871
|
|
|
|
| |
Notes:
svn path=/head/; revision=191870
|
|
|
|
|
|
|
|
| |
ports when multiple interfaces are present.
- Claim all interfaces regardless of how many are attached
Notes:
svn path=/head/; revision=191869
|
|
|
|
|
|
|
| |
more readable.
Notes:
svn path=/head/; revision=191868
|
|
|
|
|
|
|
|
|
|
|
| |
sc_rixmap is an inverse map
NB: could eliminate the check for an invalid rate by filling in 0 for
invalid entries but the rate control modules use it to identify
bogus rates so leave it for now
Notes:
svn path=/head/; revision=191866
|
|
|
|
|
|
|
|
|
| |
use for ic_opmode
o fixes the case where creating ahdemo+wds vaps caused ic_opmode to be
set to hostap
Notes:
svn path=/head/; revision=191865
|
|
|
|
|
|
|
| |
(available on 5211 and later)
Notes:
svn path=/head/; revision=191864
|
|
|
|
|
|
|
|
| |
PR: arm/134092
Submitted by: gavin
Notes:
svn path=/head/; revision=191858
|
|
|
|
|
|
|
| |
Reviewed by: cperciva
Notes:
svn path=/head/; revision=191857
|