Displaying 1 50 of 279,187 commits (0.018s)

FreeBSD — head/usr.sbin/ctld ctl.conf.5

Add hint about "volmode=dev" to ctl.conf(5).

Differential Revision:        https://reviews.freebsd.org/D2328
Reviewed by:        allanjude@, bcr@
MFC after:        1 month
Sponsored by:        The FreeBSD Foundation
Delta File
+9 -3 head/usr.sbin/ctld/ctl.conf.5
+9 -3 1 file

FreeBSD — head/sys/dev/mii mlphy.c

The comment on BMCR data in if_media entry is wrong. The ifm_data stores
the index array, not a value for BMCR register. In case of IFM_10_T there
could be either MII_MEDIA_10_T or MII_MEDIA_10_T_FDX, which are 1 and 2,
accordingly. Neither matches a valid BMCR value. My guessing is that this
write is harmless, since later mii_phy_setmedia() would write a proper
value there.

The code is here since the initial checkin. Note that case IFM_100_TX has
the same comment, but a proper value of BMCR_ISO is written. So, collapse
two cases into one, always writing there BMCR_ISO.

Sponsored by:        Nginx, Inc.
Delta File
+2 -20 head/sys/dev/mii/mlphy.c
+2 -20 1 file

FreeBSD — user/pho/stress2/misc mmap7.sh

Updated scenario with problem seen and fix revision.

Sponsored by:         EMC / Isilon storage division
Delta File
+3 -0 user/pho/stress2/misc/mmap7.sh
+3 -0 1 file

FreeBSD — head/sys/dev/mii xmphy.c

Since xmphy doesn't call mii_phy_setmedia(), there is no reason to set ifm_data.

Sponsored by:        Nginx, Inc.
Delta File
+4 -5 head/sys/dev/mii/xmphy.c
+4 -5 1 file

FreeBSD — head/sys/dev/mii brgphy.c

Since brgphy doesn't call mii_phy_setmedia(), there is no reason to
set any value to ifm_data.  If brgphy ever to call mii_phy_setmedia(),
then the value of BRGPHY_S1000 | BRGPHY_BMCR_FDX will trigger KASSERT.

While here, remove the obfuscating macro and wrap long lines.

Sponsored by:        Nginx, Inc.
Delta File
+14 -9 head/sys/dev/mii/brgphy.c
+14 -9 1 file

FreeBSD — head/sys/dev/usb/video udl.c

Don't print uninitialized variables.

CID:        1295242
Delta File
+1 -2 head/sys/dev/usb/video/udl.c
+1 -2 1 file

FreeBSD — head/tools/build check-links.sh

Tweak BSS symbol handling from r281811 to not consider them unresolved
Delta File
+3 -2 head/tools/build/check-links.sh
+3 -2 1 file

FreeBSD — head/tools/build check-links.sh

Support libraries linked by path.

Sponsored by:        EMC / Isilon Storage Division
Delta File
+10 -6 head/tools/build/check-links.sh
+10 -6 1 file

FreeBSD — head/contrib/bmake make.1 bmake.1, head/contrib/bmake/PSD.doc tutorial.ms Makefile

Merge bmake-20150418

PR: 199486

FreeBSD — head/tools/build check-links.sh

- For executables search for matching (B) global uninitialized BSS symbols from
  linked libraries. Only do this for BSS symbols that have a size which avoids
  __bss_start. Without this some libraries would be considered unneeded even
  though they were providing a B symbol.
- Add in the symbols from crt1.o to cover a handful of common unresolved symbols.
- Consider (C) common data symbols as provided by libraries/crt1.
- Move libkey() function to more appropriate place.

Sponsored by:        EMC / Isilon Storage Division
Delta File
+30 -21 head/tools/build/check-links.sh
+30 -21 1 file

FreeBSD — head/tools/build check-links.sh

Revert r281805 for now as it breaks due to spaces in output
Delta File
+3 -5 head/tools/build/check-links.sh
+3 -5 1 file

FreeBSD — head/release/tools vmimage.subr

Simplify variable expansion in attempt to fix the vm-image build.

Sponsored by:        The FreeBSD Foundation
Delta File
+3 -3 head/release/tools/vmimage.subr
+3 -3 1 file

FreeBSD — head/tools/build check-links.sh

