Displaying 1 50 of 476,938 commits (0.031s)

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

Un-hide %datasets in ZFS_IOC_DATASET_LIST_NEXT.

PC-BSD — usr.sbin/bhyve virtio.h

fix mismerge, whoops
Delta File
+0 -1 usr.sbin/bhyve/virtio.h
+0 -1 1 file

PC-BSD — sys/boot/forth menu.rc

Merge remote-tracking branch 'freebsd/stable/11' into freebsd11
∈ Kris Moore - 702b0553 - 2017-02-17 01:10:39
    Large cleanup of the default BSD Loader menu, slim it down to 3
    menu options, "Boot FreeNAS, Advanced Options, and Boot-Environments" which
    should be very powerful and yet simple enough for anybody to use.. (Even Apple Users) 
;)
Delta File
+54 -62 sys/boot/forth/menu.rc
+54 -62 1 file

PC-BSD — sys/boot/forth menu.rc

    Large cleanup of the default BSD Loader menu, slim it down to 3
    menu options, "Boot FreeNAS, Advanced Options, and Boot-Environments" which
    should be very powerful and yet simple enough for anybody to use.. (Even Apple Users) 
;)
Delta File
+54 -62 sys/boot/forth/menu.rc
+54 -62 1 file

PC-BSD — sys/boot/forth menu.rc

    Large cleanup of the default BSD Loader menu, slim it down to 3
    menu options, "Boot FreeNAS, Advanced Options, and Boot-Environments" which
    should be very powerful and yet simple enough for anybody to use.. (Even Apple Users) 
;)
Delta File
+54 -62 sys/boot/forth/menu.rc
+54 -62 1 file

PC-BSD — sys/cddl/dev/dtrace/x86 dis_tables.c dis_tables.h

MFC r313133:
Sync the x86 dis_tables.c with upstream.

PC-BSD — usr.sbin/kldxref ef.c

MFC r313563: kldxref: bump MAXSEGS to 3

ld.bfd generates two PT_LOAD segments, but certain linkers or linker
configurations generate three PT_LOAD segments (one additional for
RELRO).

PR:                216975
Delta File
+1 -1 usr.sbin/kldxref/ef.c
+1 -1 1 file

PC-BSD — usr.sbin/kldxref ef.c

MFC r313562: kldxref: s/sections/segments/ in warning message

The message refers to program header segments, not sections.

PR:                216975
Delta File
+1 -1 usr.sbin/kldxref/ef.c
+1 -1 1 file

PC-BSD — sys/sys syscallsubr.h

MFC r313715:
Order alphabetically.
Delta File
+1 -1 sys/sys/syscallsubr.h
+1 -1 1 file

PC-BSD — sys/boot/forth menu.4th

Merge branch 'stable/11' of https://github.com/freenas/os into stable/11
∈ Kris Moore - b0e32d85 - 2017-02-16 19:11:58
Make the 4th menu wider for long boot-environment names
Delta File
+1 -1 sys/boot/forth/menu.4th
+1 -1 1 file

PC-BSD — sys/boot/forth menu.4th

Make the 4th menu wider for long boot-environment names
Delta File
+1 -1 sys/boot/forth/menu.4th
+1 -1 1 file

PC-BSD — usr.sbin/bhyve virtio.h

MFC r311702
  Use correct PCI device id for virtio-rng.
  This prevented the device from attaching with a
  Windows guest (most other guests use the device type
  for matching)

  PR:   212711
Delta File
+1 -1 usr.sbin/bhyve/virtio.h
+1 -1 1 file

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

MFC r313477:

Cleanup on usr.sbin/arp/arp.c

* 'blackhole' and 'reject' are mutually exclusive, replace printf() by errx()
  when both are selected.
* 'trail' option is no longer supported since first import of arp from 4.4BSD.
  XXX message was added 13 years ago in r128192. I believe it's time to remove
  it.
* Use warnx() to print some informative messages instead of printf()
* Replace strncmp() by strcmp() when validating parameters and exit when invalid
  parameter is found

