Displaying 1 50 of 295,940 commits (0.027s)

FreeBSD — head/sys/dev/iwm if_iwm.c

[iwn] fill in the TX command rate info flags consistently.

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 at ksu.edu> for pointing this out to me
and doing some investigation/testing on his end.

Tested:

* Intel 7260 STA, 2G and 5G networks
Delta File
+21 -24 head/sys/dev/iwm/if_iwm.c
+21 -24 1 file

FreeBSD — head/sbin/restore symtab.c

restore: fix resource handle leak.

CID:                1007784
MFC after:        5 days
Delta File
+1 -0 head/sbin/restore/symtab.c
+1 -0 1 file

FreeBSD — head/sbin/restore symtab.c

restore: drop casts for calloc().
Delta File
+2 -3 head/sbin/restore/symtab.c
+2 -3 1 file

FreeBSD — head/sbin/dump main.c, head/sbin/fsck_ffs inode.c suj.c

sbin: ake use of our rounddown() macro when sys/param.h is available.

No functional change.

FreeBSD — head/sbin/growfs debug.c, head/sbin/newfs_nandfs newfs_nandfs.c

sbin: use our howmany() macro when available through <sys/param.h>.

FreeBSD — user/ngie/release-pkg-fix-tests/share/mk bsd.test.mk suite.test.mk

Move FILESGROUPS appending from suite.test.mk to bsd.test.mk

PACKAGE is being set explicitly, so group all of the "assumptions" in one place

FreeBSD — user/ngie/release-pkg-fix-tests/share/mk suite.test.mk

Remove explicit TESTSDIR setting for Kyuafile

FreeBSD — head/sbin/restore main.c

restore: fix memory leak.

CID:                272297
MFC after:        5 days
Delta File
+2 -1 head/sbin/restore/main.c
+2 -1 1 file

FreeBSD — user/ngie/release-pkg-fix-tests/bin/sh/tests/builtins Makefile, user/ngie/release-pkg-fix-tests/bin/sh/tests/errors Makefile

- Remove TESTS being appended to FILESGROUPS; it's being done in suite.tests.mk now
- Use FILES instead of TESTS

FreeBSD — user/ngie/release-pkg-fix-tests/share/mk suite.test.mk

Automatically append TESTS to FILESGROUPS and move Kyuafile to TESTS

This fixes installing Kyuafiles in subdirectories, e.g. bin/sh/tests/builtins,
after the release-pkg merge

FreeBSD — user/ngie release-pkg-fix-tests

Create branch for fixing up tests after the release-pkg branch merge
Delta File
+0 -0 user/ngie/release-pkg-fix-tests/
+0 -0 1 file

FreeBSD — head/share/mk bsd.files.mk

Allow FILESGROUPS to be specified more than once by pruning out duplicates

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Delta File
+1 -1 head/share/mk/bsd.files.mk
+1 -1 1 file

FreeBSD — head/share/man/man5 rc.conf.5, head/usr.sbin/jail jail.8

Clarify when happens when there is a "depend" parameter in jail.conf,
and how this affects the "jail_list" option in rc.conf.

FreeBSD — head/sbin/restore interactive.c

restore: use our howmany() instead of reinventing the macro.
Delta File
+1 -3 head/sbin/restore/interactive.c
+1 -3 1 file

FreeBSD — head/sbin/fdisk fdisk.c, head/sbin/fdisk_pc98 fdisk.c

fdisk: drop unused macro and make use of roundup()/rounddown().

FreeBSD — head/sys/powerpc/powerpc exec_machdep.c

powerpc: Replace rounddown() from r298856 with roundup().

Both are equivalent but roundup is more logical for this case.
Catch another case while here.

Pointed out by:        jhibbits

FreeBSD — head/sys/mips/include param.h, head/sys/mips/mips pmap.c

When attempting to satisfy mmap() requests for superpage alignment on
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

FreeBSD — head/sbin/camcontrol fwdownload.c, head/sbin/ipfw ipfw2.c ipv6.c

sbin: minor spelling fixes.

No functional change.

FreeBSD — head/etc/rc.d Makefile

Fix incorrect permissions for /etc/rc.d/sendmail in fallout from
release-pkg merge.
Delta File
+1 -1 head/etc/rc.d/Makefile
+1 -1 1 file

FreeBSD — head/sys/powerpc/powerpc exec_machdep.c

powerpc: Make use of our rounddown() macro when sys/param.h is available.

No functional change.

FreeBSD — head/sys/arm/allwinner aw_nmi.c

ACK the interrupt after disabling it, this avoid an interrupt storm.

