198437 Commits

Author SHA1 Message Date
trasz
58168bdd0f MFC r277172:
Improve wording.

Sponsored by:	The FreeBSD Foundation
2015-03-07 19:52:14 +00:00
trasz
3a62beee84 MFC r277175:
Mention /net in hier(7).

Sponsored by:	The FreeBSD Foundation
2015-03-07 19:49:02 +00:00
trasz
1aec35d876 MFC r277799:
Fix sysctl name.

Sponsored by:	The FreeBSD Foundation
2015-03-07 19:46:47 +00:00
trasz
cc83545ed3 MFC r277834:
When there are no automounted filesystems, autounmountd(8) should wait
for filesystem event, instead of looping on a timeout.

Sponsored by:	The FreeBSD Foundation
2015-03-07 19:45:07 +00:00
trasz
9cde7d310d MFC r275756:
Fix bug that made automount(8) never unmount stale autofs(5) mounts,
ie mounts for entries that were there in auto_master(5), and then
got removed.

Sponsored by:	The FreeBSD Foundation
2015-03-07 19:41:58 +00:00
trasz
b6b4fa466d MFC r275755:
Fix spurious "child process X terminated with exit status 1" messages
from automountd(8).

Sponsored by:	The FreeBSD Foundation
2015-03-07 19:39:16 +00:00
trasz
1fbf58cee9 MFC r274859:
Implement "automount -c".

Sponsored by:	The FreeBSD Foundation
2015-03-07 19:36:06 +00:00
trasz
97710cbe33 MFC r273127:
Make automountd(8) inform autofs(4) whether directory being handled can
have wildcards.  This makes it possible for autofs(4) to avoid requesting
automountd(8) action on access to nonexistent nodes - unless wildcards
are actually used.

Note that this change breaks ABI for automountd(8).

MFC r278521:

Restore ABI compatibility, broken in r273127.  Note that while this fixes
ABI with 10.1, it breaks ABI for 11-CURRENT, so rebuild of automountd(8)
is neccessary.

Sponsored by:	The FreeBSD Foundation
2015-03-07 19:32:19 +00:00
hselasky
daec60ce10 MFC r279587:
Define PTR_ALIGN() macro which will be needed coming Mellanox driver
releases.

Sponsored by:	Mellanox Technologies
2015-03-07 18:48:00 +00:00
hselasky
68965d6dcd MFC r278866:
Define standard formatting strings to print GIDs
in a separate header file.

Sponsored by:	Mellanox Technologies
2015-03-07 18:39:15 +00:00
hselasky
bbbee95dba MFC r279584:
Updates for the Mellanox ethernet driver

> List of fixes:
  * use correct format for GID printouts
  * double array indexing
  * spelling in printouts
  * void pointer arithmetic
  * allow more receive rings
  * correct maximum number of transmit rings
  * use "const" instead of "static" for constants
  * check for invalid VLAN tags
  * check for lack of IRQ resources
> Added more hardware specific defines
> Added more verbose printouts of firmware status codes

Sponsored by:	Mellanox Technologies
2015-03-07 18:33:28 +00:00
jkim
88fa6bbce5 MFC: r279364
Use realpath(3) to properly expand $ORIGIN to its absolute path.
2015-03-06 22:31:35 +00:00
edwin
b6bec41c3d MFC of 279706,tzdata10:
Release 2015a - 2015-01-29

Changes affecting future time stamps

    The Mexican state of Quintana Roo, represented by America/Cancun,
    will shift from Central Time with DST to Eastern Time without DST
    on 2015-02-01 at 02:00.  (Thanks to Steffen Thorsen and Gwillim Law.)

    Chile will not change clocks in April or thereafter; its new standard time
    will be its old daylight saving time.  This affects America/Santiago,
    Pacific/Easter, and Antarctica/Palmer.  (Thanks to Juan Correa.)

    New leap second 2015-06-30 23:59:60 UTC as per IERS Bulletin C 49.
    (Thanks to Tim Parenti.)

  Changes affecting past time stamps

    Iceland observed DST in 1919 and 1921, and its 1939 fallback
    transition was Oct. 29, not Nov. 29.  Remove incorrect data from
    Shanks about time in Iceland between 1837 and 1908.

    Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Asia/Aden, Asia/Bahrain, Asia/Kuwait,
    and Asia/Muscat.
