Displaying 1 50 of 267,618 commits (0.014s)

FreeBSD — head/usr.sbin/autofs autounmountd.c

Remove useless - and buggy, it resulted in spurious warnings in logs - code.

MFC after:        2 weeks
Sponsored by:        The FreeBSD Foundation
Delta File
+0 -12 head/usr.sbin/autofs/autounmountd.c
+0 -12 1 file

FreeBSD — head/sbin/mount mount.8

Add description for the "automounted" mount flag.

Reviewed by:        emaste@
MFC after:        2 weeks
Sponsored by:        The FreeBSD Foundation
Delta File
+6 -1 head/sbin/mount/mount.8
+6 -1 1 file

FreeBSD — projects rrs_socrypto_tls

Create a project branch to play with SO_CRYPT_TLS and
capture John-Mark-Gurney's current AESNI changes that
hopefully will be in head soon.

A    svn+ssh://svn.freebsd.org/base/projects/rrs_socrypto_tls
Delta File
+0 -0 projects/rrs_socrypto_tls/
+0 -0 1 file

FreeBSD — head/sys/fs/autofs autofs_vnops.c

Rework ".." lookup; previous one failed to properly busy the mountpoint.

Reviewed by:        kib@
MFC after:        2 weeks
Sponsored by:        The FreeBSD Foundation
Delta File
+18 -14 head/sys/fs/autofs/autofs_vnops.c
+18 -14 1 file

FreeBSD — head/sys/net80211 ieee80211_amrr.c

After much toying around with this AMRR initial rate stuff,
I've decided that for 11n rates it's best to start (very) low and work
our way up.

So, from now on, the initial rate for AMRR 11n is MCS4.
It doesn't try MCS12 or MCS20 - at low signal strengths those don't
work very well at all.

AMRR will step the rate control up over time if things work out better.

Tested:

* Intel 5100
* Intel 5300 (using local diffs to test out 3x3 stream support)

FreeBSD — stable/10/sys/kern uipc_shm.c kern_exec.c, stable/10/sys/vm vm_glue.c

MFC r269907:
Fix leaks of unqueued unwired pages.

FreeBSD — head/sys/ufs/ufs ufs_vnops.c

Do not busy the UFS mount point inside VOP_RENAME().  The
kern_renameat() already starts write on the mp, which prevents
parallel unmount from proceed.  Busying mp after vn_start_write()
deadlocks the unmount.

Reported and tested by:        pho
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Delta File
+0 -9 head/sys/ufs/ufs/ufs_vnops.c
+0 -9 1 file

FreeBSD — head/sys/ufs/ffs ffs_vfsops.c

Correct the test for condition to suspend UFS filesystem during
unmount.  There is no need to suspend read-only filesystem, while we
need suspension on modificable mount point.

Reported by:        rwatson
Tested by:        pho
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Delta File
+1 -1 head/sys/ufs/ffs/ffs_vfsops.c
+1 -1 1 file

FreeBSD — head/sys/amd64/include vmparam.h

Increase max number of physical segments on amd64 to 63.

Eventually, the vmd_segs of the struct vm_domain should become bitset
instead of long, to allow arbitrary compile-time selected maximum.

Reviewed by:        alc
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Delta File
+1 -1 head/sys/amd64/include/vmparam.h
+1 -1 1 file

FreeBSD — head/sys/powerpc/include vmparam.h, head/sys/sys sf_buf.h

Add arch-specific macro SFBUF_PHYS_DMAP(), which should translate the
physical address of the page to direct map address, in case
SFBUF_OPTIONAL_DIRECT_MAP returns true.  The case of PowerPC AIM
64bit, where the page physical address is identical to the direct map
address, is accidental.

Reviewed by:        alc
Sponsored by:        The FreeBSD Foundation

FreeBSD — head/share/vt/keymaps fr.dvorak.acc.kbd nordic.asus-eee.kbd

Fix conversion errors leading to malformed keymap files.

MFC after:        3 days

FreeBSD — head/tools/tools/vt/keymaps convert-keymap.pl convert-keymaps.pl