Approved by:        andrew (mentor)
Delta File
+3 -0 head/sys/arm/allwinner/aw_nmi.c
+3 -0 1 file

FreeBSD — head/sys/arm/allwinner timer.c allwinner_machdep.c, head/sys/arm/arm generic_timer.c platform.c

Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY
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

FreeBSD — head/sys/fs/fdescfs fdesc.h fdesc_vfsops.c

Rationalize license numbering in fdescfs(5)

FreeBSD — stable/10/etc/defaults rc.conf, stable/10/etc/rc.d jail

MFC r295471:

  Add new rc.conf parameter "jail_reverse_stop"

  When a user defines "jail_list" in rc.conf the jails are started in the
  order defined. Currently the jails are not are stopped in reverse order
  which may break dependencies between jails/services and prevent a clean
  shutdown. The new parameter "jail_reverse_stop" will shutdown jails in
  "jail_list" in reverse order when set to "YES".

  Please note that this does not affect manual invocation of the jail rc
  script. If a user runs the command

    # service jail stop jail1 jail2 jail3

  the jails will be stopped in exactly the order specified regardless of
  jail_reverse_stop being defined in rc.conf.

MFC r295568:

  Document the new jail_reverse_stop parameter

  While here clean up the documentation for jail_list

PR:                196152
Submitted by:        feld

FreeBSD — head/usr.bin/sdiff sdiff.c

When checking for binary file, check if ch is not EOF only ch actually got
a value assigned

Reported by:        pfg
Delta File
+3 -1 head/usr.bin/sdiff/sdiff.c
+3 -1 1 file

FreeBSD — stable/10/usr.sbin/pw pw.8

MFC r298525:

Add a single example of adding a user that roughly corresponds with the
adduser example in the Handbook.
Delta File
+13 -1 stable/10/usr.sbin/pw/pw.8
+13 -1 1 file

FreeBSD — head/include/arpa nameser.h, head/include/rpcsvc klm_prot.x

include: minor spelling fixes.

No functional change.

FreeBSD — head/sys/arm/at91 at91_pmc.c, head/sys/ddb db_output.c

sys: Make use of our rounddown() macro when sys/param.h is available.

No functional change.

FreeBSD — head/sys/netinet sctp_pcb.c sctputil.c

Add the UDP encaps port as a parameter to sctp_add_remote_addr().

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

FreeBSD — head/sys/fs/fdescfs fdesc_vnops.c fdesc_vfsops.c

ANSIfy fdescfs(5)

FreeBSD — head/contrib/subversion CHANGES INSTALL, head/contrib/subversion/subversion/include svn_fs.h svn_config.h

Update from subversion 1.9.2 to 1.9.4.

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

FreeBSD — head/etc/rc.d SERVERS kdc

Make SERVERS REQUIRE clean when MK_KERBEROS==no

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
Delta File
+1 -1 head/etc/rc.d/SERVERS
+1 -0 head/etc/rc.d/kdc
+2 -1 2 files

FreeBSD — stable/9/sbin/ping6 ping6.c

MFstable/10 r272871:
r272871 (by hrs):

MFC r271909:
  Revert changes in r269180.  It could cause -c N option to enter an
  infinite loop if no reply packet is received.
Delta File
+2 -8 stable/9/sbin/ping6/ping6.c
+2 -8 1 file

FreeBSD — head/lib/libkvm kvm_amd64.c

Don't leak PML4 in _amd64_initvtop(..) if kvm_read2(..) fails

MFC after: 1 week
Reported by: Coverity
CID: 1341474
Sponsored by: EMC / Isilon Storage Division
Delta File
+1 -0 head/lib/libkvm/kvm_amd64.c
+1 -0 1 file

FreeBSD — head/lib/libkvm kvm_sparc64.c

Remove a -Wunused-but-set-variable variable -- `pa`

Reported by: gcc 5.x
Sponsored by: EMC / Isilon Storage Division
Delta File
+0 -2 head/lib/libkvm/kvm_sparc64.c
+0 -2 1 file

FreeBSD — head ObsoleteFiles.inc, head/lib/libkvm kvm_file.c kvm_getfiles.3

Remove kvm_getfiles(3)

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

FreeBSD — head/lib/libkvm kvm_proc.c

Fix memory allocation edgecases in kvm_argv(..)

- 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
Delta File
+12 -3 head/lib/libkvm/kvm_proc.c
+12 -3 1 file

FreeBSD — head/sys/contrib/dev/acpica/components/hardware hwregs.c

FreeBSD — head/etc/mtree BSD.tests.dist