Pass full path to ldd(1) so it works on files in cwd.
Delta File
+1 -1 head/tools/build/check-links.sh
+1 -1 1 file

FreeBSD — head/usr.sbin/wpa Makefile.crypto

Fix wpa/hostapd build without OpenSSL.
Delta File
+3 -2 head/usr.sbin/wpa/Makefile.crypto
+3 -2 1 file

FreeBSD — head/contrib/wpa CONTRIBUTIONS COPYING, head/contrib/wpa/hostapd config_file.c ctrl_iface.c

Merge wpa_supplicant/hostapd 2.4.

Major changes are: SAE, Suite B, RFC 7268, EAP-PKE, ACS, and tons of
bug fixes.

Relnotes:        yes

FreeBSD — head/tools/build check-links.sh

Support demangling C++ symbols with -D flag.

Sponsored by:        EMC / Isilon Storage Division
Delta File
+5 -3 head/tools/build/check-links.sh
+5 -3 1 file

FreeBSD — projects/em_mq/sys/dev/e1000 if_em.c

Define em_last_bind_cpus when not using EM_MULTIQUEUE.

FreeBSD — projects release-arm64

Kill the projects/release-arm64 branch, merged to head in
r281802

Sponsored by:        The FreeBSD Foundation
Delta File
+0 -0 projects/release-arm64/
+0 -0 1 file

FreeBSD — head/release release.sh release.conf.sample, head/release/tools vmimage.subr

Merge the following from ^/projects/release-arm64 to allow
building FreeBSD/arm64 VM images and memstick.img installation
medium:
r281786, r281788, r281792:

 r281786:
  Add support for building arm64/aarch64 virtual machine images.

 r281788:
  Copy amd64/make-memstick.sh to arm64/make-memstick.sh for
  aarch64 memory stick images.

  Although arm64 does not yet have USB support, the memstick
  image should be bootable with certain virtualization tools,
  such as qemu.

 r281792:

  Add a buildenv_setup() prototype, intended to be overridden as
  needed.

  For example, the arm64/aarch64 build needs devel/aarch64-binutils,
  so buildenv_setup() in the release.conf for this architecture
  handles the installation of the port before buildworld/buildkernel.

Sponsored by:        The FreeBSD Foundation
Delta File
+7 -0 head/release/tools/vmimage.subr
+2 -0 head/release/release.sh
+1 -0 head/release/release.conf.sample
+0 -0 head/release/arm64/
+10 -0 4 files

FreeBSD — projects/release-arm64 .arclint .arcconfig, projects/release-arm64/lib/libc/iconv citrus_prop.c

MFH: r281784-r281800

This is in preparation to merge back to head after
testing.

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/usr.bin/patch util.c inp.c

patch(1): small include changes.

Mostly to match OpenBSD, no functional change.

Obtained from:        OpenBSD

FreeBSD — head/sys/arm/conf CUBIEBOARD2 CUBIEBOARD, head/sys/modules/dtb allwinner

Build and install the DTB for all the supported AllWinner SoCs.

We will need them when we start booting using ubldr.
Delta File
+7 -0 head/sys/modules/dtb/allwinner/Makefile
+1 -1 head/sys/arm/conf/CUBIEBOARD2
+1 -1 head/sys/arm/conf/CUBIEBOARD
+0 -0 head/sys/modules/dtb/allwinner/
+9 -2 4 files

FreeBSD — head/lib/libc/iconv citrus_prop.c

Fix improbable memory leak in _citrus_prop_read_str().

Found by:        Clang Static Analyzer
Delta File
+3 -1 head/lib/libc/iconv/citrus_prop.c
+3 -1 1 file

FreeBSD — head/sys/net bpf.h bpf.c

Move the definition of struct bpf_if to bpf.c.

A couple of fields are still exposed via struct bpf_if_ext so that
bpf_peers_present() can be inlined into its callers. However, this change
eliminates some type duplication in the resulting CTF container, since
otherwise ctfmerge(1) propagates the duplication through all types that
contain a struct bpf_if.

Differential Revision:        https://reviews.freebsd.org/D2319
Reviewed by:        melifaro, rpaulo
Delta File
+8 -13 head/sys/net/bpf.h
+16 -3 head/sys/net/bpf.c
+24 -16 2 files