Reviewed by:        allanjude, vangyzen, cem
Approved by:        allanjude
MFC after:        1 week
Sponsored by:        Rubicon Communications (Netgate)
Differential Revision:        https://reviews.freebsd.org/D9504
Delta File
+15 -17 usr.sbin/arp/arp.c
+15 -17 1 file

PC-BSD — contrib/zlib deflate.c zlib.h, contrib/zlib/contrib README.contrib

MFC r311285,312335: zlib 1.2.11.
Delta File
+499 -303 contrib/zlib/deflate.c
+298 -154 contrib/zlib/zlib.h
+210 -122 contrib/zlib/gzwrite.c
+94 -83 contrib/zlib/zlib.map
+108 -48 contrib/zlib/gzread.c
+86 -37 contrib/zlib/inflate.c
+530 -369 26 files not shown
+1,825 -1,116 32 files

PC-BSD — sys/compat/freebsd32 freebsd32_misc.c

MFC r313692:
Style: wrap long line.

PC-BSD — usr.sbin/ctladm ctladm.8

Merge remote-tracking branch 'freebsd/stable/11' into freebsd11
∈ wblock - ea1d3ae6 - 2017-02-15 16:55:24
MFC r313162: Replace Cyrillic characters with Latin (normal) ones.
Delta File
+2 -2 usr.sbin/ctladm/ctladm.8
+2 -2 1 file

PC-BSD — contrib/llvm/tools/lld/ELF EhFrame.cpp

MFC r313458: lld: Allow arbitrary code alignment in .eh_frame

According to the specification, CIE code alignment factor is an
arbitrary unsigned LEB128 encoded value.

PR:                216908

PC-BSD — sys/arm/arm pmap-v6.c, sys/arm/include pcpu.h

MFC r312610, r312792

r312610:
 Like r310481 for i386, move the objects used to create temporary
 mappings for armv6 pmap zero and copy operations to the MD PCPU region.
 Change sysmap initialization to only allocate KVA pages for CPUs that
 are actually present.

 While here, collapse CMAP3 into CMAP2 (their use was mutually exclusive
 anyway) and "recover" some space in PCPU padding that has always been
 available due to 64-byte cacheline padding.

r312792:
 Further cleanup of per-CPU armv6 pmap data:

 - Replace pcpu_find(curcpu) with get_pcpu(), which is much more direct.

 - Remove armv4 pcpu fields which I added in r286296 but never needed
   to use.

 - armv6 pc_qmap_addr was leftover from the old armv6 pmap
   implementation.  Rename it and put it to use in the new one.
Delta File
+146 -126 sys/arm/arm/pmap-v6.c
+12 -5 sys/arm/include/pcpu.h
+158 -131 2 files

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

MFC r313457:

Fix style(9)

Reviewed by:        vangyzen, allanjude, cem
Approved by:        allanjude
MFC after:        1 week
Sponsored by:        Rubicon Communications (Netgate)
Differential Revision:        https://reviews.freebsd.org/D9494
Delta File
+44 -46 usr.sbin/arp/arp.c
+44 -46 1 file

PC-BSD — usr.sbin/bsdinstall/scripts auto

MFC r313448:

bsdinstall: Make sure chroot filesystems are umounted after use

* DISTDIR_IS_UNIONFS is set every time BSDINSTALL_DISTDIR is mounted inside
  BSDINSTALL_CHROOT. Use this flag to decide if it needs to be umounted
* BSDINSTALL_CHROOT/dev is mounted when 'bsdinstall mount' is called, there is
  no need to mount it again when user goes to shell after installation

Reviewed by:        allanjude
Obtained from:        pfSense
MFC after:        1 week
Sponsored by:        Rubicon Communications (Netgate)
Differential Revision:        https://reviews.freebsd.org/D8573
Delta File
+4 -3 usr.sbin/bsdinstall/scripts/auto
+4 -3 1 file

PC-BSD — . ObsoleteFiles.inc, tests/sys/geom/class/gate ggate_test.sh 1_test.sh

MFC r311893, r313008, r313081