Add sdiff test directory to the tests mtree
Delta File
+2 -0 head/etc/mtree/BSD.tests.dist
+2 -0 1 file

FreeBSD — stable/10/sys/dev/sfxge sfxge_ev.c sfxge_rx.c

MFC r298735

sfxge(4): do not use RxQ index as label

Labels are limitted by 32 on EF10. It is not sufficient on powerful hosts.
Since only one RxQ is running over each EvQ, zero label may be used.

Reviewed by:    gnn
Sponsored by:   Solarflare Communications, Inc.
PR:             208267
Differential Revision:  https://reviews.freebsd.org/D6121

FreeBSD — stable/10/sys/kern sysv_sem.c sysv_msg.c, stable/10/usr.sbin/jail jail.8

MFC r298584:

  Note the existence of module-specific jail paramters, starting with the
  linux.* parameters when linux emulation is loaded.

MFC r298585:

  Encapsulate SYSV IPC objects in jails.  Define per-module parameters
  sysvmsg, sysvsem, and sysvshm, with the following bahavior:

  inherit: allow full access to the IPC primitives.  This is the same as
  the current setup with allow.sysvipc is on.  Jails and the base system
  can see (and moduly) each other's objects, which is generally considered
  a bad thing (though may be useful in some circumstances).

  disable: all no access, same as the current setup with allow.sysvipc off.

  new: A jail may see use the IPC objects that it has created.  It also
  gets its own IPC key namespace, so different jails may have their own
  objects using the same key value.  The parent jail (or base system) can
  see the jail's IPC objects, but not its keys.

PR:                48471

FreeBSD — stable/10/share/man/man9 osd.9, stable/10/sys/kern kern_osd.c

MFC r297367:

  Move the various per-type arrays of OSD data into a single structure array.

MFC r297422:

  Add osd_reserve() and osd_set_reserved(), which allow M_WAITOK allocation
  of an OSD array.

FreeBSD — stable/10/sys/kern kern_jail.c, stable/10/sys/sys jail.h

MFC r298565:

  Add a new jail OSD method, PR_METHOD_REMOVE.  It's called when a jail is
  removed from the user perspective, i.e. when the last pr_uref goes away,
  even though the jail mail still exist in the dying state.  It will also
  be called if either PR_METHOD_CREATE or PR_METHOD_SET fail.

MFC r298683:

  Delay removing the last jail reference in prison_proc_free, and instead
  put it off into the pr_task.  This is similar to prison_free, and in fact
  uses the same task even though they do something slightly different.

MFC r298566:

  Pass the current/new jail to PR_METHOD_CHECK, which pushes the call
  until after the jail is found or created.  This requires unlocking the
  jail for the call and re-locking it afterward, but that works because
  nothing in the jail has been changed yet, and other processes won't
  change the important fields as long as allprison_lock remains held.

  Keep better track of name vs namelc in kern_jail_set.  Name should
  always be the hierarchical name (relative to the caller), and namelc
  the last component.


    [5 lines not shown]

FreeBSD — stable/10/sys/kern kern_jail.c, stable/10/sys/sys jail.h

MFC r298564:

  Remove the PR_REMOVE flag, which was meant as a temporary marker for
  a jail that might be seen mid-removal.  It hasn't been doing the right
  thing since at least the ability to resurrect dying jails, and such
  resurrection also makes it unnecessary.

FreeBSD — head/sys/boot/forth support.4th loader.4th

boot/forth: spelling fixes.

Reviewed by: dteske
MFC after: 2 weeks

FreeBSD — head/lib/libc/amd64/string strcmp.S, head/lib/libc/iconv iconv-internal.h

libc: spelling fixes.

Mostly on comments.

FreeBSD — head/sys/compat/linux linux_fork.c linux_misc.c, head/sys/compat/linuxkpi/common/include/linux dma-mapping.h dmapool.h

sys/compat/linux*: spelling fixes.

Mostly on comments but there are some user-visible messages as well.

MFC after: 2 weeks

FreeBSD — head/sys/compat/ndis ndis_var.h ntoskrnl_var.h

ndis: spelling fixes in comments.

No functional change.

FreeBSD — head/sys/compat/x86bios x86bios.h

x86bios: spelling fix in a comment.

No functional change.
Delta File
+1 -1 head/sys/compat/x86bios/x86bios.h
+1 -1 1 file

FreeBSD — head/sys/boot/arm/at91/bootiic env_vars.c, head/sys/boot/arm/at91/bootspi env_vars.c

sys/boot: spelling fixes in comments.

No functional change.