Displaying 1 50 of 245,545 commits (0.019s)

PC-BSD — share/man/man9 pci.9, sys/dev/pci pci.c pcivar.h

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ jhb - e0cb3afa - 2016-07-24 05:24:10
MFC 302175:
Add pci_get_max_payload() to fetch the PCI-express maximum payload size.
Delta File
+16 -0 sys/dev/pci/pci.c
+14 -1 share/man/man9/pci.9
+1 -0 sys/dev/pci/pcivar.h
+31 -1 3 files

PC-BSD — . ObsoleteFiles.inc, share/man/man9 rman.9 Makefile

MFC 300253: Remove dangling references to rman_await_resource().

This function was removed when RF_TIMESHARE was removed a couple of years
ago.

PC-BSD — sys/dev/acpica/Osd OsdSynch.c

MFC 299977: Use polling spin loops for timeouts during early boot.

Some ACPI operations such as mutex acquires and event waits accept a
timeout.  The ACPI OSD layer implements these timeouts by using regular
sleep timeouts.  However, this doesn't work during early boot before
event timers are setup.  Instead, use polling combined with DELAY()
to spin.

This fixes booting on upcoming Intel systems with Kaby Lake processors.
Delta File
+34 -0 sys/dev/acpica/Osd/OsdSynch.c
+34 -0 1 file

PC-BSD — sys/vm vm_fault.c

MFC r303101
  Add a comment describing the 'fast path' that was introduced in r270011.
Delta File
+9 -0 sys/vm/vm_fault.c
+9 -0 1 file

PC-BSD — sys/dev/acpica acpi.c acpi_pcib_acpi.c

MFC 298370,298372,298377,298379,298380,298484:
Abstract out _OSC handling and invoke it for PCI bridges.

r298370:
Add a wrapper for evaluating _OSC methods.

This wrapper does not translate errors in the first word to ACPI
error status returns.  Use this wrapper in the acpi_cpu(4) driver in
place of the existing _OSC code.  While here, fix a bug where the wrong
count of words was passed when invoking _OSC.

r298372:
Invoke _OSC on Host-PCI bridges.

Tell the firmware that we support PCI-express config space access
and MSI.

r298377:
Remove query flag from acpi_EvaluateOSC().  This function does not support
return buffer (yet).

r298379:
There is no need to use array any more.  No functional change.

r298380:

    [7 lines not shown]

PC-BSD — sys/kern kern_event.c

MFC r302936:
Explicitely check for the valid range of file descriptor values.
Delta File
+5 -2 sys/kern/kern_event.c
+5 -2 1 file

PC-BSD — usr.bin/tr tr.c

MFC: r302827

Optimize [Cc]flag case: don't repeatedly add the last character of
string2 to squeeze cset when string2 reach its EOS state.
Delta File
+4 -3 usr.bin/tr/tr.c
+4 -3 1 file

PC-BSD — usr.bin/tr tr.1

MFC: r302826

Document incomplete support of [=equiv=] and collation for ranges.
Delta File
+4 -0 usr.bin/tr/tr.1
+4 -0 1 file

PC-BSD — sys/kern sys_process.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ kib - 6d4ed8e9 - 2016-07-22 17:36:40
MFC r302919:
In ptrace_vm_entry(), do not call vmspace_free() while owning a vm
object lock.
Delta File
+1 -1 sys/kern/sys_process.c
+1 -1 1 file

PC-BSD — sys/kern vfs_syscalls.c

MFC r302893:
Do not allow creation of char or block special nodes with VNOVAL dev_t.
Delta File
+2 -0 sys/kern/vfs_syscalls.c
+2 -0 1 file

PC-BSD — lib/libc/locale collcmp.c

Forget to merge this changes in prev. MFC
Delta File
+3 -1 lib/libc/locale/collcmp.c
+3 -1 1 file

PC-BSD — lib/libc/gen fnmatch.c glob.c, lib/libc/locale collcmp.c collate.h

MFC: r302824

