199794 Commits

Author SHA1 Message Date
mav
700151794a MFC r286621, r286622: Fix couple minor typos. 2015-08-14 04:23:17 +00:00
pfg
2df02110dd MFC r286615:
Clean up some externally visible "more then" occurences
2015-08-14 02:45:22 +00:00
gjb
3152c1918c Prune the 10-STABLE release notes page after 10.2-RELEASE.
Sponsored by:	The FreeBSD Foundation
2015-08-14 00:19:09 +00:00
edwin
33f83ca610 MFC of 286750,tzdata10:
Update to tzdata2015f:

Changes affecting future time stamps

    North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
    The abbreviation remains "KST".  (Thanks to Robert Elz.)
    Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo Camargo.)
    Changes affecting past and future time stamps
    Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to Roman Tudos.)
2015-08-13 23:59:53 +00:00
gjb
3a6b75cfa3 MFC r262670 (marcel):
Use ${MAKE} so that we always use the same version/implementation
  of make(1).

PR:		202277
Submitted by:	John Hein
Sponsored by:	The FreeBSD Foundation
2015-08-13 22:29:26 +00:00
emaste
8021b61826 MFC r276282: Support ALT_BREAK_TO_DEBUGGER in vt(4)
PR:		196511
2015-08-13 19:48:19 +00:00
gjb
ed48261da8 Fix the gnome package name.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-08-13 19:04:41 +00:00
gjb
1717104aa9 Document a known issue with the VirtualBox Vagrant provider failing
to boot on the first invocation of 'vagrant up'.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-08-13 18:50:54 +00:00
gjb
a99cffa12b Update the errata article.xml file for 10.2-RELEASE.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-08-13 18:41:53 +00:00
gjb
dc8140f43b Prune Security Advisories and Errata Notices from the 10.2-RELEASE
errata page.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-08-13 18:40:32 +00:00
gjb
62b52ff329 Update FreeBSD version numbers in preparation of properly creating
the 10.2-RELEASE errata.html page.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-08-13 18:39:32 +00:00
pfg
c32f5a21dc MFC r286074:
GCC: Add a new option "-fstack-protector-strong"

This includes additional functions to be protected: those that
have local array definitions, or have references to local frame
addresses. This is a new option in GCC-4.9 that was relicensed
by Han Shen from Google under GPLv2.

Obtained from:	OpenBSD (2014-01-14)
2015-08-13 01:02:57 +00:00
sbruno
3e1f1ceab6 MFC r273081
brueffer: New sentence -> new line; use macros where appropriate.

MFC r276345
Mikhail <mp@lenta.ru
Correct naming of sysctl pmtud_blackhole_activated_min_mss.

Clarify some statements around PMTUD blackhole detection to make
the behavior more clear in the man page.
2015-08-12 22:51:08 +00:00
dim
3ab328cd1c MFC r286519:
In GNU as, avoid left-shifting negative integers, which is undefined.
2015-08-12 19:18:54 +00:00
dim
28229b8a83 MFC r286515:
In libm's exp2(3), avoid left-shifting a negative integer, which is
undefined.  Replace it with the intended value, in a defined way.

Reviewed by:	bde
2015-08-12 19:06:35 +00:00
imp
979769b37b Direct commit
When compiling on -current from r284356 to r285986, the host's
crunchgen can't be used because builds of rescue break when STRIP= was
used to prevent stripping of binaries.  Direct commit because -current
code is different. Building 10 on current is common enough to warrnat
a safety belt since this has been broken for two months. The offending
change was never in stable/10.
2015-08-12 16:53:37 +00:00
garga
9ba0264692 MFC r257077:
Cleanup empty directories

PR:		167133
Approved by:	loos
Sponsored by:	Netgate
2015-08-11 16:01:34 +00:00
garga
00312c6557 MFC 256710:
Add lot of missed files and dirs

Approved by:	loos
Sponsored by:	Netgate
2015-08-11 15:53:11 +00:00
garga
2f35582a54 MFC r286451:
Add missing files to sendmail obsolete files list

Approved by:	gshapiro
Sponsored by:	Netgate
Differential Revision:	https://reviews.freebsd.org/D3302
2015-08-11 15:25:08 +00:00
rodrigc
b07232430c Merge r285891:
Pass unsigned long argument to ioctl().

