Displaying 1 50 of 262,313 commits (0.017s)

FreeBSD — head/contrib/byacc reader.c btyaccpar.c, head/contrib/byacc/package mingw-byacc.spec byacc.spec

Update to byacc 20140409
Among all the modifications, this new byacc also solves a 14 year old bug [1]

PR:                bin/23254 [1]
Submitted by:        marka at nominum.com [1]
MFC after:        3 weeks

FreeBSD — head/sys/dev/usb/serial uftdi.c

Oops, revert r264801.
Delta File
+0 -1 head/sys/dev/usb/serial/uftdi.c
+0 -1 1 file

FreeBSD — head/sys/dev/usb/serial uftdi.c

Add a missing break.
Delta File
+1 -0 head/sys/dev/usb/serial/uftdi.c
+1 -0 1 file

FreeBSD — head/sys/dev/usb/serial uftdi.c

- Get transmit loop more in line with the other serial drivers.
- Add a comment about FTDI and ZLPs.
- Correctly check odditiy of baud rate divisor.
- Correct IOCTL handling for "error" and "event" char.

MFC after:        1 weeks
Delta File
+12 -5 head/sys/dev/usb/serial/uftdi.c
+12 -5 1 file

FreeBSD — user/gjb/thermite thermite.sh

Merge local changes to thermite.sh:

 - Re-implement truncate_logs() to clear log files
   when 'tail -F logs/*' is used.

 - In prebuild_setup(), recursively revert any local
   changes to the release/ checkout.

 - Remove check_x86(), since its intended use case did
   not quite match the intended implementation.

 - In main(), make the 'chroots/', 'logs/', and 'release/'
   directories on exec.

Sponsored by:        The FreeBSD Foundation
Delta File
+9 -15 user/gjb/thermite/thermite.sh
+9 -15 1 file

FreeBSD — head/sys/dev/ath if_ath.c

Wrap the rate control re-init code in a lock, to serialise it with
concurrent updates from any completing transmits in other threads.

This was exposed when doing power save work - net80211 is constantly
doing reassociations and it's causing the rate control state to get
blanked out.  This could cause the rate control code to assert.

This should be MFCed to stable/10 as it's a stability fix.

Tested:

* AR5416, STA

MFC after:        7 days
Delta File
+2 -0 head/sys/dev/ath/if_ath.c
+2 -0 1 file

FreeBSD — stable/9/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc tst.dofmax.ksh, stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace dtrace.c

MFC r262596:
4478 dtrace_dof_maxsize is far too small

illumos/illumos-gate at d339a29bb4765c4b6883a935cf69b669cd05bca0

FreeBSD — stable/10/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc tst.dofmax.ksh, stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace dtrace.c

MFC r262596:
4478 dtrace_dof_maxsize is far too small

illumos/illumos-gate at d339a29bb4765c4b6883a935cf69b669cd05bca0

FreeBSD — head/sys/kern subr_prf.c

Fix grammar error and trailing newline.

Submitted by:        danfe
MFC after:        3 days
Delta File
+1 -2 head/sys/kern/subr_prf.c
+1 -2 1 file

FreeBSD — head/release/arm release.sh WANDBOARD-QUAD.conf

Move xdev knobs from release/arm/release.sh and into an
XDEV_FLAGS variable in ${KERNCONF}.conf file.

MFC after:        3 days
X-MFC-Note:        fix stable/10 XDEV_FLAGS local for branch
Sponsored by:        The FreeBSD Foundation

FreeBSD — head/release/arm release.sh

Play musical-KNOBS a bit more with release/arm/release.sh.

For stable/10, r264703 sets the correct WITH/WITHOUT
knobs to get xdev built with the arm-freebsd-gcc binary
installed.  Unfortunately, the same fix does not work on
head/.

Also, quite to my amazement, WITH_GCC=1 and WITH_GNUCXX=1
causes xdev to fail spectactularly at least on r264791.

The situation as it stands is:

 - gcc(1) is needed for the u-boot build.
 - cc(1) *cannot* be clang(1)