FreeBSD — projects/em_mq/sys/dev/e1000 if_em.c

Don't blindly assume that the softc returned is going to match up to the
em(4) notion of what an adapter struct is.  Check to see if the device
matches *first* and *then* assume that we can use it as an adapter
structure for parsing.

Corrections and hints courtesy of jhb.

FreeBSD — head/sys/cam/scsi scsi_all.c

scsi_parse_transportid_rdma(): fix mismatch in memoty access size.

Independently found by Coverity and gcc49.

CID:                1230006
Reviewed by:        ken
MFC after:        5 days
Delta File
+1 -1 head/sys/cam/scsi/scsi_all.c
+1 -1 1 file

FreeBSD — projects/em_mq/sys/dev/e1000 if_em.c, projects/em_mq/sys/modules/em Makefile

Add DB_COMMAND to display the queue status for em adapters.

Ensure opt_ddb.h is a dependency for the module.

FreeBSD — head/lib/libmt mt.3, head/lib/libpmc pmc.haswellxeon.3

Minor mdoc fixes.

FreeBSD — projects/release-arm64/release release.sh release.conf.sample

Add a buildenv_setup() prototype, intended to be overridden as
needed.

For example, the arm64/aarch64 build needs devel/aarch64-binutils,
so buildenv_setup() in the release.conf for this architecture
handles the installation of the port before buildworld/buildkernel.

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/tools/build check-links.sh

- Speedup significantly by not using subshells for data already fetched.
  Ran against /usr/local/sbin/pkg:
   Before:  25.12 real        12.41 user        33.14 sys
   After:   0.53 real         0.49 user         0.13 sys
- Exit with 1 if any missing or unresolved symbol is detected.
- Add option '-U' to skip looking up unresolved symbols.
- Don't consider provided weak objects as unresolved (nm V).

Sponsored by:        EMC / Isilon Storage Division
Delta File
+70 -17 head/tools/build/check-links.sh
+70 -17 1 file

FreeBSD — head/tools/build check-links.sh

Fix indentation to use tabs
Delta File
+20 -20 head/tools/build/check-links.sh
+20 -20 1 file

FreeBSD — head .arclint .arcconfig

phabricator related changes:
        - don't lint either contrib or crypto: these are both externally written
          directories
        - add additional linters for spelling (check common typos like teh ->
          the)
        - chmod linter checks for executible bit on bad files
        - merge-conflict checks for merge conflict tokens then may have been
          resolved incorrectly
        - filename checks for back characters in filenames
        - json for json syntax correctness

        - remove history.immutable: it is meaningless on subversion, and causes
          workflow problems when trying to use git.  It it set to 'true' by
          default with hg
Delta File
+17 -1 head/.arclint
+1 -2 head/.arcconfig
+18 -3 2 files

FreeBSD — projects/release-arm64/release arm64, projects/release-arm64/release/arm64 make-memstick.sh

Copy amd64/make-memstick.sh to arm64/make-memstick.sh for
aarch64 memory stick images.

Although arm64 does not yet have USB support, the memstick
image should be bootable with certain virtualization tools,
such as qemu.

Sponsored by:        The FreeBSD Foundation
Delta File
+41 -0 projects/release-arm64/release/arm64/make-memstick.sh
+0 -0 projects/release-arm64/release/arm64/
+41 -0 2 files

FreeBSD — head/sbin/dmesg dmesg.c

dmesg: accommodate message buffer growth between the sysctl calls

Allocate 12.5% extra space to avoid ENOMEM when the message buffer
is growing steadily.

Reported by:        Steve Wahl <steve_wahl at dell.com> (and tested)
Approved by:        kib (mentor)
Obtained from:        Dell Inc.
MFC after:        1 week
Delta File
+3 -0 head/sbin/dmesg/dmesg.c
+3 -0 1 file

FreeBSD — projects/release-arm64/release/tools vmimage.subr

Add support for building arm64/aarch64 virtual machine images.

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/share/man/man9 printf.9, head/sys/kern subr_prf.c

Always send log(9) messages to the message buffer.

It is truer to the semantics of logging for messages to *always*
go to the message buffer, where they can eventually be collected
and, in fact, be put into a log file.

This restores the behavior prior to r70239, which seems to have
changed it inadvertently.

