Displaying 1 50 of 5,626,715 commits (0.630s)

FreeBSD Ports — head/deskutils/plasma-applet-yawp Makefile files, head/deskutils/plasma-applet-yawp/files patch-CMakeLists.txt

Fix linking after r436971

/usr/bin/ld: cannot find -lweather_ion
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Add missing dependencies
Fix LICENSE and add LICENSE_FILE
Delta File
+23 -0 head/deskutils/plasma-applet-yawp/files/patch-CMakeLists.txt
+6 -4 head/deskutils/plasma-applet-yawp/Makefile
+0 -0 head/deskutils/plasma-applet-yawp/files/
+29 -4 3 files

FreeBSD Ports — head/deskutils/plasma-applet-daisy Makefile files, head/deskutils/plasma-applet-daisy/files patch-applet_CMakeLists.txt

Unbreak linking after r436971

/usr/bin/ld: cannot find -ltaskmanager
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Add missing dependencies
Fix LICENSE and add LICENSE_FILE
Delta File
+21 -0 head/deskutils/plasma-applet-daisy/files/patch-applet_CMakeLists.txt
+5 -3 head/deskutils/plasma-applet-daisy/Makefile
+0 -0 head/deskutils/plasma-applet-daisy/files/
+26 -3 3 files

FreeBSD — head/lib/libcam camlib.c

Fix up r316081 by using nitems(cam_errbuf) instead of sizeof(cam_errbuf)

Part of my original reasoning as far as converting the snprintf
calls was to permit switching over from char[] to wchar_t[] in the
future, as well as futureproof in case cam_errbuf's size was ever
changed.

Unfortunately, my approach was bugged because it conflated the
number of items with the size of the buffer, instead of the number of
elements being a fixed size != 1 byte.

Use nitems(..) instead which counts the quantity of items of a specific
type, as opposed to an unqualified sizeof(..) (which assumes that the
number of characters is equal to the buffer size).

MFC after:        2 months
Noted by:        cem
Sponsored by:        Dell EMC Isilon
Delta File
+27 -27 head/lib/libcam/camlib.c
+27 -27 1 file

FreeBSD Ports — head/audio/ardour5 pkg-plist distinfo

audio/ardour5: update 5.6.0 -> 5.8.0

PR:                217520
Submitted by:        Michael Beer <beerml at sigma6audio.de> (maintainer)

FreeBSD — stable/10/sys/boot/forth loader.conf

MFC r315738:

Document some more 10GbE+ network drivers in loader.conf

- if_cxgbe
- if_ixl
- if_ixlv
- sfxge

FreeBSD — stable/11/sys/boot/forth loader.conf

MFC r315738:

Document some more 10GbE+ network drivers in loader.conf

- if_cxgbe
- if_ixl
- if_ixlv
- sfxge

FreeBSD — stable/11/sys/kern kern_sysctl.c

MFC r315699:

Print out name of non-dynamic sysctl in sysctl_remove_oid_locked

This will provide a slightly better smoking gun than just stating
"can't remove non-dynamic nodes!" when calling sysctl_ctx_free(9)
and sysctl_remove_{name,oid}(9) with a non-dynamic (likely
static) sysctl.
Delta File
+2 -1 stable/11/sys/kern/kern_sysctl.c
+2 -1 1 file

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

MFC r315699:

Print out name of non-dynamic sysctl in sysctl_remove_oid_locked

This will provide a slightly better smoking gun than just stating
"can't remove non-dynamic nodes!" when calling sysctl_ctx_free(9)
and sysctl_remove_{name,oid}(9) with a non-dynamic (likely
static) sysctl.
Delta File
+2 -1 stable/10/sys/kern/kern_sysctl.c
+2 -1 1 file

LLVM — llvm/trunk/lib/Target/X86 X86.td

Move the x86 cpu feature rtm from Haswell to Skylake matching clang commit r298956.
Delta File
+1 -1 llvm/trunk/lib/Target/X86/X86.td
+1 -1 1 file

DragonFlyBSD — sys/dev/netif/ale if_ale.c

kernel/ale: Fix one more parentheses issue.

Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2991>
Delta File
+1 -1 sys/dev/netif/ale/if_ale.c
+1 -1 1 file