1) Eliminate possibility to call __*collate_range_cmp() with inclomplete
locale (which cause core dump) by removing whole 'table' argument
by which it passed.

2) Restore __collate_range_cmp() in __sccl().

3) Collating [a-z] range in regcomp() works for single byte locales only
(we can't do it for other ones). In previous state only first 256
wide chars are considered and all others are just silently dropped from the
range.

PC-BSD — sys/dev/e1000 if_igb.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ sbruno - e3c997f5 - 2016-07-22 03:48:44
MFC r303110
Remove uneeded parens.
Delta File
+1 -1 sys/dev/e1000/if_igb.c
+1 -1 1 file

PC-BSD — sys/cam/scsi scsi_all.c

MFC r302281
Correct PERSISTENT RESERVE OUT command and populate scsi_cmd->length.

PR:                202625
Delta File
+1 -0 sys/cam/scsi/scsi_all.c
+1 -0 1 file

PC-BSD — sys/dev/an if_an.c

MFC r300612
Reject ioctl commands for FLSHGCHR and FLSHPCHR if the size is greater
than sc->areq.  This is a bounds check to ensure we're not just cramming
arbitrarily sized nonsense into the driver and overflowing the heap.

PR:                209545
Delta File
+6 -0 sys/dev/an/if_an.c
+6 -0 1 file

PC-BSD — contrib/llvm/tools/clang/lib/Driver Tools.cpp

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ emaste - a815cdb9 - 2016-07-22 01:16:56
MFC r303031: clang++: Always use --eh-frame-hdr on FreeBSD, even for -static

FreeBSD uses LLVM's libunwind on FreeBSD/arm64 today (and we expect to
use it more widely in the future) and it requires the EH frame segment
in static binaries.

PC-BSD — libexec/rtld-elf rtld.c

MFC r302908:

  Fix dlsym(RTLD_NEXT) handling to only return the next library in last library
  cases.
Delta File
+1 -1 libexec/rtld-elf/rtld.c
+1 -1 1 file

PC-BSD — sys/conf files, sys/geom/uzip g_uzip.c g_uzip_zlib.c

MFC: merge in all new features and improvements into geom_uzip(8) from current,
which includes:

 o LZMA compression;
 o block de-duplication;
 o performance improvements;
 o pop out worker kthread to do extraction.

This includes the following revisions:
 r295943,r295952,r298502,r298619,r299195,r302284

Suggested by: emaste

PC-BSD — usr.sbin/bhyve pci_ahci.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ mav - 8b7bd42f - 2016-07-21 11:58:47
MFC r302957: Fix NCQ TRIM emulation.

When this code was written, there was no guests using it to test.
Delta File
+10 -2 usr.sbin/bhyve/pci_ahci.c
+10 -2 1 file

PC-BSD — sys/dev/vmware/vmxnet3 if_vmx.c

MFC r303000: Update if_hwassist when interface options are changed.

In particular for me this fixes checksum problem when if_bridge attached
to the interface requests TXCSUM to be disabled, but effectively ignored.
Delta File
+22 -9 sys/dev/vmware/vmxnet3/if_vmx.c
+22 -9 1 file

PC-BSD — release Makefile

MFC r303003:

 Make sure we clean up the rdoc and reldoc directories if NODOC
 is not set.

Sponsored by:        The FreeBSD Foundation
Delta File
+3 -0 release/Makefile
+3 -0 1 file

PC-BSD — sys/dev/e1000 if_lem.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ sbruno - e331c193 - 2016-07-20 22:32:19
Fix lem(4) build after r303107

Submitted by:        Jason Wolfe <j at nitrology.com>
Delta File
+1 -1 sys/dev/e1000/if_lem.c
+1 -1 1 file

PC-BSD — sys/dev/e1000 if_em.c

Fix em(4) build after r303107

Reported by:        Jason Wolf <j at nitrology.com>
Delta File
+1 -1 sys/dev/e1000/if_em.c
+1 -1 1 file

PC-BSD — sys/dev/e1000 if_igb.c if_lem.c, sys/dev/ixgb if_ixgb.c

