Commit Graph

14817 Commits

Author SHA1 Message Date
jkim
0a885a0637 MFC: r283092, r283966
Merge ACPICA 20150515.

Relnotes:	yes
2015-06-16 20:00:53 +00:00
jhb
017f11d1f3 MFC 281887:
Reassign copyright statements on several files from Advanced
Computing Technologies LLC to Hudson River Trading LLC.
2015-06-02 19:20:39 +00:00
hiren
651b599a09 MFC: r282866
Fix pmcstat symbol resolution for userland processes.

When examining existing processes pmcstat fails to
correctly determine the locations of executable sections
of the process due to a miscalculated virtual load address.
This does not affect the newly launched processes as the
same value passed as a "start address" to the pmcstat_image_link()
thus nullifying the effect of it.  The issue manifests itself
in processes not being reported in the pmcstat(8) output and
"dubious frames" being reported.

Fix it for now by ignoring all the sections except the executable
one.  This won't fix the issue for objects with multiple
executable sections but helps in majority of real world usecases.
The real solution would be to modify the MAP-IN event to include
the appropriate load address so pmcstat(8) won't have to manually
parse object files to try to determine it.

PR:		198147, 198148
Submitted by:	stas
2015-06-02 08:03:28 +00:00
jhb
ed437ec23c MFC 282643:
Use the kern.bootfile sysctl to set the default kernel path rather than
hardcoding /boot/kernel. This allows pmcstat(8) to work without -k when
using nextboot -k or 'boot foo' at the loader to boot alternate kernels.

Sponsored by:	Norse Corp, Inc.
2015-06-01 18:05:30 +00:00
smh
3236725806 MFC r282208:
Standardise chmod, chflags, chown and chgrp recursive symlink processing

Relnotes:	Yes
Sponsored by:	Multiplay
2015-06-01 09:04:57 +00:00
dteske
d2338369a2 MFC SVN revisions 280310-280311,281160,281167,282443,283023,283288:
r280310: Whitespace cleanup(s)
r280311: Update copyright(s)
r281160: [mergeinfo only] Fix root encryption key permissions (see r281230)
r281167: [mergeinfo only] Unbreak ZFS+GELI install option (see r281230)
r282443: Add swap size sanity check (allanjude)
r283023: Skip adding swap to fstab(5) if unused (allanjude)
r283288: Fix a syntax error (allanjude)
2015-06-01 01:50:09 +00:00
dteske
274e0fc8a5 MFC SVN revisions 280234-280235:
r280234: Fix the handbook install option in bsdinstall (allanjude)
r280235: Fixup to previous (allanjude)
2015-06-01 01:31:50 +00:00
dteske
7cf02110b8 MFC SVN revisions 272278,272379,275874:
r272278: Prevent buffer overflow(s) + style(9) nits
r272379: Optimize program performance + style(9) nits
r275874: Improve feedback to user by using dpv(3)
2015-06-01 01:06:33 +00:00
dteske
88051ad98d MFC r280921: Fix typo in a comment. 2015-06-01 00:09:21 +00:00
bapt
6d659fd65b MFC: r283695
Remove dead declaration

PR:		195928
2015-05-31 00:52:45 +00:00
bapt
0479e26254 MFC: r281039
Allow fetching pkg(8) even if servers/proxies are not passing Content-length
2015-05-30 21:49:18 +00:00
bapt
f11dbe130e MFC: r273778 (by nwhitehorn)
Remove spurious libelf dependency.

Submitted by:	pluknet
2015-05-30 21:47:25 +00:00
bapt
e5d700b499 MFC: r273754 (by nwhitehorn)
Use pkg-1.4-style platform identifiers based on MACHINE_ARCH (e.g.
FreeBSD:11:amd64 instead of freebsd:11:x86:64) when bootstrapping pkg.
Thanks to portmgr for providing symlinks so both styles work.

Reviewed by:	bapt
MFC after:	3 weeks
2015-05-30 21:45:46 +00:00
bapt
051d0fa6db MFC: r259773, r259774, r259775
Do not print a question in non-interractive mode but explain why boostrapping
has failed and how to allow it to happen

Reported by:	jmmv
2015-05-30 21:32:02 +00:00
bapt
b5d16437e1 MFC: r258226
argc is now used
2015-05-30 21:28:55 +00:00
bapt
0f4e3f90c5 MFC: r258020 (by bdrewery)
Remove useless checks for NULL pointer before free(3)

Reported by:		eadler
Approved by:		eadler
2015-05-30 21:25:32 +00:00
bapt
644eb326fc MFC: r257701 (by bdrewery)
Remove condition which can never be true as the previous loop
is never exited while remote == NULL.
2015-05-30 21:23:41 +00:00
rmacklem
8389b2b3fd MFC: r283008
Add a warning message to mountd for exported file
systems that are automounted, since that configuration
isn't supported. This still allows the export, since
two emails I received felt that this should not be
disabled. It sends the message to syslog(LOG_ERR..), so that
it goes to the same places as the other messages related
to /etc/exports problems, even though it is a warning and not an error.
2015-05-30 01:04:45 +00:00
emaste
a071e4290a MFC r282144: crunchide: add basic string table sanity checks
Reported by:	Coverity Scan
CID:		978805, 980919
Sponsored by:	The FreeBSD Foundation
2015-05-21 19:16:28 +00:00
trasz
df07ae934b MFC r279955:
Add -noauto autofs map, for automatic handling of fstab entries
marked "noauto".