LLVM — llvm/trunk/lib/Target/X86 X86InstrAVX512.td, llvm/trunk/test/CodeGen/X86 avx512-mask-op.ll

[AVX-512] Remove explicit KMOVWrk from isel patterns. COPY_TO_REGCLASS to GR32 is enough.

FreeBSD — stable/11/lib/libkvm kvm_arm.c kvm_minidump_mips.c

MFC r315697:

libkvm: fix warning issues post-r291406

- Fix -Wunused warnings with *_native detection handlers by marking `kd`
  __unused, except with arm/mips, where a slightly more complicated scheme
  is required to handle the native case vs the non-native case.
- Fix -Wmissing-variable-declarations warnings by marking struct kvm_arch
  objects static.

Tested with:        WIP test code (D10024) // kgdb7121 (i386 crash/kernel on amd64)

OPNsense — src/etc/inc plugins.inc

plugins: if a component has a faulty syntax...

simply eval() it and log the error instead of stopping execution.

We don't get to source the code, but since for strict plugins
there is no direct code execution the plugin acts as if it was
deinstalled.

As the plugin scope is growing rapidly, we need this to be able to
guarantee error-free execution in the widest possible sense.  This
doesn't currently protect function calls, but the same thing must
be done there as well.
Delta File
+35 -7 src/etc/inc/plugins.inc
+35 -7 1 file

LLVM — llvm/trunk/lib/Target/X86 X86InstrAVX512.td, llvm/trunk/test/CodeGen/X86 avx512-cmp.ll masked_gather_scatter.ll

[AVX-512] Remove explicit KMOVWrk/KMOVWKr instructions from patterns where we can just use 
COPY_TO_REGCLASS instead.

This will result in a KMOVW or KMOVD being emitted during register allocation. And in at 
least some cases this might allow the register coalescer to remove the copy all together.

FreeBSD Ports — head/emulators/wxmupen64plus Makefile distinfo

- Switch to bitbucket, unbreak fetch; no change in tarball contents
- Minor fixes

Approved by:        portmgr blanket

FreeBSD Ports — head/graphics/glpng Makefile distinfo

- Update to 1.46
Delta File
+8 -23 head/graphics/glpng/Makefile
+3 -2 head/graphics/glpng/distinfo
+3 -0 head/graphics/glpng/pkg-plist
+0 -0 head/graphics/glpng/files/
+14 -25 4 files

FreeBSD Ports — head/astro/viking Makefile, head/audio/py-karaoke Makefile

- Update devel/libpthread-stubs to 0.4
- Chase libpthread-stubs update, and also switch to BUILD_DEPENDS
  from LIB_DEPENDS, as port is now only .pc file

PR:                218015
Submitted by:        rezny

LLVM — llvm/trunk/include/llvm/XRay XRayRecord.h, llvm/trunk/lib/XRay Trace.cpp

[XRay] Update FDR log reader to be aware of buffer sizes per thread.

Summary:
It is problematic for this reader that it expects to read data from
several threads, but the header or message format does not define
framing. Since the buffers are reused, we can't rely on skipping
zeroed out data as a synchronization method either.

There is an argument that this is not version compatible with the format
the reader expected previously. I argue that since the writer wrote garbage
past the end of buffer record, there is no currently working reader to
compromise.

The corresponding writer change is posted to D31384.

Reviewers: dberris, pelikan

Reviewed By: dberris

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D31385

OPNsense — security/p5-Net-SSLeay distinfo Makefile

security/p5-Net-SSLeay: sync with upstream

Taken from: FreeBSD

OPNsense — devel/glib20 Makefile, devel/glib20/files patch-glib_gthread-posix.c

devel/glib20: sync with upstream

Taken from: FreeBSD

OPNsense — www/libnghttp2 distinfo Makefile

www/libnghttp2: sync with upstream

Taken from: FreeBSD

OPNsense — security/vuxml vuln.xml

security/vuxml: sync with upstream

Taken from: FreeBSD
Delta File
+31 -0 security/vuxml/vuln.xml
+31 -0 1 file