MFC - r302384 to 10-STABLE
Do not initialize the adapter on MTU change when adapter status is down.
This fixes long-standing problems when changing settings of the adapter.

Discussed in:
https://lists.freebsd.org/pipermail/freebsd-net/2016-June/045509.html

Differential Revision:        https://reviews.freebsd.org/D7254

PC-BSD — usr.bin/mkuzip mkuzip.c mkuz_fqueue.c

MFC: merge in all new features and improvements into mkuzip(8) from current,
which includes:

 o LZMA compression;
 o block de-duplication;
 o performance improvements;
 o multi-thread support.

This includes the following revisions:
  r295943,r296626,r296628,r296810,r298504,r298505,r298577

Suggested by:        emaste

PC-BSD — sys/kern kern_time.c, sys/sys ktrace.h

MFC r302770:
Trace timeval parameters to the getitimer(2) and setitimer(2) syscalls.
Delta File
+25 -0 usr.bin/kdump/kdump.c
+17 -0 sys/kern/kern_time.c
+2 -0 sys/sys/ktrace.h
+44 -0 3 files

PC-BSD — share/man/man4 mps.4 mpr.4, sys/dev/mpr mpr_sas.c mpr.c

MFC r302673
Use real values to calculate Max I/O size instead of guessing.

Reviewed by:        ken, scottl
Approved by:        ken, scottl, ambrisko (mentors)
Differential Revision:        https://reviews.freebsd.org/D7043
Delta File
+148 -76 share/man/man4/mps.4
+27 -4 share/man/man4/mpr.4
+17 -5 sys/dev/mpr/mpr_sas.c
+17 -4 sys/dev/mps/mps_sas.c
+11 -0 sys/dev/mpr/mpr.c
+11 -0 sys/dev/mps/mps.c
+6 -2 2 files not shown
+237 -91 8 files

PC-BSD — usr.bin/ul ul.c

MFC r302558:
Do not truncate lines longer than 512 chars.

PR:                210344
Differential Revision:        https://reviews.freebsd.org/D6881
Delta File
+133 -108 usr.bin/ul/ul.c
+133 -108 1 file

PC-BSD — usr.bin/sed process.c

MFC r302973:
sed(1): Fix off by one introduced in r299211.

Detected by running the gsed tests.

Submitted by:        Mikhail Teterin
PR:                195929
Delta File
+1 -1 usr.bin/sed/process.c
+1 -1 1 file

PC-BSD — usr.bin/gcore elfcore.c

MFC r302179:
gcore: Forward pending signals when detaching from the target.
Delta File
+13 -3 usr.bin/gcore/elfcore.c
+13 -3 1 file

PC-BSD — sys/geom/mirror g_mirror.c

MFC r302091:
Do not complete pending gmirror BIOs when tearing down the provider.
Delta File
+15 -2 sys/geom/mirror/g_mirror.c
+15 -2 1 file

PC-BSD — share/man/man4 ddb.4

MFC r302797:
Document DDB's "alltrace" and "show all trace" commands.
Delta File
+6 -1 share/man/man4/ddb.4
+6 -1 1 file

PC-BSD — sys/compat/freebsd32 freebsd32_misc.c freebsd32_util.h, sys/kern kern_syscalls.c sysv_sem.c

Merge remote-tracking branch 'origin/FIX-15988' into 9.10-STABLE
∈ mjg - b5145dec - 2014-10-26 19:42:44
Avoid dynamic syscall overhead for statically compiled modules.

The kernel tracks syscall users so that modules can safely unregister them.

But if the module is not unloadable or was compiled into the kernel, there is
no need to do this.

Achieve this by adding SY_THR_STATIC_KLD macro which expands to SY_THR_STATIC
during kernel build and 0 otherwise.

Reviewed by:        kib (previous version)
MFC after:        2 weeks

(cherry picked from commit a9faac8f4b75a3a8c3d752a2c56e3709438f5a94)

Ticket: #14465

PC-BSD — . UPDATING, contrib/ntp CommitLog configure

