summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Provide an example to the kqueue man page, showingbcr2016-05-011-1/+52
| | | | | | | | | | | | | a basic usage example. Although it is an untypical example for the use of kqueue, it is better than nothing and should get people started. PR: 196844 Submitted by: fernando.apesteguia@gmail.com Reviewed by: kib Approved by: kib MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D6082
* Add a manual page for pkt-gen.gnn2016-05-011-0/+179
| | | | Sponsored by: EMC / Isilon Storage Division
* Avoid duplicated calls to pmap_page_get_memattr().kib2016-05-011-5/+13
| | | | | | | | | | | | | | | Avoid logging inconsistency for the /dev/mem device at all. The driver leaves memattr intact, and the corrective action in the device pager handles it right. In the logged warning, name the driver we blame, and show memory attributes values. Reported and tested by: pho Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D6149
* Make it explicit that D_MEM cdevsw d_flag is to signify that thekib2016-05-013-3/+2
| | | | | | | | | | | | | driver is (or behaves identically to) /dev/mem. Remove the D_MEM flag from random drivers. Note that currently the D_MEM flag does not affect any behaviour, but this going to change in the next commit. Noted and reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week X-Differential revision: https://reviews.freebsd.org/D6149
* typojamie2016-05-011-1/+1
| | | | Submitted by: Jimmy Olgeni
* etc: minor spelling fixes.pfg2016-05-014-5/+5
| | | | | | Mostly comments but these tend to be user-visible. MFC after: 2 weeks
* usr.sbin: minor spelling fixes on comments.pfg2016-05-0110-12/+12
| | | | No functional change.
* pmcstat: minor spelling fixes.pfg2016-05-012-2/+2
| | | | | | Mostly comments bur also a user-visible string. MFC after: 2 weeks
* usr.sbin/bsdconfig: minor spelling fixes on comments.pfg2016-05-019-22/+22
| | | | No functional change.
* bluetooth: minor spelling fixes.pfg2016-05-012-2/+2
| | | | | | User-visible strings. MFC after: 2 weeks
* share: minor spelling fixes.pfg2016-05-015-8/+8
| | | | | | Mostly comments but these tend to be user-visible. MFC after: 2 weeks
* tools: minor spelling fixes.pfg2016-05-0112-16/+16
| | | | | | Mostly comments but also some user-visible strings. MFC after: 2 weeks
* picobsd: minor spelling fixes.pfg2016-05-012-2/+2
|
* usr.bin: minor spelling fixes on comments.pfg2016-05-016-6/+6
| | | | No functional change.
* localedef(1): minor spelling fixes on comments.pfg2016-05-014-4/+4
| | | | No functional change.
* iwm: switch to ieee80211_add_channel()avos2016-05-012-68/+78
| | | | | | | | | - Switch to ieee80211_add_channel(). - Parse/set more channel flags (DFS, NOADHOC). - Add ic_getradiocaps() method. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D6150
* Remove useless calls to basename().ed2016-05-013-7/+4
| | | | | | | | | | | | | | There are a couple of places in the source three where we call basename() on constant strings. This is bad, because the prototype standardized by POSIX allows the implementation to use its argument as a storage buffer. This change eliminates some of these unportable calls to basename() in cases where it was only added for cosmetical reasons, namely to trim argv[0]. There's nothing wrong with setting argv[0] to the full path. Reviewed by: jilles Differential Revision: https://reviews.freebsd.org/D6093
* [iwn] fill in the TX command rate info flags consistently.adrian2016-05-011-24/+21
| | | | | | | | | | | | | The Linux driver sets the rate_n_flags regardless of whether it's being sent using firmware rate control or local rate control. This includes the antenna configuration. Thanks to Kyle Evans <kevans91@ksu.edu> for pointing this out to me and doing some investigation/testing on his end. Tested: * Intel 7260 STA, 2G and 5G networks
* restore: fix resource handle leak.pfg2016-05-011-0/+1
| | | | | CID: 1007784 MFC after: 5 days
* restore: drop casts for calloc().pfg2016-05-011-3/+2
|
* sbin: ake use of our rounddown() macro when sys/param.h is available.pfg2016-05-015-6/+6
| | | | No functional change.
* sbin: use our howmany() macro when available through <sys/param.h>.pfg2016-05-012-2/+3
|
* restore: fix memory leak.pfg2016-04-301-1/+2
| | | | | CID: 272297 MFC after: 5 days
* Allow FILESGROUPS to be specified more than once by pruning out duplicatesngie2016-04-301-1/+1
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Clarify when happens when there is a "depend" parameter in jail.conf,jamie2016-04-302-5/+9
| | | | and how this affects the "jail_list" option in rc.conf.
* restore: use our howmany() instead of reinventing the macro.pfg2016-04-301-3/+1
|
* fdisk: drop unused macro and make use of roundup()/rounddown().pfg2016-04-302-18/+14
|
* powerpc: Replace rounddown() from r298856 with roundup().pfg2016-04-301-3/+3
| | | | | | | Both are equivalent but roundup is more logical for this case. Catch another case while here. Pointed out by: jhibbits
* When attempting to satisfy mmap() requests for superpage alignment onrwatson2016-04-302-7/+9
| | | | | | | | | | 64-bit MIPS, use superpage rather than physical-segment constants, or we may improperly fail to apply suitable alignment -- yet still allow mmap() to appear to succeed. Reviewed by: sson MFC after: 1 week Sponsored by: DARPA, AFRL
* sbin: minor spelling fixes.pfg2016-04-305-6/+6
| | | | No functional change.
* Fix incorrect permissions for /etc/rc.d/sendmail in fallout frompeter2016-04-301-1/+1
| | | | release-pkg merge.
* powerpc: Make use of our rounddown() macro when sys/param.h is available.pfg2016-04-301-3/+3
| | | | No functional change.
* ACK the interrupt after disabling it, this avoid an interrupt storm.manu2016-04-301-0/+3
| | | | Approved by: andrew (mentor)
* Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAYandrew2016-04-3018-60/+158
| | | | | | | | | | implementations. Early in the boot the kernel will use an approximate, however after the timer has been probed it will switch to a more accurate implementation. Reviewed by: manu Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5762
* Rationalize license numbering in fdescfs(5)emaste2016-04-303-3/+3
|
* When checking for binary file, check if ch is not EOF only ch actually gotbapt2016-04-301-1/+3
| | | | | | a value assigned Reported by: pfg
* include: minor spelling fixes.pfg2016-04-302-2/+2
| | | | No functional change.
* sys: Make use of our rounddown() macro when sys/param.h is available.pfg2016-04-3021-32/+31
| | | | No functional change.
* Add the UDP encaps port as a parameter to sctp_add_remote_addr().tuexen2016-04-306-15/+21
| | | | | | | | | This is currently only a code change without any functional change. But this allows to set the remote encapsulation port in a more detailed way, which will be provided in a follow-up commit. MFC after: 1 week
* ANSIfy fdescfs(5)emaste2016-04-302-58/+13
|
* Update from subversion 1.9.2 to 1.9.4.dim2016-04-3065-542/+842
| | | | | | | | | | | | | | | This contains only bug fixes, no new features. The repository format is also unchanged from 1.9.2. Full list of changes between 1.9.4 and earlier versions: https://svn.apache.org/repos/asf/subversion/tags/1.9.4/CHANGES Note that the two security issues fixed in 1.9.4 (CVE-2016-2167 and CVE-2016-2168) do not affect the version of Subversion in the FreeBSD base system, since neither SASL nor Apache modules are enabled. Relnotes: yes MFC after: 2 weeks
* Make SERVERS REQUIRE clean when MK_KERBEROS==nongie2016-04-302-1/+2
| | | | | | | | | Make kdc run BEFORE SERVERS instead of being REQUIREd by SERVERS, so systems that pedantically check REQUIREs function after r270782 MFC after: 1 week X-MFC with: r270782 Sponsored by: EMC / Isilon Storage Division
* Don't leak PML4 in _amd64_initvtop(..) if kvm_read2(..) failsngie2016-04-301-0/+1
| | | | | | | MFC after: 1 week Reported by: Coverity CID: 1341474 Sponsored by: EMC / Isilon Storage Division
* Remove a -Wunused-but-set-variable variable -- `pa`ngie2016-04-301-2/+0
| | | | | Reported by: gcc 5.x Sponsored by: EMC / Isilon Storage Division
* Remove kvm_getfiles(3)ngie2016-04-306-319/+7
| | | | | | | | | | | This libcall has been broken since (at least) r174989/8.0-RELEASE. Bump SHLIB_MAJOR for the change Differential Revision: https://reviews.freebsd.org/D6052 Relnotes: yes Reviewed by: jhb, markj Sponsored by: EMC / Isilon Storage Division
* Fix memory allocation edgecases in kvm_argv(..)ngie2016-04-301-3/+12
| | | | | | | | | | | | | - Don't leak nbufp on realloc failure in kvm_argv - Catch malloc errors with bufp - Set buflen last in the "buflen == 0" case to ensure that bufp/nbufp is properly reallocated on the next go around Differential Revision: https://reviews.freebsd.org/D6051 MFC after: 1 week Reviewed by: jhb, markj Reported by: cppcheck Sponsored by: EMC / Isilon Storage Division
* Revert AccessWidth/BitOffset support for AcpiHwWrite() and AcpiHwRead() forjkim2016-04-301-195/+30
| | | | | | | | | | | | | | | now. The following upstream commits are reverted from hwregs.c: https://github.com/acpica/acpica/commit/96ece05 https://github.com/acpica/acpica/commit/3d8583a https://github.com/acpica/acpica/commit/48eea5e https://github.com/acpica/acpica/commit/0a212c3 https://github.com/acpica/acpica/commit/41f6aef https://github.com/acpica/acpica/commit/26434b9 https://github.com/acpica/acpica/commit/c23034a https://github.com/acpica/acpica/commit/c49a751 Note this commit will be reverted when the upstream fixes the code properly.
* Add sdiff test directory to the tests mtreebapt2016-04-301-0/+2
|
* boot/forth: spelling fixes.pfg2016-04-305-11/+11
| | | | | Reviewed by: dteske MFC after: 2 weeks
* libc: spelling fixes.pfg2016-04-3034-43/+43
| | | | Mostly on comments.
OpenPOWER on IntegriCloud