Eliminates "ioctl sign-extension" warnings.

PR:             200896
2015-08-11 01:51:38 +00:00
jilles
de78631dfc MFC r284649: fts_children: preserve errno after running close/fchdir
PR:		200942
Submitted by:	Conrad Meyer
2015-08-09 15:53:02 +00:00
rmacklem
83028e54ab MFC: r285260
Since the case where secflavor < 0 indicates the security flavor is
to be negotiated, it could be a Kerberized mount. As such, filling
in the "principal" argument using the canonized host name makes sense.
If it is negotiated as AUTH_SYS, the "principal" argument is meaningless
but harmless.
2015-08-08 22:06:07 +00:00
gshapiro
3682d7b83b MFC: Reminder to check tools/build/mk/OptionalObsoleteFiles.inc on new
version imports.
2015-08-08 16:30:20 +00:00
kib
7aaa5d3942 MFC r286106:
Provide a prefaulting for the userspace i/o buffers, disabled by default.
2015-08-07 04:38:13 +00:00
kib
feedc47477 MFC r285384:
Do not allow creation of the dirty buffers for the dead buffer objects.
2015-08-07 04:33:06 +00:00
kib
984b7d731d MFC r285643:
When checking for the valid value of the frame pointer, verify that it
belongs to the kernel stack address range for the thread.
2015-08-07 04:31:02 +00:00
delphij
33b0e51d36 MFC r286375:
Now that stable/8 is EOL, stop building INDEX-8.
2015-08-06 19:45:25 +00:00
gjb
d655b217fa Fix a typo.
Submitted by:	pkelsey
Sponsored by:	The FreeBSD Foundation
2015-08-06 14:13:01 +00:00
kib
048ed92d72 MFC r286086:
Do not pretend that vm_fault(9) supports unwiring the address.
2015-08-06 08:51:15 +00:00
gjb
42c87af3f5 Document SA-15:18, SA-15:19.
Sponsored by:	The FreeBSD Foundation
2015-08-05 22:30:49 +00:00
delphij
b64e10546f Fix patch(1) shell injection vulnerability via ed(1). [SA-15:18]
Fix routed remote denial of service vulnerability. [SA-15:19]
2015-08-05 22:05:02 +00:00
bapt
c527db206b Fix segfault were modifying the uid of a user
Do a direct commit as the code on head has changed a lot and does not fail in
that case

PR:		202111
Reported by:	gondim@bsdinfo.com.br
2015-08-05 20:32:07 +00:00
pfg
49f78cbad8 MFC r285720:
libusb: Fix minor warning.

Fix a warning triggered by the gcc + FORTIFY_SOURCE patches:

In function 'libusb20_parse_config_desc': lib/libusb/libusb20_desc.c:141:
warning: passing argument 1 of 'memcpy' discards qualifiers from pointer
target type

Submitted by:	hselansky
2015-08-05 18:52:40 +00:00
trasz
17d50360d1 Make the kern.racct.tunable actually work.
This is a direct commit to 10-STABLE - 11-CURRENT is not affected,
because tunables are automatically fetched there.

MFC after:	ASAP
Sponsored by:	The FreeBSD Foundation
2015-08-05 15:57:08 +00:00
ae
2cbf021408 MFC r285710:
Invoke LLE event handler when entry is deleted.
2015-08-05 11:24:40 +00:00
ae
2fed44a505 MFC r285888:
Build debug version of rmlock's methods only when LOCK_DEBUG > 0.

  Currently LOCK_DEBUG is always defined in sys/lock.h (0 or 1).
  This means that debugging code always built. In addition the kernel
  modules have always defined LOCK_DEBUG as 1. So, debugging rmlock code
  is always used by kernel modules.
2015-08-05 10:59:59 +00:00
kib
83f30eda37 Implement x86 ptrace(2) requests PT_{GET,SET}{FS,GS}BASE.
MFC r284918:
Add helper fill_based_sd(9).

MFC r284919:
Add x86 PT_GETFSBASE, PT_GETGSBASE machine-depended ptrace requests to
obtain the thread %fs and %gs bases.  Add x86 PT_SETFSBASE and
PT_SETGSBASE requests to set the bases from debuggers.  The set
requests, similarly to the sysarch({I386,AMD64}_SET_FSBASE), override
the corresponding segment registers.