Submitted by:        Eric Badger <eric at badgerio.us>
Reviewed by:        jhb
Approved by:        kib (mentor)
Obtained from:        Dell Inc.
MFC after:        1 week

FreeBSD — projects/release-arm64 README ObsoleteFiles.inc, projects/release-arm64/bin/ed glbl.c

MFH: r281668 through r281783

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/release/tools vmimage.subr

When building VM disk images, vm_copy_base() uses tar(1) to
copy the userland from one md(4)-mounted filesystem to a clean
filesystem to prevent remnants of files that were added and
removed from resulting in an unclean filesystem.  When newfs(8)
creates the first filesystem with journaled soft-updates enabled,
the /.sujournal file in the new filesystem cannot be overwritten
by the /.sujournal in the original filesystem.

To avoid this particular error case, do not enable journaled
soft-updates when creating the md(4)-backed filesystems, and
instead use tunefs(8) to enable journaled soft-updates after
the new filesystem is populated in vm_copy_base().

While here, fix a long standing bug where the build environment
/boot files were used by mkimg(1) when creating the VM disk
images by using the files in .OBJDIR.

MFC after:        3 days
Sponsored by:        The FreeBSD Foundation
Delta File
+14 -6 head/release/tools/vmimage.subr
+14 -6 1 file

FreeBSD — head/usr.sbin/bhyve pci_ahci.c

Don't set bits that should be zero for SATA devices.

Old value made Linux think that it is PATA device with SATA bridge.

MFC after:        2 weeks
Delta File
+0 -1 head/usr.sbin/bhyve/pci_ahci.c
+0 -1 1 file

FreeBSD — head/usr.sbin/crunch/crunchide exec_elf32.c

crunchide: Remove local EM_* ELF definitions provided by system ELF headers

Suggested by:        imp (in review D2314)

FreeBSD — head/usr.sbin/sysrc sysrc

Update usage statement to align with post-r279624 functionality.

MFC after:        3 days
X-MFC-to:        stable/10 stable/9
Delta File
+1 -1 head/usr.sbin/sysrc/sysrc
+1 -1 1 file

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

vidcontrol: skip invalid video modes returned by vt(4)

vt(4) has a stub CONS_MODEINFO ioctl that does not provide any data
but returns success. This needs to be fixed in the kernel, but address
it in vidcontrol(1) as well in case it's run on an older kernel.

Reviewed by:        bde
Sponsored by:        The FreeBSD Foundation

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

MFC r278402
  Preset the object's color, or alignment, to maximize superpage usage.
Delta File
+2 -1 stable/10/sys/kern/uipc_shm.c
+2 -1 1 file

FreeBSD — head/contrib/llvm/patches patch-13-llvm-r229911-uleb128-commas.diff

Add llvm patch corresponding to r281775.

FreeBSD — stable/10/sys/vm vm_mmap.c

MFC r279400
  Eliminate a variable that became unused when VFS_LOCK_GIANT() was
  eliminated.
Delta File
+0 -2 stable/10/sys/vm/vm_mmap.c
+0 -2 1 file

FreeBSD — head/contrib/llvm/lib/MC/MCParser AsmParser.cpp

Pull in r229911 from upstream llvm trunk (by Benjamin Kramer):

  MC: Allow multiple comma-separated expressions on the .uleb128 directive.

  For compatiblity with GNU as. Binutils documents this as
  '.uleb128 expressions'. Subtle, isn't it?

Reported by:        sbruno
PR:                199554
MFC after:        3 days

FreeBSD — head/sys/dev/xen/netfront netfront.c

Remove unused variable.

Differential Revision:        D2333
Reviewed by:                royger

FreeBSD — head/sys/dev/ixgbe if_ix.c

Add back ixgbe_rxeof, just remove the assignment to more.
Delta File
+1 -0 head/sys/dev/ixgbe/if_ix.c
+1 -0 1 file

FreeBSD — head/sys/dev/ixgbe if_ix.c

Remove unused variable.

Differential Revision:        D2331
Reviewed by:                erj
Delta File
+0 -2 head/sys/dev/ixgbe/if_ix.c
+0 -2 1 file

FreeBSD — head/sys/vm uma_core.c

Eliminate an unused variable.

MFC after:        1 week
Delta File
+1 -2 head/sys/vm/uma_core.c
+1 -2 1 file