To shoe-horn the toolchain to make 'xdev' give what is
needed, remove WITH_GNUCXX=1 and add WITH_GCC_BOOTSTRAP=1.

MFC After:        1 week
X-MFC-To:        stable/10 only
X-MFC-Note:        after stable/10 is broken in this way...
Sponsored by:        The FreeBSD Foundation
Delta File
+1 -1 head/release/arm/release.sh
+1 -1 1 file

FreeBSD — stable/10/release/arm release.sh

MFC r264518, r264697, r264698, r264703:

r264518:
  Fix armv6 build failure: "armv6-freebsd-gcc: not found"

r264697:
  When building the 'xdev' target when WITH_GCC=1 and
  WITHOUT_CLANG_IS_CC=1, it appears WITHOUT_CLANG=1 must
  also be set.

  While here, reorder the lines to put the WITH_* and
  WITHOUT_* entries on the same line.

r264698:
  Fix EOL escape.

r264703:
  Apply a slightly different color hammer to arm/release.sh:

   - gcc(1) fails to build usr.bin/dtc
   - lack of WITH_GNUCXX=1 causes cc1plus(1) calls to fail
   - u-boot fails to build with clang (hard-coded gcc(1) calls)

  Implement the proper incantation of WITH_/WITHOUT_ knobs
  to get arm snapshot builds working again.

    [5 lines not shown]
Delta File
+2 -6 stable/10/release/arm/release.sh
+2 -6 1 file

FreeBSD — vendor/byacc 20140409

Tag import of byacc 20140409
Delta File
+0 -0 vendor/byacc/20140409/
+0 -0 1 file

FreeBSD — vendor/byacc/dist reader.c btyaccpar.c, vendor/byacc/dist/package byacc.spec mingw-byacc.spec

Import byacc 20140409

FreeBSD — head/contrib/libucl configure.ac README.md, head/contrib/libucl/doc libucl.3 api.md

Import libucl 0.4.0
Adapt pkg(7) to the new libucl API

FreeBSD — vendor/libucl 0.4.0

tag import of libucl 0.4.0
Delta File
+0 -0 vendor/libucl/0.4.0/
+0 -0 1 file

FreeBSD — vendor/libucl/dist configure.ac README.md, vendor/libucl/dist/doc libucl.3 api.md

Import libucl 0.4.0

FreeBSD — stable/9/usr.bin/ldd sods.c

MFC: r264419

Avoid double close() of a file descriptor.

CID:                1006089
Found with:        Coverity Prevent(tm)
Delta File
+0 -1 stable/9/usr.bin/ldd/sods.c
+0 -1 1 file

FreeBSD — stable/10/usr.bin/ldd sods.c

MFC: r264419

Avoid double close() of a file descriptor.

CID:                1006089
Found with:        Coverity Prevent(tm)
Delta File
+0 -1 stable/10/usr.bin/ldd/sods.c
+0 -1 1 file

FreeBSD — stable/8/usr.bin/find function.c

MFC: r264418

Avoid double free in f_acl().

CID:                1018508
Found with:        Coverity Prevent(tm)
Delta File
+0 -1 stable/8/usr.bin/find/function.c
+0 -1 1 file

FreeBSD — stable/9/usr.bin/find function.c

MFC: r264418

Avoid double free in f_acl().

CID:                1018508
Found with:        Coverity Prevent(tm)
Delta File
+0 -1 stable/9/usr.bin/find/function.c
+0 -1 1 file

FreeBSD — stable/10/usr.bin/find function.c

MFC: r264418

Avoid double free in f_acl().

CID:                1018508
Found with:        Coverity Prevent(tm)
Delta File
+0 -1 stable/10/usr.bin/find/function.c
+0 -1 1 file

FreeBSD — head/usr.sbin/pw pw_conf.c pw.h

Simplify reading pw.conf(5) by using getline(3)
Delta File
+11 -24 head/usr.sbin/pw/pw_conf.c
+1 -0 head/usr.sbin/pw/pw.h
+12 -24 2 files