MFC r284965:
Document x86 machine-specific ptrace(2) requests.

MFC r285011:
Disallow a debugger on 64bit system to set fs/gs bases of the 32bit
process beyond the end of the process address space.

MFC r285104:
Grammar and language fixes.
2015-08-05 08:17:10 +00:00
kib
13079235af MFC r284921:
pcb_gs32sd is unused for long time, remove it.  Keep the padding in pcb.
2015-08-05 07:35:34 +00:00
kib
6034a6b38a MFC r285046:
Account for the main process stack being one page below the highest
user address when ABI uses shared page.
2015-08-05 07:29:59 +00:00
kib
9428730d60 MFC r285041:
Use single instance of the identical INKERNEL() and PMC_IN_KERNEL()
macros on amd64 and i386.  On i386, correct the lowest kernel address.
2015-08-05 07:21:44 +00:00
davidcs
861d78f2a3 MFC r285973
- Avoid lock contention in the if_transmit callback by using trylock and
   enqueueing the frames when it fails. This way there is some latency
   removed from the transmitting path.
  - If IFF_DRV_OACTIVE is set (and also if IFF_DRV_RUNNING is not) just
   enqueue the desired frames and return successful transmit. This way we
   avoid to return errors on transmit side and resulting in
   possible out-of-order frames. Please note that IFF_DRV_OACTIVE is set
   everytime we get the threshold ring hit, so this can be happening quite
   often.

Submitted by:	Attilio.Rao@isilon.com
2015-08-05 00:00:06 +00:00
emaste
e6c899bb95 MFC r281581: vidcontrol: make size argument optional again for syscons
r273544 (MFC in r273921) changed the -f option allow no arguments in vt
mode (used to reset the font back to the default), but broke the
optionality of the size argument for syscons. Drop the required argument
from syscons' optstring for -f so the optional argument handler works
the same way for both syscons and vt.

Sponsored by:	The FreeBSD Foundation
2015-08-04 15:15:06 +00:00
gjb
1a0e1b3909 MFC r286285:
Ensure the local MANIFEST is always used when verifying remote
 distribution sets.

Approved by:	re (glebius, insta-MFC)
Sponsored by:	The FreeBSD Foundation
2015-08-04 13:41:37 +00:00
kib
c182d42ed4 MFC r285932:
Add bit names for the IA32_MISC_ENABLE msr.
2015-08-04 04:30:54 +00:00
np
84fadb8369 MFC r284988, r285220, and r285221.
r284988:
cxgbe(4): request an automatic tx update when a netmap tx queue idles.
The NIC tx queues already do this.

r285220:
cxgbe(4): Do not override the the global defaults for congestion drops.
The hw.cxgbe.cong_drop knob is not affected by this change because the
driver sets up congestion drop on a per-queue basis.

r285221:
cxgbe(4): Add a new knob that controls the congestion response of netmap
rx queues.  The default is to drop rather than backpressure.

This decouples the congestion settings of NIC and netmap rx queues.
2015-08-04 04:00:36 +00:00
np
79c68b3bae MFC r284718:
cxgbe: get_fl_payload returns a header mbuf when successful.
2015-08-04 03:43:09 +00:00
np
b95618ed49 MFC r284984:
cxgbetool: fix code that decodes T5 SGE contexts.  Some of the fields
that changed between T4 and T5 were not displayed correctly.
2015-08-04 03:40:19 +00:00
np
403920898b MFC r284445 and r286107.
r284445:
cxgbe(4): Add the ability to dump mailbox commands and replies.  It is
enabled/disabled via bit 0 of adapter->debug_flags (which is available
at dev.t5nex.<n>.debug_flags).

r286107:
cxgbe(4): initialize debug_flags from the kernel environment.
2015-08-04 03:33:59 +00:00
pfg
d396e4d373 MFC r286102:
Buffer overflow in wall(1).

This affected syslogd, wall and talkd.
Detected by FORTIFY_SOURCE GSoC (with clang).

Submitted by:		Oliver Pinter
Differential Revision:	https://reviews.freebsd.org/D3254
Reviewed by:		delphij, jmg
2015-08-04 03:06:23 +00:00
imp
0d33ce41f5 MFC r286208:
Only match devices that belong to this driver.
2015-08-03 23:12:29 +00:00