Fix further conversion errors found while testing the converted keymaps.

MFC after:        3 days

FreeBSD — vendor-sys/illumos/dist/uts/common/fs/zfs dnode.c dbuf.c, vendor-sys/illumos/dist/uts/common/fs/zfs/sys dnode.h dbuf.h

5095 panic when adding a duplicate dbuf to dn_dbufs
Reviewed by: Adam Leventhal <adam.leventhal at delphix.com>
Reviewed by: George Wilson <george.wilson at delphix.com>
Reviewed by: Mattew Ahrens <mahrens at delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel at delphix.com>
Reviewed by: Dan McDonald <danmcd at omniti.com>
Reviewed by: Josef Sipek <jeffpc at josefsipek.net>
Approved by: Robert Mustacchi <rm at joyent.com>
Author: Alex Reece <alex at delphix.com>

illumos/illumos-gate at 86bb58aec7165f8a0303564575c65e5a2ad58bf1

FreeBSD — vendor-sys/illumos/dist/uts/common/sys feature_tests.h processor.h, vendor/illumos/dist/head synch.h libintl.h

5066 remove support for non-ANSI compilation
5068 Remove SCCSID() macro from <macros.h>
Reviewed by: Keith Wesolowski <keith.wesolowski at joyent.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc at josefsipek.net>
Approved by: Robert Mustacchi <rm at joyent.com>
Author: Garrett D'Amore <garrett at damore.org>

illumos/illumos-gate at ba3594ba9b5dd4c846c472a8d657edcb7c8109ac

FreeBSD — vendor-sys/illumos/dist/uts/common/fs/zfs dbuf.c dmu.c

5047 don't use atomic_*_nv if you discard the return value
Reviewed by: Garrett D'Amore <garrett at damore.org>
Reviewed by: Jason King <jason.brian.king at gmail.com>
Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Approved by: Robert Mustacchi <rm at joyent.com>
Author: Josef 'Jeff' Sipek <josef.sipek at nexenta.com>

illumos/illumos-gate at 640c1670a105457bb0040e8e11037b53ab6ebcfa

FreeBSD — vendor-sys/illumos/dist/uts/common/dtrace fasttrap.c profile.c, vendor-sys/illumos/dist/uts/common/fs vnode.c

5045 use atomic_{inc,dec}_* instead of atomic_add_*
Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Approved by: Robert Mustacchi <rm at joyent.com>
Author: Josef 'Jeff' Sipek <josef.sipek at nexenta.com>

illumos/illumos-gate at 1a5e258f5471356ca102c7176637cdce45bac147

FreeBSD — vendor-sys/illumos/dist/common/atomic/amd64 atomic.s, vendor-sys/illumos/dist/common/atomic/i386 atomic.s

5043 remove deprecated atomic functions' prototypes
Reviewed by: Garrett D'Amore <garrett at damore.org>
Approved by: Robert Mustacchi <rm at joyent.com>
Author: Josef 'Jeff' Sipek <josef.sipek at nexenta.com>

illumos/illumos-gate at 6ed9368a130d7c9a82e574da808d34034da33748

FreeBSD — vendor-sys/illumos/dist/uts/common/dtrace systrace.c, vendor-sys/illumos/dist/uts/common/fs vnode.c

5042 stop using deprecated atomic functions
Reviewed by: Dan McDonald <danmcd at omniti.com>
Approved by: Robert Mustacchi <rm at joyent.com>
Author:        Josef 'Jeff' Sipek <josef.sipek at nexenta.com>

illumos/illumos-gate at 75d94465dbafa487b716482dc36d5150a4ec9853

FreeBSD — head/sys/dev/usb/wlan if_run.c

If eapol packets are sent at the lowest rate, key negotiation will
become more reliable.

Submitted by:        Akinori Furukoshi <moonlightakkiy at yahoo dot ca>
Delta File
+5 -5 head/sys/dev/usb/wlan/if_run.c
+5 -5 1 file

FreeBSD — head/share/man/man4 urtwn.4, head/sys/dev/usb usbdevs