FreeBSD — stable/9/sys/dev/iwn if_iwnreg.h

MFC: r264416

Add a missing comma between error message definitions.

CID:                1199266
Found with:        Coverity Prevent(tm)
Delta File
+1 -1 stable/9/sys/dev/iwn/if_iwnreg.h
+1 -1 1 file

FreeBSD — stable/10/sys/dev/iwn if_iwnreg.h

MFC: r264416

Add a missing comma between error message definitions.

CID:                1199266
Found with:        Coverity Prevent(tm)
MFC after:        1 week
Delta File
+1 -1 stable/10/sys/dev/iwn/if_iwnreg.h
+1 -1 1 file

FreeBSD — stable/9/share/man/man4 usb_quirk.4

MFC: r264386

Improve markup and remove contractions.
Delta File
+10 -9 stable/9/share/man/man4/usb_quirk.4
+10 -9 1 file

FreeBSD — stable/10/share/man/man4 usb_quirk.4

MFC: r264386

Improve markup and remove contractions.
Delta File
+10 -9 stable/10/share/man/man4/usb_quirk.4
+10 -9 1 file

FreeBSD — stable/9/share/man/man4 timecounters.4

MFC: r264384, r264415

mdoc and language improvements.
Delta File
+19 -18 stable/9/share/man/man4/timecounters.4
+19 -18 1 file

FreeBSD — stable/10/share/man/man4 timecounters.4

MFC: r264384, r264415

mdoc and language improvements.
Delta File
+19 -18 stable/10/share/man/man4/timecounters.4
+19 -18 1 file

FreeBSD — head/kerberos5/lib/libasn1 Makefile, head/kerberos5/lib/libgssapi_spnego Makefile

Fix installworld failure when kerberos source files have new timestamps

If a kerberos .hx source file is newer than the .h copy, but the content
is the same, then during buildworld the "cmp -s || cp" command in the
.hx.h rule would do nothing, leaving the .h copy with the older
timestamp.  During installworld the rule would again be invoked, causing
a failure as neither cmp or cp would exist in the temporary path.

As the underlying issue should be resolved by r262209, unconditionally
copy the file.

No objection:        peter@
Tested by:        gjb@
Sponsored by:        The FreeBSD Foundation

FreeBSD — user/cperciva/freebsd-update-build/scripts build.subr

Derive JFLAG from CPU numbers reported by system (by default use CPU count + 1).

FreeBSD — head/sys/dev/sfxge sfxge_port.c

Check that port is started when MAC filter is set

The MAC filter set may be called without softc_lock held in the case of
SIOCADDMULTI and SIOCDELMULTI ioctls. The ioctl handler checks IFF_DRV_RUNNING
flag which implies port started, but it is not guaranteed to remain.
softc_lock shared lock can't be held in the case of these ioctls processing,
since it results in failure where kernel complains that non-sleepable
lock is held in sleeping thread.

Both problems are repeatable on LAG with LACP proto bring up.

Submitted by:   Andrew Rybchenko <Andrew.Rybchenko at oktetlabs.ru>
Sponsored by:   Solarflare Communications, Inc.

MFC after:        2 weeks
Delta File
+14 -3 head/sys/dev/sfxge/sfxge_port.c
+14 -3 1 file

FreeBSD — user/cperciva/freebsd-update-build/scripts build.subr

Allow building i386 images on amd64 host.

FreeBSD — head/usr.sbin/bhyve pci_emul.c pci_passthru.c

Use calloc() in favor of malloc + memset.

Reviewed by:        neel

FreeBSD — head/sys/geom/uncompress g_uncompress.c

Keep geom_uncompress(4) in line with geom_uzip(4), bring in the r264504 fix.

Make sure not to start I/O bigger than MAXPHYS bytes.

Quoting r264504:

When we detect the condition, we'll reduce the block count and perform
a "short" read.  In g_uncompress_done() we need to consider the original
I/O length and stop early if we're about to deflate a block that we didn't
read.  By using bio_completed in the cloned BIO and not bio_length to
check for this, we automatically and gracefully handle short reads that
our providers may be doing on top of the short reads we may initiate
ourselves.