Revert "Merge remote-tracking branch 'origin/FIX-15098' into TN-9.3-STABLE"
FIX-15098 was a freenas fix branch hence reveerting.
This reverts commit 31e95aabf8d283468df1f5df20f8eca8694cc63d, reversing
changes made to c43e8effcb566bf6279a205969f10e3f90ee26b3.
Delta File
+191,009 -10,243 contrib/ntp/CommitLog
+30,403 -17,622 contrib/ntp/configure
+27,424 -10,890 contrib/ntp/sntp/configure
+18,025 -0 contrib/ntp/sntp/libevent/configure
+8,628 -5,855 contrib/ntp/sntp/ltmain.sh
+8,628 -5,855 contrib/ntp/ltmain.sh
+461,958 -130,148 1727 files not shown
+746,075 -180,613 1733 files

PC-BSD — sys/dev/vmware/vmxnet3 if_vmx.c

Merge remote-tracking branch 'origin/FIX-15098' into TN-9.3-STABLE
∈ Jordan Hubbard - 770aacbd - 2016-07-19 06:08:56
Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ mav - 23d74b91 - 2016-07-18 14:40:13
Update if_hwassist when interface options are changed.

In particular for me this fixes checksum problem when if_bridge attached
to the interface requests TXCSUM to be disabled, but effectively ignored.

Ticket:        #15087

(cherry picked from commit da7dbb0c30c6a6de949758c38363abd69f57c314)
(cherry picked from commit 8fe35590b04a349e613b9977789c77ef3e2cf216)
Delta File
+22 -9 sys/dev/vmware/vmxnet3/if_vmx.c
+22 -9 1 file

PC-BSD — sys/dev/vmware/vmxnet3 if_vmx.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ mav - 23d74b91 - 2016-07-18 14:40:13
Update if_hwassist when interface options are changed.

In particular for me this fixes checksum problem when if_bridge attached
to the interface requests TXCSUM to be disabled, but effectively ignored.

Ticket:        #15087

(cherry picked from commit da7dbb0c30c6a6de949758c38363abd69f57c314)
(cherry picked from commit 8fe35590b04a349e613b9977789c77ef3e2cf216)
Delta File
+22 -9 sys/dev/vmware/vmxnet3/if_vmx.c
+22 -9 1 file

PC-BSD — sys/dev/vmware/vmxnet3 if_vmx.c

Update if_hwassist when interface options are changed.

In particular for me this fixes checksum problem when if_bridge attached
to the interface requests TXCSUM to be disabled, but effectively ignored.

Ticket:        #15087

(cherry picked from commit da7dbb0c30c6a6de949758c38363abd69f57c314)
(cherry picked from commit 8fe35590b04a349e613b9977789c77ef3e2cf216)
Delta File
+22 -9 sys/dev/vmware/vmxnet3/if_vmx.c
+22 -9 1 file

PC-BSD — sys/dev/vmware/vmxnet3 if_vmx.c

Update if_hwassist when interface options are changed.

In particular for me this fixes checksum problem when if_bridge attached
to the interface requests TXCSUM to be disabled, but effectively ignored.

Ticket:        #15087

(cherry picked from commit da7dbb0c30c6a6de949758c38363abd69f57c314)
Delta File
+22 -9 sys/dev/vmware/vmxnet3/if_vmx.c
+22 -9 1 file

PC-BSD — sys/netinet tcp_usrreq.c tcp_syncache.c

MFC r261242:

Decrease lock contention within the TCP accept case by removing
the INP_INFO lock from tcp_usr_accept.  As the PR/patch states
this was following the advice already in the code.
See the PR below for a full discussion of this change and its
measured effects.

PR:                183659
Submitted by:        Julien Charbon
Reviewed by:        jhb

PC-BSD — sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_ctldir.c

MFC r302772: re-apply r299908: zfsctl_snapdir_lookup: clear VV_ROOT of
snapshot's root

PC-BSD — sys/netpfil/ipfw dn_sched_fq_pie.c

MFC r302667