Add the D-Link DWA-125 rev D1.

Tested by myself.

FreeBSD — head/tools/build/make_check Makefile

Don't stop other legs of a parallel build due to a failure in make_check.
The whole point is to see if there's any failure, which is handled by
building a newer version of make.

FreeBSD — head/rescue/rescue Makefile

Add zdb into rescue environment.

On amd64, this would increase the binary size by 1.1MiB and
make it possible to examine zpool status offline, useful for
recovery and diagnostic purposes.

Submitted by:        sef
Obtained from:        FreeNAS
MFC after:        2 weeks
Delta File
+4 -2 head/rescue/rescue/Makefile
+4 -2 1 file

FreeBSD — stable/8 Makefile

MFC r255286: don't stop the whole universe build if one kernel fails.
Delta File
+8 -0 stable/8/Makefile
+8 -0 1 file

FreeBSD — stable/10 Makefile.inc1, stable/10/etc Makefile

MFC r266473,267331,267511:

  Use an intermediate target to associate with _SUBDIR which is marked .MAKE
  this allows make -n to do tree walks as expected without
  doing anything else (as intended).
  Use prefix _sub. to help avoid conflict with any real target.

  Put the test suite in its own tests.txz distribution file.
  Force all the contents of /usr/tests to go into a separate distribution
  file so that users of binary releases can easily choose to not install

  Create a mechanism for providing fine-grained build order dependencies
  during SUBDIR_PARALLEL builds.  This augments the coarse .WAIT mechanism,
  which is still useful if you've got a situation such as "almost everything
  depends on A and B".

FreeBSD — stable/10/sys/cddl/dev/dtrace/x86 dis_tables.c

MFC r266103

Update dis_tables.c to the latest Illumos version.

This includes decodes of recent Intel instructions, in particular
VT-x and related instructions. This allows the FBT provider to
locate the exit points of routines that include these new
instructions.

Illumos issues:
 3414 Need a new word of AT_SUN_HWCAP bits
 3415 Add isainfo support for f16c and rdrand
 3416 Need disassembler support for rdrand and f16c
 3413 isainfo -v overflows 80 columns
 3417 mdb disassembler confuses rdtscp for invlpg
 1518 dis should support AMD SVM/AMD-V/Pacifica instructions
 1096 i386 disassembler should understand complex nops
 1362 add kvmstat for monitoring of KVM statistics
 1363 add vmregs[] variable to DTrace
 1364 need disassembler support for VMX instructions
 1365 mdb needs 16-bit disassembler support

This corresponds to Illumos-gate (github) version
eb23829ff08a873c612ac45d191d559394b4b408

FreeBSD — stable/10/sys/kern subr_witness.c

MFC r265098

Bump WITNESS_PENDLIST by MAXCPU to account for the
pmap pvlist locks which are scaled by MAXCPU.
Delta File
+1 -1 stable/10/sys/kern/subr_witness.c
+1 -1 1 file

FreeBSD — stable/9/sys/dev/vt vt_buf.c

vt(4): Add vtbuf_dirty*_locked() to lock vtbuf once, not twice

In several functions, vtbuf_putchar() in particular, the lock on vtbuf
is acquired twice:
    1. once by the said functions;
    2. once in vtbuf_dirty().

Now, vtbuf_dirty_locked() and vtbuf_dirty_cell_locked() allow to
acquire that lock only once.

This improves the input speed of vt(4). To measure the gain, a
50,000-lines file was displayed on the console using cat(1). The time
taken by cat(1) is reported below:
    o  On amd64, with vt_vga:
        - before: 1.0"
        - after:  0.5"
    o  On sparc64, with creator_vt:
        - before: 13.6"
        - after:  10.5"

This is an MFC of r269780.
Delta File
+21 -13 stable/9/sys/dev/vt/vt_buf.c
+21 -13 1 file

FreeBSD — head/usr.sbin/mountd mountd.c

Avoid showing stale errors when nmount(2) fails.

