Displaying 1 50 of 492,960 commits (0.030s)

PC-BSD — libexec/rpc.rquotad rquotad.c

Change rpc.rquotad to be a bit less hacky, and also a bit safer.
This is based on looking at the quota_* routines in libutil --
we only care about filesystems that are mounted, and that supporot
the quoota system calls (which is UFS and ZFS).
Delta File
+38 -6 libexec/rpc.rquotad/rquotad.c
+38 -6 1 file

PC-BSD — crypto/openssl/crypto/bn/asm rsaz-avx2.pl, crypto/openssl/ssl ssl.h

PC-BSD — crypto/openssl/crypto/bn/asm rsaz-avx2.pl, crypto/openssl/ssl ssl.h

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

- Pass hostname to vnc_init_server and also free a softc structure. (#54)

- Also sync with what we have on 11.1-stable, for some reason head was outdated.

Note: It depends of libhyve-remote 0.1.4.1 or higher.
Delta File
+19 -5 usr.sbin/bhyve/vncserver.c
+19 -5 1 file

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

- Pass hostname to vnc_init_server and also free a softc structure. (#53)

Note: It depends of libhyve-remote 0.1.4.1 or higher.
Delta File
+3 -2 usr.sbin/bhyve/vncserver.c
+3 -2 1 file

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

- Pass hostname to vnc_init_server and also free a softc structure.
- Also sync with what we have on 11.1-stable, for some reason head was outdated.

Note: It depends of libhyve-remote 0.1.4.1 or higher.
Delta File
+19 -5 usr.sbin/bhyve/vncserver.c
+19 -5 1 file

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

- Pass hostname to vnc_init_server and also free a softc structure.

Note: It depends of libhyve-remote 0.1.4.1 or higher.
Delta File
+3 -2 usr.sbin/bhyve/vncserver.c
+3 -2 1 file

PC-BSD — sys/x86/cpufreq hwpstate.c

MFC:        r309361, r322710, r323286, r326378, r326383, r326407

Sync. hwpstate with head.

r309361 (danfe):

- Mention mismatching numbers in MSR vs. ACPI _PSS count warning.
- Rephrase unsupported AMD CPUs message and wrap as an overly long line.
- Improve readability when reporting resulted P-state transition (debug).

r322710, r323286 (cem):

- Add support for family 17h pstate info from MSRs.
- Yield CPU awaiting frequency change.

r326378, r326383, r326407:

- Fix some style(9) nits.
- Add a tunable "debug.hwpstate_verify" to check P-state after changing it
and turn it off by default.

Ticket:        #27131

(cherry picked from commit d208ed4408a803372667aff3899872aafbc546ec)
Delta File
+69 -42 sys/x86/cpufreq/hwpstate.c
+69 -42 1 file

PC-BSD — crypto/openssl/crypto/bn/asm x86_64-mont5.pl, crypto/openssl/crypto/x509v3 v3_addr.c

PC-BSD — crypto/openssl/crypto/bn/asm x86_64-mont5.pl, crypto/openssl/crypto/x509v3 v3_addr.c

PC-BSD — crypto/openssl/crypto/bn/asm x86_64-mont5.pl, crypto/openssl/crypto/x509v3 v3_addr.c

    Merge branch 'master' of https://github.com/freebsd/freebsd into 
fbsd-12-update-20171129
∈ Kris Moore - 86105da8 - 2017-11-29 15:30:18
    Merge branch 'stable/11' of https://github.com/freebsd/freebsd into 
freebsd-11-update-20171129
    
    Ticket: #26917
∈ Kris Moore - a73e1298 - 2017-11-29 15:27:02

PC-BSD — crypto/openssl/crypto/bn/asm x86_64-mont5.pl, crypto/openssl/crypto/x509v3 v3_addr.c

    Merge branch 'stable/11' of https://github.com/freebsd/freebsd into 
freebsd-11-update-20171129
    
    Ticket: #26917
∈ Kris Moore - a73e1298 - 2017-11-29 15:27:02

PC-BSD — crypto/openssl/crypto/bn/asm x86_64-mont5.pl, crypto/openssl/crypto/x509v3 v3_addr.c

PC-BSD — release/doc/share/xml security.xml errata.xml

Document SA-17:06 through SA-17:11 and EN-17:07 through EN:17-10.

Sponsored by:        The FreeBSD Foundation

PC-BSD — sys/vm vm_page.c

Remove some comments that became incorrect with r325530.
Delta File
+0 -6 sys/vm/vm_page.c
+0 -6 1 file

PC-BSD — cddl/usr.sbin/dtrace/tests/tools exclude.sh

MFC r326096:
Annotate pragma/err.invalidlibdep.ksh as EXFAIL.

PC-BSD — sys/netinet tcp_subr.c

MFC r326093:
Use the right variable for the IP header parameter to tcp:::send.
Delta File
+8 -4 sys/netinet/tcp_subr.c
+8 -4 1 file

PC-BSD — cddl/contrib/opensolaris/cmd/zdb zdb.c, cddl/contrib/opensolaris/cmd/zpool zpool_main.c

 

Merge branch 'freenas/11-stable' into sef-zfs-quota
∈ Sean Eric Fagan - 337ac256 - 2017-11-29 14:17:44
Sef scanning tunables change stable (#48)

* Bring back the scanning (scrub/resilver) tunables and how they impact
things.

* Go through the sequential scan changes that were merged into
zfsonlinux master.  Found some changes that were missed.

I also kept the delay-scan tunable changes, but they are turned
off (by setting the tunables to 0) by default.

* Some feedback from Alexander.

* More Alexander feedback.

* Stupid me missed conflict markers.

PC-BSD — sys/kern subr_kdb.c

Fix several noticed style issues.

Reviewed by:        bde
Approved by:        bapt
Delta File
+1 -8 sys/kern/subr_kdb.c
+1 -8 1 file

PC-BSD — sys/dev/mlx5 device.h, sys/dev/mlx5/mlx5_en mlx5_en_main.c mlx5_en_rx.c

Implement hardware mlx5(4) rx timestamps.

Driver support is only provided for ConnectX4/5.

System-time timestamp is calculated based on the free-running counter
timestamp provided by hardware.  Driver periodically samples the
counter to calibrate it against the system clock and uses linear
interpolation to convert.  Stability of the crystal which drives the
clock is +-50 ppm at the operational temperature, which makes the
algorithm good enough.

The calculation is somewhat delicate because all values are 64bit and
overflow the naive formula for linear interpolation.  The calculation
drops the least significant bits in advance, see the PREC shift in
mlx5_mbuf_tstmp().

Hardware stamps can be turned off by 'ifconfig mceN -hwrxtsmp'.  Buggy
firmware might result in small but visible errors in the reported
timestamps, detectable e.g. by nonsensical (negative) RTT values for
LAN pings.

Reviewed by:        gallatin, hselasky
Sponsored by:        Mellanox Technologies
Differential revision:        https://reviews.freebsd.org/D12638

PC-BSD — share/man/man4 tap.4 tun.4, sys/net if_tap.c if_tun.c

Disallow TUN and TAP character device IOCTLs to modify the network device
type to any value. This can cause page faults and panics due to accessing
uninitialized fields in the "struct ifnet" which are specific to the network
device type.

MFC after:        1 week
Found by:        jau at iki.fi
PR:                223767
Sponsored by:        Mellanox Technologies

PC-BSD — usr.bin/ipcs ipc.c

Remove unused include.

MFC after:        2 weeks
Delta File
+0 -1 usr.bin/ipcs/ipc.c
+0 -1 1 file

PC-BSD — usr.bin/truss syscall.h

Replace a reference to a license in another file with the license text.

The relevant file was recently renamed, so the reference was stale.
In addition, explicit licenses are more typical in our sources.
Delta File
+35 -5 usr.bin/truss/syscall.h
+35 -5 1 file

PC-BSD — sys/powerpc/booke pmap.c

Only check the page tables if within the KVA.

Devices aren't mapped within the KVA, and with the way 64-bit hashes the
addresses pte_vatopa() may not return a 0 physical address for a device.

MFC after:        1 week
Delta File
+3 -2 sys/powerpc/booke/pmap.c
+3 -2 1 file

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

Stupid me missed conflict markers.

PC-BSD — sys/kern subr_vmem.c kern_malloc.c, sys/sys vmem.h

Import lua 5.3.4 to contrib
∈ jeff - 990ca74c - 2017-11-28 23:40:54
Eliminate kmem_arena and kmem_object in preparation for further NUMA commits.

The arena argument to kmem_*() is now only used in an assert.  A follow-up
commit will remove the argument altogether before we freeze the API for the
next release.

This replaces the hard limit on kmem size with a soft limit imposed by UMA.  When
the soft limit is exceeded we periodically wakeup the UMA reclaim thread to
attempt to shrink KVA.  On 32bit architectures this should behave much more
gracefully as we exhaust KVA.  On 64bit the limits are likely never hit.

Reviewed by:        markj, kib (some objections)
Discussed with:        alc
Tested by:        pho
Sponsored by:        Netflix / Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D13187
Delta File
+66 -19 sys/vm/uma_core.c
+24 -10 sys/kern/subr_vmem.c
+11 -20 sys/kern/kern_malloc.c
+16 -10 sys/vm/vm_kern.c
+0 -9 sys/vm/vm_object.c
+4 -4 sys/vm/memguard.c
+19 -7 5 files not shown
+140 -79 11 files

PC-BSD — sys/vm vm_phys.c vm_page.c

Move domain iterators into the page layer where domain selection should take
place.  This makes the majority of the phys layer explicitly domain specific.

Reviewed by:        markj, kib (some objections)
Discussed with:        alc
Tested by:        pho
Sponsored by:        Netflix & Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D13014
Delta File
+17 -194 sys/vm/vm_phys.c
+112 -29 sys/vm/vm_page.c
+112 -0 sys/vm/vm_domain.c
+51 -32 sys/vm/vm_reserv.c
+24 -10 sys/vm/vm_phys.h
+11 -1 sys/vm/vm_page.h
+9 -5 2 files not shown
+336 -271 8 files

PC-BSD — . Makefile README, doc manual.html lua.css

Import Lua 3.5.4

Downloaded from https://www.lua.org/ftp/lua-5.3.4.tar.gz
Delta File
+688 -492 doc/manual.html
+479 -230 src/lcode.c
+325 -185 src/lvm.c
+237 -144 src/ltablib.c
+253 -99 src/lstrlib.c
+170 -122 src/luaconf.h
+2,033 -1,284 58 files not shown
+4,185 -2,556 64 files

PC-BSD — cddl/contrib/opensolaris/cmd/zdb zdb.c, cddl/contrib/opensolaris/cmd/zpool zpool_main.c

Sef scanning tunables change (#46)

* Bring back the scanning (scrub/resilver) tunables and how they impact
things.

* Go through the sequential scan changes that were merged into
zfsonlinux master.  Found some changes that were missed.

I also kept the delay-scan tunable changes, but they are turned
off (by setting the tunables to 0) by default.

* Some feedback from Alexander.

* More Alexander feedback.

PC-BSD — etc/rc.d ntpd

Fix fetching ntp leapfile after 325256

Submitted by:        Ronald Klop <ronald-lists at klop.ws>
Reviewed by:        asomers
MFC after:        3 days
X-MFC-With:        325256
Delta File
+3 -3 etc/rc.d/ntpd
+3 -3 1 file

PC-BSD — lib/libc/mips/gen fabs.c

Fix fabs() for MIPS when used on -0.0

It would previously return negative zero for -0.0 since -0.0 does not
compare less than 0. The issue was discovered when running the libc++
test suite on softfloat MIPS64.

I have verified that both clang and GCC generate sensible code for the
builtin. For soft float they clear the sign bit using integer operations
and in hard float mode they use abs.d.

Reviewed by:        #mips, jhb, brooks, imp, emaste
Approved by:        jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D13135
Delta File
+2 -3 lib/libc/mips/gen/fabs.c
+2 -3 1 file

PC-BSD — usr.sbin/syslogd syslogd.c

Merge branch 'sef-scanning-tunables-change' into sef-scanning-tunables-change-stable
∈ glebius - 7d6335dc - 2017-11-28 19:25:01
Revert r325558 as it is incorrect.
Delta File
+1 -14 usr.sbin/syslogd/syslogd.c
+1 -14 1 file

PC-BSD — usr.sbin/syslogd syslogd.c

Fix obvious NULL pointer dereference from r310350.
Delta File
+5 -6 usr.sbin/syslogd/syslogd.c
+5 -6 1 file

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

More Alexander feedback.

PC-BSD — usr.sbin/syslogd syslogd.c

Revert r326103, as it appeared to be incorrect.
Delta File
+1 -14 usr.sbin/syslogd/syslogd.c
+1 -14 1 file

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

Disable vim syntax highlighting.

Vim's default pick doesn't understand that ';' is a comment character
and the result looks horrible.

Reviewed by:        emaste

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

Some feedback from Alexander.

PC-BSD — release release.conf.sample

Correct a comment after r326330.

MFC after:        3 days
MFC with:        r326330
Sponsored by:        The FreeBSD Foundation
Delta File
+3 -3 release/release.conf.sample
+3 -3 1 file

PC-BSD — release release.conf.sample, share/man/man7 release.7

Add a comment to release/release.conf.sample documenting
EMBEDDEDPORTS. [1]

Remove and update stale documentation from release(7) while here.

PR:                206344 [1]
MFC after:        3 days
Sponsored by:        The FreeBSD Foundation

PC-BSD — sys/vm swap_pager.c

When the swap pager allocates space on disk, it requests contiguous
blocks in a single call to blist_alloc().  However, when it frees
that space, it previously called blist_free() on each block, one at a
time.  With this change, the swap pager identifies ranges of
contiguous blocks to be freed, and calls blist_free() once per
range.  In one extreme case, that is described in the review, the time
to perform an munmap(2) was reduced by 55%.

Submitted by:        Doug Moore <dougm at rice.edu>
Reviewed by:        kib
MFC after:        1 week
Differential Revision:        https://reviews.freebsd.org/D12397
Delta File
+61 -33 sys/vm/swap_pager.c
+61 -33 1 file

PC-BSD — sys/dev/mpr mpr_mapping.c

MFC r325363:

Fix mpr(4) panics caused by bad drive mapping tables

sys/dev/mpr/mpr_mapping.c
        If _mapping_process_dpm_pg0 detects inconsistencies in the drive
        mapping table (stored in the HBA's NVRAM), abort reading it and
        continue to boot as if the mapping table were blank.  I observed
        such inconsistencies in several HBAs after upgrading firmware from
        14.0.0.0 to 15.0.0.0.

Reviewed by:        slm
Sponsored by:        Spectra Logic Corp
Differential Revision:        https://reviews.freebsd.org/D12901
Delta File
+20 -6 sys/dev/mpr/mpr_mapping.c
+20 -6 1 file

PC-BSD — lib/libc/sys aio_suspend.2 lio_listio.2, sys/kern vfs_aio.c posix4_mib.c

MFC r322258, r324941, r324956, r325018

r322258:
Make p1003_1b.aio_listio_max a tunable

p1003_1b.aio_listio_max is now a tunable. Its value is reflected in the
sysctl of the same name, and the sysconf(3) variable _SC_AIO_LISTIO_MAX.
Its value will be bounded from below by the compile-time constant
AIO_LISTIO_MAX and from above by the compile-time constant
MAX_AIO_QUEUE_PER_PROC and the tunable vfs.aio.max_aio_queue.

Reviewed by:        jhb, kib
Relnotes:        yes
Sponsored by:        Spectra Logic Corp
Differential Revision:        https://reviews.freebsd.org/D11601

r324941:
Remove artificial restriction on lio_listio's operation count

In r322258 I made p1003_1b.aio_listio_max a tunable. However, further
investigation shows that there was never any good reason for that limit to
exist in the first place. It's used in two completely different ways:

* To size a UMA zone, which globally limits the number of concurrent
  aio_suspend calls.

    [38 lines not shown]

PC-BSD — cddl/usr.sbin/zfsd vdev_iterator.cc case_file.cc, lib/libdevdctl guid.h

MFC r325011, r325016

r325011:
zfsd should be able to online an L2ARC that disappears and returns

Previously, this didn't work because L2ARC devices' labels don't contain
pool GUIDs.  Modify zfsd so that the pool GUID won't be required:

lib/libdevdctl/guid.h
        Change INVALID_GUID from a uint64_t constant to a function that
        returns an invalid Guid object.  Remove the void constructor.
        Nothing uses it, and it violates RAII.

cddl/usr.sbin/zfsd/case_file.h
cddl/usr.sbin/zfsd/case_file.cc
        Allow CaseFile::Find to match a CaseFile based on Vdev GUID alone.
        In CaseFile::ReEvaluate, attempt to online devices even if the newly
        arrived device has no pool GUID.

cddl/usr.sbin/zfsd/vdev_iterator.cc
        Iterate through a pool's cache devices as well as its regular
        devices.

Reported by:        avg
Reviewed by:        avg

    [9 lines not shown]

PC-BSD — contrib/libc-vis vis.c vis.3

MFC r326307:

Update vis(3) the latest from NetBSD.

This adds VIS_DQ for compatiblity with OpenBSD.

Correct by an off-by-one error and a read buffer overflow detected using
asan.

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

MFC r324940:

Fix the error message when creating a zpool on a too-small device

Don't check for SPA_MINDEVSIZE in vdev_geom_attach when opening by path.
It's redundant with the check in vdev_open, and failing to attach here
results in the wrong error message being printed.  However, still check for
it in some other situations:

* When opening by guids, so we don't get bogged down reading from slow
  devices like floppy drives.
* In vdev_geom_read_pool_label for the same reason, because we iterate over
  all providers.
* If the caller requests that we verify the guid, because then we'll have to
  read from the device before vdev_open verifies the size.

PR:                222227
Reported by:        Marie Helene Kvello-Aune <marieheleneka at gmail.com>
Reviewed by:        avg, mav
Sponsored by:        Spectra Logic Corp
Differential Revision:        https://reviews.freebsd.org/D12531

PC-BSD — sys/arm64/arm64 trap.c

Fix the direction we move the instruction to retuirn to after exiting the
kernel debugger. We should skip the breakpoint instruction, not execute the
instruction before it.

Pointy-hat to:        andrew
MFC after:        1 week
Sponsored by:        DARPA, AFRL
Delta File
+1 -1 sys/arm64/arm64/trap.c
+1 -1 1 file

PC-BSD — lib/libsysdecode errno.c

Sync bsd_to_linux_errno[] table with i386 and amd64 tables in the sys directory.
Additional fix for r326282.

MFC after: 1 week
Approved by: pfg
Delta File
+1 -1 lib/libsysdecode/errno.c
+1 -1 1 file

PC-BSD — sys/dev/pccbb pccbb_isa.c, sys/dev/pci pci.c

MFC r324457:

Remove embedded newlines from sysctl variable descriptions

PR:                112556
Submitted by:        Willem Jan Withagen <wjw at digiware.nl> (earlier version)
Reported by:        Willem Jan Withagen, ighighi at gmail.com
Sponsored by:        Spectra Logic Corp
Delta File
+12 -12 sys/dev/pccbb/pccbb_isa.c
+11 -10 sys/dev/pci/pci.c
+23 -22 2 files