r311893:
ATFify the geom gate tests.

This ensures their cleanup routines will be run even if they should timeout.

tests/sys/geom/class/gate/ggate_test.sh
tests/sys/geom/class/gate/Makefile
        Add an ATF test with three testcases, one for each TAP test. Use
        ATF-style cleanup functions, and convert sleeps to polling loops.

ObsoleteFiles.inc
tests/sys/geom/class/gate/conf.sh
tests/sys/geom/class/gate/1_test.sh
tests/sys/geom/class/gate/2_test.sh
tests/sys/geom/class/gate/3_test.sh
        Delete TAP test files

Reviewed by:        ngie
MFC after:        4 weeks
Sponsored by:        Spectra Logic Corp
Differential Revision:        https://reviews.freebsd.org/D8891

r313008:

    [34 lines not shown]

PC-BSD — etc/mtree BSD.tests.dist BSD.var.dist

MFC r311349, r311445

r311349:
tabs -> spaces in etc/mtree

MFC after:        4 weeks

r311445:
Fix typo from r311349

Reported by:        lwhsu
Pointy-hat-to:        asomers
MFC after:        4 weeks
X-MFC-with:        311349

PC-BSD — sys/kern kern_lockf.c

MFC r312991: put very expensive sanity checks of advisory locks under DIAGNOSTIC

Sponsored by:        Panzura
Delta File
+2 -2 sys/kern/kern_lockf.c
+2 -2 1 file

PC-BSD — sys/netpfil/ipfw dn_heap.h, usr.sbin/syslogd syslogd.c

MFC r313356:

Fix typos in comments (returing -> returning)

PC-BSD — lib/libc/stdlib hcreate.3

MFC r313374:

hcreate(3): fix the ERRORS section and bump .Dd

- Add missing comma between functions that trigger ENOMEM error.
- Fix the description for ESRCH. The action that triggers this error is
  FIND, not SEARCH (SEARCH does not exist).
Delta File
+4 -4 lib/libc/stdlib/hcreate.3
+4 -4 1 file

PC-BSD — lib/libc/tests/stdio printbasic_test.c

MFC r313378,r313379:

r313378:

Wrap strcmp/wcscmp calls with ATF_CHECK_MSG and drop atf_tc_fail use

The reasoning here was the same as what was done in r313376:
- Gather as many results as possible instead of failing early and
  not testing the rest of the cases.
- Simplify logic when checking test inputs vs outputs and printing
  test result.

r313379:

Expect :int_within_limits to fail when ptrdiff_t/*intmax_t differ in base type

The %t{d,u} (ptrdiff_t) tests fail for the following reasons:
- ptrdiff_t is by definition int32_t on !LP64 architectures and int64_t on
  LP64 architectures.
- intmax_t is by definition fixed to int64_t on all architectures.
- Some of the code in lib/libc/stdio/... is promoting ptrdiff_t to *intmax_t
  when parsing/representing the value.

PR:                191674
Delta File
+12 -10 lib/libc/tests/stdio/printbasic_test.c
+12 -10 1 file

PC-BSD — lib/libc/tests/stdio printfloat_test.c

MFC r313376:

Fix :hexadecimal_floating_point on i386

Don't exclude i386 from LDBL_MANT_DIG == 64; it works properly in
that case.

While here, replace strcmp + atf_tc_fail with ATF_CHECK_MSG for 2
reasons:
- Gather as many results as possible instead of failing early and
  not testing the rest of the cases.
- Simplify logic when checking test inputs vs outputs and printing
  test result.

Tested on:        amd64, i386

PC-BSD — contrib/netbsd-tests/lib/libc/gen t_floatunditf.c

MFC r313377:

Expect :floatunditf to fail on FreeBSD/i386

The precision error on FreeBSD/i386 doesn't match the expected output in
long double form.

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

MFC r313358,r313360:

r313358:

Sort sys/ #includes and zap an unnecessary trailing space nearby

r313360:

Sort sys/ #includes some more
Delta File
+6 -6 usr.sbin/syslogd/syslogd.c
+6 -6 1 file

PC-BSD — contrib/compiler-rt/lib/asan asan_malloc_linux.cc asan_malloc_win.cc, contrib/compiler-rt/lib/lsan lsan_interceptors.cc

MFC r313052:

Pull in r293536 from upstream compiler-rt trunk:

  Recommit: Stop intercepting some malloc-related functions on FreeBSD
  and macOS

  Summary:
  In https://bugs.freebsd.org/215125 I was notified that some configure
  scripts attempt to test for the Linux-specific `mallinfo` and
  `mallopt` functions by compiling and linking small programs which
  references the functions, and observing whether that results in
  errors.

  FreeBSD and macOS do not have the `mallinfo` and `mallopt` functions,
  so normally these tests would fail, but when sanitizers are enabled,
  they incorrectly succeed, because the sanitizers define interceptors
  for these functions.  This also applies to some other malloc-related
  functions, such as `memalign`, `pvalloc` and `cfree`.

  Fix this by not intercepting `mallinfo`, `mallopt`, `memalign`,
  `pvalloc` and `cfree` for FreeBSD and macOS, in all sanitizers.

  Also delete the non-functional `cfree` wrapper for Windows, to fix the
  test cases on that platform.

    [11 lines not shown]

PC-BSD — sys/dev/isp isp.c

MFC r313568:

  ------------------------------------------------------------------------
  r313568 | ken | 2017-02-10 15:02:45 -0700 (Fri, 10 Feb 2017) | 68 lines

  Change the isp(4) driver to not adjust the tag type for REQUEST SENSE.

  The isp(4) driver was changing the tag type for REQUEST SENSE
  commands to Head of Queue, when the CAM CCB flag
  CAM_TAG_ACTION_VALID was NOT set.  CAM_TAG_ACTION_VALID is set
  when the tag action in the XPT_SCSI_IO is not CAM_TAG_ACTION_NONE
  and when the target has tagged queueing turned on.

  In most cases when CAM_TAG_ACTION_VALID is not set, it is because
  the target is not doing tagged queueing.  In those cases, trying to
  send a Head of Queue tag may cause problems.  Instead, default to
  sending a simple tag.

  IBM tape drives claim to support tagged queueing in their standard
  Inquiry data, but have the DQue bit set in the control mode page
  (mode page 10).  CAM correctly detects that these drives do not
  support tagged queueing, and clears the CAM_TAG_ACTION_VALID flag
  on CCBs sent down to the drives.

  This caused the isp(4) driver to go down the path of setting the

    [48 lines not shown]
Delta File
+2 -13 sys/dev/isp/isp.c
+2 -13 1 file

PC-BSD — sys/geom/part g_part_gpt.c

MFC r313185:
  Check that primary GPT header is valid before wiping partitioning.

  This allows safely destroy corrupted GPT when primary header was
  rewritten by some data, that do not want to destroy.
Delta File
+4 -3 sys/geom/part/g_part_gpt.c
+4 -3 1 file

PC-BSD — sys/compat/linux linux_socket.c

Merge branch 'stable/11' of https://github.com/freebsd/freebsd into stable/11
∈ Kris Moore - 3e5ee3d8 - 2017-02-12 16:12:38
Merge branch 'svn_head' of https://github.com/freebsd/freebsd into svn_head
∈ dchagin - 1a323706 - 2017-02-12 15:22:50
    Fix r313284.
    
    Members of the syscall argument structures are padded to a word size. So,
    for COMPAT_LINUX32 we should convert user supplied system call arguments
    which is 32-bit in that case to the array of register_t.
    
    Reported by:        Oleg V. Nauman
    MFC after:        1 week
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313684 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+26 -20 sys/compat/linux/linux_socket.c
+26 -20 1 file

PC-BSD — sys/kern kern_lock.c vfs_default.c, sys/sys lockmgr.h

    lockmgr: implement fast path
    
    The main lockmgr routine takes 8 arguments which makes it impossible to
    tail-call it by the intermediate vop_stdlock/unlock routines.
    
    The routine itself starts with an if-forest and reads from the lock itself
    several times.
    
    This slows things down both single- and multi-threaded. With the patch
    single-threaded fstats go 4% up and multithreaded up to ~27%.
    
    Note that there is still a lot of room for improvement.
    
    Reviewed by:        kib
    Tested by:        pho
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313683 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+244 -61 sys/kern/kern_lock.c
+8 -4 sys/kern/vfs_default.c
+4 -0 sys/sys/lockmgr.h
+256 -65 3 files

PC-BSD — sbin/kldload kldload.c

MFC r313273:

style(9) cleanup

- Delete trailing whitespace
- Fix alignment/variable sorting
- Delete single-line enclosing braces
Delta File
+23 -36 sbin/kldload/kldload.c
+23 -36 1 file

PC-BSD — contrib/netbsd-tests h_macros.h, contrib/netbsd-tests/crypto/libcrypto t_pubkey.sh t_libcrypto.sh

MFC r312008:

Upgrade NetBSD tests to 01.11.2017_23.20 snapshot

This contains some new testcases in /usr/tests/...:

- .../lib/libc
- .../lib/libthr
- .../lib/msun
- .../sys/kern

Tested on:        amd64, i386

PC-BSD — usr.bin/svn Makefile.inc, usr.bin/svn/svn Makefile

    Use SRCTOP/OBJTOP relative paths where possible; use :H manipulation in lieu
    of ../ elsewhere
    
    This simplifies pathing in make/displayed output
    
    MFC after:        1 week
    Sponsored by:        Dell EMC Isilon
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313679 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

PC-BSD — sys/netinet udp_usrreq.c ip_output.c, sys/netinet6 udp6_usrreq.c ip6_output.c

    Fixup mergeinfo.
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313678 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
∈ eri - befd1323 - 2017-02-12 06:56:33
    Committed without approval from mentor.
    
    Reported by:        gnn
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313675 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

PC-BSD — sys/arm/freescale/imx imx6_usbphy.c, sys/dev/usb/controller ehci_imx.c

    Enable usb low and full speed devices connected to the imx6 root hubs.
    
    This enables the PHY circuitry for UTMI+ level 2 and 3, and sets the
    flag to tell the ehci code that the root hub has a transaction translator
    in it.  For imx6 we can use the standard ehci_get_port_speed_portsc()
    function to find out what speed device is connected to the port.
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313674 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

PC-BSD — usr.bin/ctlstat ctlstat.8, usr.bin/mt mt.1

    Remove spaces at end of line
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313673 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

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

    Remove useless Li macro
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313672 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+1 -1 usr.bin/mail/mail.1
+1 -1 1 file

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

    Use correct date format
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313671 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+1 -1 usr.bin/bc/bc.1
+1 -1 1 file

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

    Escape Sm to avoid confusion with Sm macro
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313670 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+1 -1 usr.bin/expand/expand.1
+1 -1 1 file

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

    Properly use .An macro before Authors name
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313669 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+6 -3 usr.bin/ipcrm/ipcrm.1
+6 -3 1 file

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

    Add missing section in manpage reference
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313668 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+1 -1 usr.bin/mkimg/mkimg.1
+1 -1 1 file

PC-BSD — usr.bin/mkuzip mkuzip.8

    Remove spaces at EOL and sort correctly the SEE ALSO section
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313667 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+3 -3 usr.bin/mkuzip/mkuzip.8
+3 -3 1 file

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

    Remove empty space at EOL and escept Ed
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313666 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+4 -4 usr.bin/revoke/revoke.1
+4 -4 1 file

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

    Remove useless .Pp after the .Sh macro and remove empty line
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313665 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+0 -2 usr.bin/sdiff/sdiff.1
+0 -2 1 file

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

    Escape No to avoid confusion with the No macro
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313664 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+9 -9 usr.bin/units/units.1
+9 -9 1 file

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

    Add missing section after .Xr reference
    
    Reported by:        make manlint
    MFC after:        2 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head at 313663 
ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delta File
+1 -1 usr.bin/unzip/unzip.1
+1 -1 1 file