2015-03-06 21:56:44 +00:00
hselasky
b1144e1390 MFC r279563:
Add quirk for USB 3.0 controllers which don't support 64-bit DMA.
2015-03-06 16:08:10 +00:00
brueffer
28309f5fc3 MFH: r279050
Apply mdoc style.
2015-03-06 11:25:10 +00:00
kib
06a96cf2f5 MFC r279362:
The VNASSERT in vflush() FORCECLOSE case is trying to panic early to
prevent errors from yanking devices out from under filesystems.  Only
care about special vnodes on devfs, special nodes on other kinds of
filesystems do not have special properties.
2015-03-06 09:22:05 +00:00
hselasky
dd89b387bb MFC r279544:
Add quirk to disable 64-bit XHCI DMA after r276717.

Requested by:	Gary Jennejohn <gljennjohn@gmail.com>
2015-03-05 10:18:03 +00:00
ae
204f9a5f7c MFC r279324:
When gpart(8) is trying automatically determine the first available
  block of free space after existing partition, take into account
  provider's stripeoffset, since the result will be adjusted to this
  value.

  PR:		197989
2015-03-05 10:08:37 +00:00
hselasky
559bd2313e MFC r279210:
Add support for the DWC OTG v2 chipset found in the STM32F4 series of
processors. Make sure we pullup the data lines in device mode when we
power on the port.
2015-03-05 10:04:34 +00:00
hselasky
cce776ae07 MFC r279297:
Update to upstream version 2.10

The most notable new feature is support for definition files.

Obtained from:	http://dotat.at/prog/unifdef
2015-03-05 09:39:29 +00:00
hselasky
f4065a3aaf MFC r279270:
Add ugen keyword to USB pnpinfo. Remove extra space from existing pnpinfo.

PR:		198015
PR:		198019
PR:		198026
2015-03-05 09:31:36 +00:00
hselasky
44aa7d6b56 MFC r279241 and r279242:
Fix debugging macros.
2015-03-05 09:23:43 +00:00
kib
5458a77d46 MFC r279326:
Use pthread_mutex_trylock(3) to implement mtx_trylock(3).
2015-03-05 09:01:46 +00:00
kib
e4e2464970 MFC r279318:
Check that the pointer to the thread return value is not NULL before
dereferencing. NULL is allowed by C11 and must be handled.
2015-03-05 09:00:27 +00:00
dteske
5b322e75c9 MFC r278493: Update copyrights. 2015-03-05 00:44:50 +00:00
dteske
4b2ae2ef5e MFC r278491: Add bsdconfig api function f_dialog_menutag2help() 2015-03-05 00:43:50 +00:00
dteske
c0c2990123 MFC r278490:
Add bsdconfig api functions f_dialog_pause()/f_dialog_pause_no_cancel()
2015-03-05 00:42:58 +00:00
dteske
2662228e2e MFC r278489: Eliminate sub-shells where possible for performance. 2015-03-05 00:42:06 +00:00
dteske
d2827c4f7a MFC r278488: Whitespace. 2015-03-05 00:41:03 +00:00
dteske
e1a2d44e2f MFC r278483: Comments. 2015-03-05 00:40:19 +00:00
dteske
01d39cf2cd MFC r278470:
Add new alias "bsdconfig api" (same as "bsdconfig includes")
NB: My fingers like typing "api" a lot more than "includes"
2015-03-05 00:39:15 +00:00
dteske
04c4a83715 MFC r278467:
Replace the only instance of sed(1) in bsdconfig(8) with awk(1).
2015-03-05 00:37:54 +00:00
dteske
82862f31e2 MFC r274073:
Follow-up to r255036; remove beforeinstall directives from bsdconfig(8)
Makefile's, fixing concurrent installworld (`make -j17 installworld').

Reviewed by:	delphij
Thanks to:	delphij, emaste
2015-03-05 00:34:33 +00:00
dteske
390b17942b MFC r273068:
Rename awk(1) implementation of GNU awk's built-in asorti() function to
prevent fatal conflict should one-true-awk ever be replaced -- e.g., in
an appliance -- with GNU awk. NB: Renamed my implementation to _asorti()
2015-03-05 00:32:54 +00:00
dteske
a1b0091ca7 MFC r273067:
Fix awk(1) asorti() implementation to work when called in a loop.
2015-03-05 00:29:58 +00:00
kib
d83b961fc8 MFC r279284:
Propagate errors from _thr_umutex_unlock2 through mutex_unlock_common.
2015-03-04 09:32:59 +00:00
kib
efbc02bc53 MFC r279283:
When failing to claim ownership of a umtx_pi, restore the umutex owner
to its previous, unowned state.
2015-03-04 09:31:10 +00:00
kib
17814a5b03 MFC r279282:
When unlocking a contested PI pthread mutex, if the queue of waiters
is empty, look up the umtx_pi and disown it if the current thread owns it.
2015-03-04 09:29:25 +00:00
emaste
e28f1e3a99 MFC r279301: GNU nm: Avoid NULL dereference
bfd_dwarf2_find_line() calls find_line() with NULL functionname_ptr,
  which resulted in a crash on certain ELF objects.

  This change was implemented independently from upstream binutils, but
  I have checked that the crash does not happen there.