OPNsense — audio/pocketsphinx pkg-descr Makefile, audio/sndio Makefile

*/*: sync with upstream

Taken from: FreeBSD

LLVM — cfe/trunk/include/clang/Parse Parser.h, cfe/trunk/lib/Parse ParseExpr.cpp

Reverted r298976 [OpenCL] Added parsing for OpenCL vector types.

PC-BSD — sys/dev/cxgbe t4_main.c, sys/dev/cxgbe/iw_cxgbe cm.c iw_cxgbe.h

Merge remote-tracking branch 'freebsd/stable/11' into freebsd11
∈ np - e4ca8d90 - 2017-03-29 02:20:07
MFC r315201, r315920, r315921, r315922, r316008, and r316062.

r315201:
cxgbe(4):  Fix an always-true assertion (reported by PVS-Studio).

sys/dev/cxgbe/t4_main.c: PVS-Studio: Expression is Always True (CWE-571) (3)

r315920:
cxgbe/iw_cxgbe: c4iw_connect should always returns a -ve errno on failure.

r315921:

cxgbe/iw_cxgbe: alloc_ep expects a gfp_t, and it's always ok to sleep during
alloc_ep.

r315922:
cxgbe/iw_cxgbe: allocations that use GFP_KERNEL (which is M_WAITOK on
FreeBSD) cannot fail.

r316008:
cxgbe/iw_cxgbe: Remove unused code.

r316062:
cxgbe/iw_cxgbe: Defer the handling of error CQEs and RDMA_TERMINATE to
the thread that deals with socket state changes.  This eliminates
various bad races with the ithread.

FreeBSD Ports — head MOVED, head/math Makefile mprime

- Resurrect `math/mprime' and unbreak (stagify)
- Update to version 26.6, the latest for the i386 binary
- Do not mangle version with `0.0.'-prefix, use official one
- Add missing LIB_DEPENDS against `misc/compat9x'
- Define DOCS option and use target helper target to install
- Make installation commands vocal (unmute them)
- Update and tidy up port description text while here
- Drop deprecated @dirrm entry from pkg-plist

TIMESTAMP (mprime266-FreeBSD.tar.gz) = 1302303090

LLVM — cfe/trunk/include/clang/Parse Parser.h, cfe/trunk/lib/Parse ParseExpr.cpp

[OpenCL] Added parsing for OpenCL vector types.

Reviewers: cfe-commits, Anastasia

Reviewed By: Anastasia

Subscribers: yaxunl, bader

Differential Revision: https://reviews.llvm.org/D31183

LLVM — llvm/trunk/test/tools/llvm-xray/X86 no-subcommand-noassert.txt, llvm/trunk/tools/llvm-xray llvm-xray.cc

[XRay][tools] Handle "no subcommand" case for llvm-xray

Summary:
Currently the llvm-xray commandline tool fails to handle the case for
when no subcommand is provided in a graceful manner. This fixes that to
print the help message explaining the subcommands and the available
options.

Reviewers: pcc, pelikan

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D31409

FreeBSD — head/contrib/libpcap gencode.c

MFV r316124: Fix build when WITHOUT_INET6.

Reported by:        Randy Westlund <rwestlun gmail com>
MFC after:        3 days
Delta File
+7 -7 head/contrib/libpcap/gencode.c
+7 -7 1 file

FreeBSD — vendor/libpcap/dist gencode.c

Apply vendor revision 470df104c6f55f6d6f390df7448d8eb65c7642b9:

From: Guy Harris <guy at alum.mit.edu>
Subject: [PATCH] Fix compilation if INET6 isn't defined.

Addresses GitHub issue #541, but differently from the pull request (it
defines gen_gateway() with a function prototype rather than using a
pre-prototype-style definition).
Delta File
+7 -7 vendor/libpcap/dist/gencode.c
+7 -7 1 file

FreeBSD Ports — head/math/primegen Makefile pkg-descr

- Optimize away PROGRAM_FILES, HEADER_FILES, and LIB_FILES variables:
  they contain one to two values and make things harder to understand;
  this allows to simplify PLIST_FILES setting and `do-install' target
- Fix `post-patch' target: instead of sed(1)ing each and every file,
  and leaving lots of `*.bak' files behind, apply the fix where it is
  needed only (while here, simplify that regular expression as well)
- Set correct ALL_TARGET instead blanking it; fix pkg-descr formatting

FreeNAS — src/middlewared/middlewared/plugins consulkv.py

feat(consul):  - Assure we pass a string to consul.
- Also implement the delete method.

HardenedBSD — sys/dev/cxgbe t4_main.c, sys/dev/cxgbe/iw_cxgbe cm.c iw_cxgbe.h

MFC r315201, r315920, r315921, r315922, r316008, and r316062.

r315201:
cxgbe(4):  Fix an always-true assertion (reported by PVS-Studio).

sys/dev/cxgbe/t4_main.c: PVS-Studio: Expression is Always True (CWE-571) (3)

r315920:
cxgbe/iw_cxgbe: c4iw_connect should always returns a -ve errno on failure.

r315921:

cxgbe/iw_cxgbe: alloc_ep expects a gfp_t, and it's always ok to sleep during
alloc_ep.

r315922:
cxgbe/iw_cxgbe: allocations that use GFP_KERNEL (which is M_WAITOK on
FreeBSD) cannot fail.

r316008:
cxgbe/iw_cxgbe: Remove unused code.

r316062:
cxgbe/iw_cxgbe: Defer the handling of error CQEs and RDMA_TERMINATE to
the thread that deals with socket state changes.  This eliminates
various bad races with the ithread.

FreeBSD — stable/10/sys/dev/cxgbe t4_main.c, stable/10/sys/dev/cxgbe/iw_cxgbe cm.c iw_cxgbe.h

MFC r315201, r315920, r315921, r315922, r316008, and r316062.

r315201:
cxgbe(4):  Fix an always-true assertion (reported by PVS-Studio).

sys/dev/cxgbe/t4_main.c: PVS-Studio: Expression is Always True (CWE-571) (3)

r315920:
cxgbe/iw_cxgbe: c4iw_connect should always returns a -ve errno on failure.

r315921:

cxgbe/iw_cxgbe: alloc_ep expects a gfp_t, and it's always ok to sleep during
alloc_ep.

r315922:
cxgbe/iw_cxgbe: allocations that use GFP_KERNEL (which is M_WAITOK on
FreeBSD) cannot fail.

r316008:
cxgbe/iw_cxgbe: Remove unused code.

r316062:
cxgbe/iw_cxgbe: Defer the handling of error CQEs and RDMA_TERMINATE to
the thread that deals with socket state changes.  This eliminates
various bad races with the ithread.

HardenedBSD — sys/dev/cxgbe t4_main.c, sys/dev/cxgbe/iw_cxgbe cm.c iw_cxgbe.h

MFC r315201, r315920, r315921, r315922, r316008, and r316062.

r315201:
cxgbe(4):  Fix an always-true assertion (reported by PVS-Studio).

sys/dev/cxgbe/t4_main.c: PVS-Studio: Expression is Always True (CWE-571) (3)

r315920:
cxgbe/iw_cxgbe: c4iw_connect should always returns a -ve errno on failure.

r315921:

cxgbe/iw_cxgbe: alloc_ep expects a gfp_t, and it's always ok to sleep during
alloc_ep.

r315922:
cxgbe/iw_cxgbe: allocations that use GFP_KERNEL (which is M_WAITOK on
FreeBSD) cannot fail.

r316008:
cxgbe/iw_cxgbe: Remove unused code.

r316062:
cxgbe/iw_cxgbe: Defer the handling of error CQEs and RDMA_TERMINATE to
the thread that deals with socket state changes.  This eliminates
various bad races with the ithread.

FreeBSD — stable/11/sys/dev/cxgbe t4_main.c, stable/11/sys/dev/cxgbe/iw_cxgbe cm.c iw_cxgbe.h

MFC r315201, r315920, r315921, r315922, r316008, and r316062.

r315201:
cxgbe(4):  Fix an always-true assertion (reported by PVS-Studio).

sys/dev/cxgbe/t4_main.c: PVS-Studio: Expression is Always True (CWE-571) (3)

r315920:
cxgbe/iw_cxgbe: c4iw_connect should always returns a -ve errno on failure.

r315921:

cxgbe/iw_cxgbe: alloc_ep expects a gfp_t, and it's always ok to sleep during
alloc_ep.

r315922:
cxgbe/iw_cxgbe: allocations that use GFP_KERNEL (which is M_WAITOK on
FreeBSD) cannot fail.

r316008:
cxgbe/iw_cxgbe: Remove unused code.

r316062:
cxgbe/iw_cxgbe: Defer the handling of error CQEs and RDMA_TERMINATE to
the thread that deals with socket state changes.  This eliminates
various bad races with the ithread.

FreeBSD Ports — head/net/hostapd/files patch-src-l2_packet-l2_packet_freebsd.c

Fix build broken by r436625.

PR:                218036

LLVM — lld/trunk/ELF SyntheticSections.h

Attempt to fix buildbot.
Delta File
+1 -1 lld/trunk/ELF/SyntheticSections.h
+1 -1 1 file

FreeBSD — stable/10/etc ntp.conf

MFC r311103 (ian):

Update ntp.conf to use the ntpd pool feature.

Our previous ntp.conf file configured 3 servers from freebsd.pool.ntp.org
using 3 separate 'server' config lines.  That is now replaced with a single
'pool' line which causes ntpd to add multiple servers from the pool.

More than just making the config smaller, the pool feature in ntpd has one
major advantage over configuring 3 separate servers from a pool: if a server
that was added using a 'pool' statement provides bad time (initially or at
some later date), ntpd automatically discards it and configures a new
different server from the pool without needing to be restarted.

These changes also add a 'tos' line to control how many pool servers get
added, a 'restrict source' line that is required to allow ntpd to add new
peers from the pool, and it deletes a 'restrict 127.127.1.0' line that does
nothing and should never have been there (127.127.1.0 is not a valid IP
address, it's a refclock identifier).

Reviewed by:                cy
MFC requested by:        ache
Differential Revision:  https://reviews.freebsd.org/D9011
Delta File
+36 -16 stable/10/etc/ntp.conf
+36 -16 1 file

HardenedBSD — etc ntp.conf

MFC r311103 (ian):

Update ntp.conf to use the ntpd pool feature.

Our previous ntp.conf file configured 3 servers from freebsd.pool.ntp.org
using 3 separate 'server' config lines.  That is now replaced with a single
'pool' line which causes ntpd to add multiple servers from the pool.

More than just making the config smaller, the pool feature in ntpd has one
major advantage over configuring 3 separate servers from a pool: if a server
that was added using a 'pool' statement provides bad time (initially or at
some later date), ntpd automatically discards it and configures a new
different server from the pool without needing to be restarted.

These changes also add a 'tos' line to control how many pool servers get
added, a 'restrict source' line that is required to allow ntpd to add new
peers from the pool, and it deletes a 'restrict 127.127.1.0' line that does
nothing and should never have been there (127.127.1.0 is not a valid IP
address, it's a refclock identifier).

Reviewed by:                cy
MFC requested by:        ache
Differential Revision:  https://reviews.freebsd.org/D9011
Delta File
+36 -16 etc/ntp.conf
+36 -16 1 file

PC-BSD — share/man/man9 sleep.9, sys/kern subr_sleepqueue.c kern_umtx.c

MFC r315280 r315287

When the RTC is adjusted, reevaluate absolute sleep times based on the RTC

POSIX 2008 says this about clock_settime(2):

    If the value of the CLOCK_REALTIME clock is set via clock_settime(),
    the new value of the clock shall be used to determine the time
    of expiration for absolute time services based upon the
    CLOCK_REALTIME clock.  This applies to the time at which armed
    absolute timers expire.  If the absolute time requested at the
    invocation of such a time service is before the new value of
    the clock, the time service shall expire immediately as if the
    clock had reached the requested time normally.

    Setting the value of the CLOCK_REALTIME clock via clock_settime()
    shall have no effect on threads that are blocked waiting for
    a relative time service based upon this clock, including the
    nanosleep() function; nor on the expiration of relative timers
    based upon this clock.  Consequently, these time services shall
    expire when the requested relative interval elapses, independently
    of the new or old value of the clock.

When the real-time clock is adjusted, such as by clock_settime(3),
wake any threads sleeping until an absolute real-clock time.

    [18 lines not shown]

FreeBSD — stable/11/share/man/man9 sleep.9, stable/11/sys/kern subr_sleepqueue.c kern_umtx.c

MFC r315280 r315287

When the RTC is adjusted, reevaluate absolute sleep times based on the RTC

POSIX 2008 says this about clock_settime(2):

    If the value of the CLOCK_REALTIME clock is set via clock_settime(),
    the new value of the clock shall be used to determine the time
    of expiration for absolute time services based upon the
    CLOCK_REALTIME clock.  This applies to the time at which armed
    absolute timers expire.  If the absolute time requested at the
    invocation of such a time service is before the new value of
    the clock, the time service shall expire immediately as if the
    clock had reached the requested time normally.

    Setting the value of the CLOCK_REALTIME clock via clock_settime()
    shall have no effect on threads that are blocked waiting for
    a relative time service based upon this clock, including the
    nanosleep() function; nor on the expiration of relative timers
    based upon this clock.  Consequently, these time services shall
    expire when the requested relative interval elapses, independently
    of the new or old value of the clock.

When the real-time clock is adjusted, such as by clock_settime(3),
wake any threads sleeping until an absolute real-clock time.

    [18 lines not shown]

HardenedBSD — share/man/man9 sleep.9, sys/kern subr_sleepqueue.c kern_umtx.c

MFC r315280 r315287

When the RTC is adjusted, reevaluate absolute sleep times based on the RTC

POSIX 2008 says this about clock_settime(2):

    If the value of the CLOCK_REALTIME clock is set via clock_settime(),
    the new value of the clock shall be used to determine the time
    of expiration for absolute time services based upon the
    CLOCK_REALTIME clock.  This applies to the time at which armed
    absolute timers expire.  If the absolute time requested at the
    invocation of such a time service is before the new value of
    the clock, the time service shall expire immediately as if the
    clock had reached the requested time normally.

    Setting the value of the CLOCK_REALTIME clock via clock_settime()
    shall have no effect on threads that are blocked waiting for
    a relative time service based upon this clock, including the
    nanosleep() function; nor on the expiration of relative timers
    based upon this clock.  Consequently, these time services shall
    expire when the requested relative interval elapses, independently
    of the new or old value of the clock.

When the real-time clock is adjusted, such as by clock_settime(3),
wake any threads sleeping until an absolute real-clock time.

    [18 lines not shown]

LLVM — lldb/trunk/source/Host/netbsd Host.cpp

Remove dead include <sys/user.h> from the NetBSD code.

LLVM — lld/trunk/ELF Relocations.cpp SyntheticSections.cpp

Use uint64_t instead of uintX_t and size_t.

uint64_t is simpler and less error-prone than target or host-dependent types.

LLVM — lld/trunk/ELF SyntheticSections.cpp Relocations.cpp

Change the order of parameters. NFC.

If a function takes a size and an alignment, we usually pass them
in that order instead of the reverse order.

FreeBSD Ports — head/devel Makefile nlohmann-json, head/devel/nlohmann-json Makefile pkg-descr

Add nlohmann-json v2.1.1, JSON library for Modern C++.

PR:                215098
Submitted by:        Viacheslav Mikerov <SlavaMikerov at gmail.com>

LLVM — cfe/trunk/include/clang/Tooling/Refactoring AtomicChange.h, cfe/trunk/lib/Tooling/Refactoring AtomicChange.cpp

Revert "Added `applyAtomicChanges` function."

This broke GreenDragon:
http://lab.llvm.org:8080/green/job/clang-stage2-cmake-modulesRDA_build/4776/

Reverting this commit and all follow-up commits.

LLVM — cfe/trunk/unittests/Tooling RefactoringTest.cpp

Revert "Try to unbreak buildbots after r298913."

LLVM — cfe/trunk/lib/Tooling/Refactoring CMakeLists.txt

Revert "clangToolingRefactor: Add libdeps upon clangFormat in r298913."