Fix problems in the FQ-PIE AQM cleanup code that could leak memory or
cause a crash.

Because dummynet calls pie_cleanup() while holding a mutex, pie_cleanup()
is not able to use callout_drain() to make sure that all callouts are
finished before it returns, and callout_stop() is not sufficient to make
that guarantee.  After pie_cleanup() returns, dummynet will free a
structure that any remaining callouts will want to access.

Fix these problems by allocating a separate structure to contain the
data used by the callouts.  In pie_cleanup(), call callout_reset_sbt()
to replace the normal callout with a cleanup callout that does the cleanup
work for each sub-queue.  The instance of the cleanup callout that
destroys the last flow will also free the extra allocated block of memory.
Protect the reference count manipulation in the cleanup callout with
DN_BH_WLOCK() to be consistent with all of the other usage of the reference
count where this lock is held by the dummynet code.

Submitted by:        Rasool Al-Saadi <ralsaadi at swin.edu.au>
Differential Revision:        https://reviews.freebsd.org/D7174
Delta File
+87 -136 sys/netpfil/ipfw/dn_sched_fq_pie.c
+87 -136 1 file

PC-BSD — sys/i386/i386 exception.s

MFC r302573:
Fill tf_trapno for trap frames created for syscall.
Delta File
+2 -2 sys/i386/i386/exception.s
+2 -2 1 file

PC-BSD — usr.bin/mail cmd3.c vars.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ pfg - 598789d2 - 2016-07-17 18:32:33
MFC r302511, r302771, r302845:
mail(1): check for out of memory conditions when calling calloc(3).
Delta File
+6 -3 usr.bin/mail/cmd3.c
+2 -1 usr.bin/mail/vars.c
+8 -4 2 files

PC-BSD — sys/amd64/linux linux_machdep.c linux.h, sys/amd64/linux32 linux32_machdep.c linux.h

MFC r302517:

Fix a copy/paste bug introduced during X86_64 Linuxulator work.
FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation
use READ_IMPLIES_EXEC flag, introduced in r302515.

While here move common part of mmap() and mprotect() code to the files in compat/linux
to reduce code dupcliation between Linuxulator's.

MFC r302518, r302626:

Add linux_mmap.c to the appropriate conf/files.

PC-BSD — sys/amd64/linux linux_proto.h linux_systrace_args.c, sys/amd64/linux32 linux32_proto.h linux32_systrace_args.c

Regen for r302962 (Linux personality), record mergeinfo for r320516.

PC-BSD — sys/amd64/linux syscalls.master, sys/amd64/linux32 syscalls.master

MFC r302515:

Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag.
In Linux if this flag is set, PROT_READ implies PROT_EXEC for mmap().
Linux/i386 set this flag automatically if the binary requires executable stack.

READ_IMPLIES_EXEC flag will be used in the next Linux mmap() commit.

PC-BSD — etc/rc.d jail

MFC r302857:

  Start jails non-parallel if jail_parallel_start is NO.  This was true
  for an explicitly specified jail list; now it's also true for all jails.

PR:                209112
Delta File
+6 -3 etc/rc.d/jail
+6 -3 1 file

PC-BSD — usr.sbin/jail command.c state.c

MFC r302856:

    Fix up the order in which jail creation processes are run, to preserve
    the config file's order in the non-parallel-start case.

PR:                209112

PC-BSD — usr.sbin/bhyve pci_ahci.c

Fix NCQ TRIM emulation.

When this code was written, there was no guests using it to test.

(cherry picked from commit 2e12a25c191d319446fe84d37a240b2ea46ab7f0)
Delta File
+10 -2 usr.sbin/bhyve/pci_ahci.c
+10 -2 1 file

PC-BSD — etc/rc.d jail

MFC r302855:

    Wait for jails to complete startup if jail_parallel_start is YES,
    instead of assuming they'll take less than one second.

PR:                203172
Submitted by:        dmitry2004 at yandex.ru
Delta File
+16 -15 etc/rc.d/jail
+16 -15 1 file