Relnotes:	yes
Sponsored by:	The FreeBSD Foundation
2015-05-21 13:42:37 +00:00
trasz
792cf9363b MFC r279954:
Get executable direct maps to work.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:41:08 +00:00
trasz
766efdb26c MFC r279953:
Rework the concat() algorithm to be correct in all cases.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:39:38 +00:00
trasz
936900ca6b MFC r279916:
Make "automount -LL -o whatever" present options in the same order
as used by automountd(8).

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:37:48 +00:00
trasz
ffdd97ce45 MFC r279915:
Make concat() accept NULL arguments.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:36:00 +00:00
trasz
5d932fec11 MFC r279914:
Options from auto_master must be appended to options from maps,
not prepended.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:34:33 +00:00
trasz
decca16d96 MFC r279851:
Fix typo.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:33:06 +00:00
trasz
bb27657bec MFC r279846:
Properly pass options for direct maps.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:31:44 +00:00
trasz
9a9f3ecf67 MFC r279845:
Fix handling of direct maps, broken in r275756.  Previously, running
automount(8) would unmount direct map trigger nodes every second time.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:29:34 +00:00
trasz
b8ffded4a6 MFC r279843:
Refactor.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:26:52 +00:00
trasz
938b0cc7dd MFC r279813:
Make things more readable; no functional changes.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:25:28 +00:00
trasz
c0941dd28e MFC r279812:
Remove some particularly bad code; no functional changes.

MFC r279815:

Erm, revert chunk committed by mistake.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:23:49 +00:00
trasz
f55d10feb9 MFC r279808:
Fix memory leak.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:21:03 +00:00
trasz
609485e24d MFC r279807:
Improve separated_concat() to properly handle the case of concatenating
"/" and "/foo".
2015-05-21 13:19:44 +00:00
trasz
eca8c46c2b MFC r279806:
Minor optimization/cleanup in node_path(); no functional changes.
2015-05-21 13:18:02 +00:00
trasz
9cd1663f49 MFC r276883:
Improve documentation for autofs variables and executable maps;
also some markup fixes.

Sponsored by:	The FreeBSD Foundation
2015-05-21 13:11:48 +00:00
trasz
94c4b3025c MFC r275681:
Add "-media" autofs map, to access data on removable media, such as CD
drives or flash keys.  It can be enabled by uncommenting a single entry
in default /etc/auto_master.  It can also be easily modified to use
fuse-based filesystems instead of in-kernel ones.

There is still one deficiency - the mountpoints are permanent, they
don't disappear when user removes the media.  Fixing it needs some
autofs changes.

Relnotes:	yes
Sponsored by:	The FreeBSD Foundation
2015-05-21 13:08:30 +00:00
emaste
f1d984d977 MFC r282904: kbdmap(1): increase description size to 256 bytes
After conversion to UTF-8 some INDEX.keymaps descriptions are longer
  than the previous limit of 64 bytes.

PR:		193656
2015-05-21 01:50:06 +00:00
trasz
0ba19b5b1c MFC r279315:
Add uefisign(8), UEFI Secure Boot signing utility.

Relnotes:	yes
Sponsored by:	The FreeBSD Foundation
2015-05-15 15:08:37 +00:00
trasz
6da8f5889a MFC r278360:
Make hccontrol(8) and sdpcontrol(8) appear in "man -k bluetooth" output.

Sponsored by:	The FreeBSD Foundation
2015-05-15 10:56:22 +00:00
trasz
2c0772761b MFC r278316:
Make "ctladm islist" ignore unknown elements, so the old version
continues to work with newer kernel.

Other ctladm(8) "*list" subcommands seem to already handle it in
a reasonable way.

Sponsored by:	The FreeBSD Foundation
2015-05-15 10:53:06 +00:00
trasz
0cc31562c3 MFC r274720:
Fix improper .Fx macro usage.

Sponsored by:	The FreeBSD Foundation
2015-05-15 09:56:59 +00:00
sjg
30e0f73c2f No need to delete export from filesystems which are not exported. 2015-05-14 18:15:21 +00:00
delphij
1f86fd1736 MFC r279571,281563 (allanjude):
Add a new safetly belt to freebsd-update to prevent a user doing a minor
update (-pX) while having an unfinished major upgrade (9.x to 9.y)
Safetly belt can be disabled with the -F flag

Additionally, add the --not-running-from-cron flag they bypasses the TTY
requirement, and allows freebsd-update to be invoked by orchestration
frameworks, scripts, or otherwise.

PR:		196760
Relnotes:	yes
Sponsored by:	ScaleEngine Inc.
2015-05-13 22:36:00 +00:00
mav
4c8cc209ab MFC r282364, r282429, r282524:
Implement BSY reporting and in-order execution of non-NCQ commands.

Block command queue on BSY or DRQ bits set or device error reported.
This can be a performance penalization for non-NCQ commands, but it is
required for proper error recovery and standard compliance.
2015-05-13 10:35:34 +00:00
mav
8f115fa59b MFC r282345: Initialize PxCMD on reset and make its read-only bits such. 2015-05-13 10:30:53 +00:00
mav
bc8d2819b9 MFC r282344: Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop(). 2015-05-13 10:29:45 +00:00
mav
cd74b53f5b MFC r281766, r281767:
Report link as up only if we managed to open tap device.

It would be cool to report tap device status, but it has no such API.
2015-05-13 10:21:00 +00:00
mav
f24af427aa MFC r281764, r282563: Disable RX/TX queues notifications when not needed.
This reduces CPU load and doubles iperf throughput, reaching 2-3Gbit/s.

Sponsored by:	iXsystems, Inc.
2015-05-13 10:18:44 +00:00
ngie
c5c24729d5 MFC r282054:
ath3kfw, bcmfw, bthidcontrol, bthidd all require usb(4); build them
conditionally if MK_USB != no
2015-05-13 10:07:50 +00:00
mav
c80dbe2367 MFC r281782: Don't set bits that should be zero for SATA devices.
Old value made Linux think that it is PATA device with SATA bridge.
2015-05-01 17:33:17 +00:00