Sponsored by:	The FreeBSD Foundation
2015-03-04 01:10:09 +00:00
loos
6dec850dfa MFC r278915:
Set the #address-cells and #size-cells properties on I2C controllers of
Raspberry-pi.

This fixes the issues on dtc(1) while compiling I2C addresses set with
"reg" property.
2015-03-03 17:03:41 +00:00
royger
2de8a94917 MFC r278844:
xen: fix xenstore dev
2015-03-03 10:11:58 +00:00
gjb
8de40d0193 MFC r279249, r279250, r279257:
r279249:
  Add 'cloudware-install' target to handle copying cloud
  disk images to a directory within DESTDIR.

  Add CLOUDINSTALL variable to automatically generate the
  actual list of install targets.  While here, rename the
  cloud-specific names from 'vm-' to 'cw-' to avoid naming
  collisions.

  Add AZURE_DISK, GCE_DISK, and OPENSTACK_DISK output file
  variables.

  Add 'cloudware-install' to the 'install' target.

 r279250:
  Remove a stale comment.

 r279257:
  Add a CLOUDPACKAGE variable to contain a list of targets for
  post-install packaging cloud provider images.

  Add a 'gce-package.sh' script to generate the final output
  image ready for upload to the GCE platform.  Right now, this
  is the only image that has a specific output format (GNU-tar),
  and this implementation is expected to be temporary.

  This is not directly connected to the other release targets.

Sponsored by:	The FreeBSD Foundation
2015-03-03 02:46:59 +00:00
thomas
1290baf2e3 MFC rev. 278728:
(backup_kernel_finddir, backup_kernel, install_files):
Add missing references to $BASEDIR, in order to allow correct operation
when updating a system mounted at another location than / (e.g. when
updating an alternate Boot Environment).

Reviewed by:  cperciva
2015-03-02 23:17:17 +00:00
ken
dc6b22c8f3 MFC r279346:
------------------------------------------------------------------------
  r279346 | ken | 2015-02-26 19:44:12 -0700 (Thu, 26 Feb 2015) | 13 lines

  Remove an obsolete comment in devstat(3) about the accuracy of the
  milliseconds per transaction (DSM_MS_PER_TRANSACTION) calculation.

  The comment was accurate many years ago when the kernel didn't
  record I/O times on a per-I/O basis, but now that we do collect
  that information in most areas, it isn't correct.

  The milliseconds per transaction values are correct, assuming the
  I/O duration has been recorded.

  Sponsored by:	Spectra Logic

  ------------------------------------------------------------------------
2015-03-02 21:00:54 +00:00
kib
de8b80a46a MFC r279367:
Fix typo.
2015-03-02 09:15:50 +00:00
ae
4cbe57cef8 MFC r279206:
In some cases soreceive_dgram() can return no data, but has control
  message. This can happen when application is sending packets too big
  for the path MTU and recvmsg() will return zero (indicating no data)
  but there will be a cmsghdr with cmsg_type set to IPV6_PATHMTU.
  Remove KASSERT() which does NULL pointer dereference in such case.
  Also call m_freem() only when m isn't NULL.

MFC r279209:
  soreceive_generic() still has similar KASSERT(), therefore instead of
  remove KASSERT(), change it to check mbuf isn't NULL.

PR:		197882
Sponsored by:	Yandex LLC
2015-03-02 07:51:14 +00:00
ngie
06e10c673b Regen src.conf(5) 2015-03-01 22:12:24 +00:00
ngie
0625beb8de MFC r278193:
Add MK_FILE to control whether or not to build file(1), libmagic(3), etc

Sponsored by: EMC / Isilon Storage Division
2015-03-01 22:07:54 +00:00
ngie
de8fb43ec9 MFC r278192:
Add the following options to enable/disable several features in the base system

WITHOUT_BOOTPARAMD - bootparamd
WITHOUT_BOOTPD - bootpd
WITHOUT_FINGER - finger, fingerd
WITHOUT_FTP - ftp, ftpd
WITHOUT_INETD - inetd
WITHOUT_RBOOTD - rbootd
WITHOUT_TCP_WRAPPERS - tcpd, et al
WITHOUT_TFTP - tftp, tftp-server
WITHOUT_TIMED - timed

Sponsored by: EMC / Isilon Storage Division
2015-03-01 22:03:52 +00:00
ngie
9da1add171 MFC r278704:
Unbreak rcorder when MK_UNBOUND == no by moving local_unbound from REQUIRE:
in NETWORKING to BEFORE: in the script
2015-03-01 21:24:19 +00:00