Sometimes nmount(2) will fail without setting errmsg. The previous (ignored)
error would then be shown as the reason for the failed call if the next
nmount(2) also fails without [ENOENT,ENOTSUP].

An example is when there is a tmpfs mounted with -o size. vfs_filteropt() adds
'size' as an error in errmsg due to 'size' not being in tmpfs_updateopts. Then
tmpfs_mount returns [ENOTSUP] from nmount(2), which is then ignored. The next
call may race with an unmount causing an invalid [EINVAL] that then does log an
error, with the tmpfs errmsg.

The race itself is a separate issue to fix as it is expected to have an
[ENOENT] returned instead.

In this example the mount being shown is actually nullfs, not tmpfs that the
error is from.

  mountd[740]: can't delete exports for 
/poudriere/data/.m/exp-head-commit-test-devel/04/.npkg: Invalid argument mount option 
<size> is unknown

It should only show:

  mountd[740]: can't delete exports for 

    [3 lines not shown]
Delta File
+2 -0 head/usr.sbin/mountd/mountd.c
+2 -0 1 file

FreeBSD — stable/10/sys/dev/vt vt_buf.c

vt(4): Add vtbuf_dirty*_locked() to lock vtbuf once, not twice

In several functions, vtbuf_putchar() in particular, the lock on vtbuf
is acquired twice:
    1. once by the said functions;
    2. once in vtbuf_dirty().

Now, vtbuf_dirty_locked() and vtbuf_dirty_cell_locked() allow to
acquire that lock only once.

This improves the input speed of vt(4). To measure the gain, a
50,000-lines file was displayed on the console using cat(1). The time
taken by cat(1) is reported below:
    o  On amd64, with vt_vga:
        - before: 1.0"
        - after:  0.5"
    o  On sparc64, with creator_vt:
        - before: 13.6"
        - after:  10.5"

This is an MFC of r269780.
Delta File
+21 -13 stable/10/sys/dev/vt/vt_buf.c
+21 -13 1 file

FreeBSD — head/share/misc bsd-family-tree

Add recent DragonFly releases.

Submitted by:        Zach Crownover <zachary.crownover at gmail.com>
MFC after:        1 week
Delta File
+12 -0 head/share/misc/bsd-family-tree
+12 -0 1 file

FreeBSD — head/usr.sbin/nmtree Makefile

Add LIBMD and LIBUTIL to DPADD to fix "make checkdpadd"

Approved by: jmmv (mentor)
MFC after: 5 days
Phabric: D633
PR: 192763
Delta File
+1 -0 head/usr.sbin/nmtree/Makefile
+1 -0 1 file

FreeBSD — head/usr.sbin/ctld Makefile

Add missing libraries to DPADD; sort DPADD so DPADD and LDADD match up

This fixes "make checkdpadd"

Approved by: jmmv (mentor)
MFC after: 2 weeks
Phabric: D630
PR: 192765
Delta File
+2 -2 head/usr.sbin/ctld/Makefile
+2 -2 1 file

FreeBSD — head/secure/usr.bin/ssh Makefile

Fix typo (LIBLDNSADD -> LIBLDNS) to fix "make checkdpadd"

X-MFC with: r269648
Phabric: D634
Approved by: jmmv (mentor)
Delta File
+1 -1 head/secure/usr.bin/ssh/Makefile
+1 -1 1 file

FreeBSD — stable/8/tools/regression/usr.sbin etcupdate, stable/8/tools/regression/usr.sbin/etcupdate preworld.sh tzsetup.sh