Reviewed by:        marcel

FreeBSD — head/sys/amd64/vmm vmm_ioport.c, head/usr.sbin/bhyve inout.c

Factor out common ioport handler code for better hygiene -- pointed
out by neel@.

Approved by:        neel (co-mentor)

FreeBSD — stable/8/sys/conf kern.pre.mk

MFC: r216746

Make it possible to specify WITHOUT_MODULES in a kernel config file.
Delta File
+3 -0 stable/8/sys/conf/kern.pre.mk
+3 -0 1 file

FreeBSD — head/usr.sbin/mfiutil mfi_evt.c

- Fix an off by one error when checking for the stop event.  This resulted
  in not showing the most recent event by default.
- When the stop even is hit, break out of the outer loop to stop fetching
  more events.

MFC after:        1 week
Delta File
+12 -6 head/usr.sbin/mfiutil/mfi_evt.c
+12 -6 1 file

FreeBSD — head/usr.sbin/mfiutil mfi_show.c

Don't claim the adapter is idle if it is clearing a drive.

MFC after:        1 week
Delta File
+1 -1 head/usr.sbin/mfiutil/mfi_show.c
+1 -1 1 file

FreeBSD — stable/8/sys/dev/usb/controller xhci_pci.c xhci.h

MFC: r249336

Add ID for ASMedia ASM1042 USB 3.0 controller.

MFC: r253094

Use MSI for xhci(4), if supported.

MFC: r253398

Add a tunable to force disable MSI use for xhci(4).

FreeBSD — stable/8/sys/dev/puc pucdata.c, stable/8/sys/dev/uart uart_bus_pci.c

MFC: r229379

Add support for Intel EG20T serial ports

MFC: r248340

Add support for Exar XR17V358 8-port serial device to puc(4)

MFC: r248472

Correct the definition for Exar XR17V258IV: we must use a config_function
to specify the offset into the PCI memory spare at which each serial port
will find its registers.  This was already done for other Exar PCI serial
devices; it was accidentally omitted for this specific device.

MFC: r251713

Fix whitespace and normalize some entries.

MFC: r251715

All of Oxford/PLX OX16PCI954, OXm16PCI954 and OXu16PCI954 share the
exact same (subsystem) device and vendor IDs. However, the reference
design for the OXu16PCI954 uses a 14.7456 MHz clock (as does the EXSYS
EX-41098-2 equipped with these), while at least the OX16PCI954 defaults

    [14 lines not shown]

FreeBSD — stable/9/sys/dev/puc pucdata.c, stable/9/sys/dev/uart uart_bus_pci.c

MFC: r264257, r264327, r264514

Distinguish between the different variants and configurations of Sunix
{MIO,SER}5xxxx chips instead of treating all of them as PUC_PORT_2S.
Among others, this fixes the hang seen when trying to probe the none-
existent second UART on an actually 1-port chip.

Obtained from:        NetBSD (BAR layouts)
Sponsored by:        Bally Wulff Games & Entertainment GmbH

FreeBSD — stable/10/sys/dev/puc pucdata.c, stable/10/sys/dev/uart uart_bus_pci.c

MFC: r264257, r264327, r264514

Distinguish between the different variants and configurations of Sunix
{MIO,SER}5xxxx chips instead of treating all of them as PUC_PORT_2S.
Among others, this fixes the hang seen when trying to probe the none-
existent second UART on an actually 1-port chip.

Obtained from:        NetBSD (BAR layouts)
Sponsored by:        Bally Wulff Games & Entertainment GmbH

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

The syscall number must be the last entry in the line.

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

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

Fix typo in warn(3).

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

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

Update variable type used in signal handler.

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

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

Added missing cleanup of test program.

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

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

Old test assumed /tmp was a mount point.

Sponsored by:        EMC / Isilon storage division
Delta File
+15 -7 user/pho/stress2/misc/mount.sh
+15 -7 1 file

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

Stop on compile error.

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

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

Added a few test with known problems to the ignore list.

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