MFC 238423,238426,238428,258063,258064,258066,258097,258185,259134:
The etcupdate utility is a tool for managing updates to files that are
not updated as part of `make installworld' such as files in /etc.  It
manages updates by doing a three-way merge of changes made to these files
against the local versions.  It is also designed to minimize the amount
of user intervention with the goal of simplifying upgrades for clusters
of machines.

Requested by:        peter

FreeBSD — head/sys/cam/ctl ctl_tpc.c

Fix lock recursion on LUN shutdown, introduced on r269497.

MFC after:        3 days
Delta File
+1 -2 head/sys/cam/ctl/ctl_tpc.c
+1 -2 1 file

FreeBSD — stable/9/sys/sys param.h

Bump __FreeBSD_version after r269789 so ports can use it.
Delta File
+1 -1 stable/9/sys/sys/param.h
+1 -1 1 file

FreeBSD — stable/10/sys/sys param.h

Bump __FreeBSD_version after r269490 so ports can use it.
Delta File
+1 -1 stable/10/sys/sys/param.h
+1 -1 1 file

FreeBSD — head/sys/sys param.h

Bump __FreeBSD_version after r269489 so ports can use it.
Delta File
+1 -1 head/sys/sys/param.h
+1 -1 1 file

FreeBSD — head/share/man/man5 src.conf.5

Regen after r270171
Delta File
+3 -0 head/share/man/man5/src.conf.5
+3 -0 1 file

FreeBSD — head/tools/build/options WITHOUT_CUSE

Add missing WITHOUT_CUSE file.

FreeBSD — head/lib/csu/i386-elf Makefile

Use bsd.lib.mk here as all other csu Makefiles do.

This effectively reverts r124752.

There's no reason this should be different. It resulted in needing NO_PIE in
the original opt-out NO_PIE commit as this was not using the proper framework.

Reported by:        peter
Delta File
+11 -7 head/lib/csu/i386-elf/Makefile
+11 -7 1 file

FreeBSD — head/share/man/man5 src.conf.5

Regen after r270168
Delta File
+1 -4 head/share/man/man5/src.conf.5
+1 -4 1 file

FreeBSD — head Makefile.inc1, head/bin/rmail Makefile

Revert r267233 for now. PIE support needs to be reworked.

1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other
   build-only utility libraries.
2. Another 40% is fixed by generating _pic.a variants of various libraries.
3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR)
   where it never would work anyhow, such as csu or loader. This suggests
   there may be better ways of adding support to the tree. Many of these
   cases can be fixed such that -fPIE will work but there is really no
   reason to have it in those cases.
4. Some of the uses are working around hacks done to some Makefiles that are
   really building libraries but have been using bsd.prog.mk because the code
   is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have
   been needed.

We likely do want to enable PIE by default (opt-out) for non-tree consumers
(such as ports). For in-tree though we probably want to only enable PIE
(opt-in) for common attack targets such as remote service daemons and setuid
utilities. This is also a great performance compromise since ASLR is expected
to reduce performance. As such it does not make sense to enable it in all
utilities such as ls(1) that have little benefit to having it enabled.

Reported by:        kib

FreeBSD — stable/9/sys/ofed/include/linux linux_radix.c

MFC r269859:
Fix for memory leak.

Sponsored by:        Mellanox Technologies

FreeBSD — stable/10/sys/ofed/include/linux linux_radix.c

MFC r269859:
Fix for memory leak.

Sponsored by:        Mellanox Technologies

FreeBSD — head/sys/dev/usb usbdevs

Sort ASUS section and add USB device ID of ASUS USB-AC51.
Delta File
+6 -5 head/sys/dev/usb/usbdevs
+6 -5 1 file

FreeBSD — projects/bmake ObsoleteFiles.inc Makefile.inc1, projects/bmake/bin/chio chio.1

Merge head from 7/28

FreeBSD — projects/bmake/pkgs/pseudo/bootstrap-tools Makefile

After we finish using src/Makefile.inc1 to bootstrap legacy tools
use it to build the toolchain we actually want.

FreeBSD — head/tools/tools/nanobsd nanobsd.sh

Add support for -X, which installs the native cross tools for qemu
operations. Doesn't install qemu nor setup the jail, yet.
Delta File
+21 -1 head/tools/tools/nanobsd/nanobsd.sh
+21 -1 1 file

FreeBSD — head/sys/boot/fdt/dts/arm sam9260ek.dts, head/sys/gnu/dts/arm sam9260ek_common.dtsi

New DTS files to suppport the SAM9260EK eval board. Derived, in part,
from the SAM9G20EK dts files (so that file is GPL'd).