Displaying 1 50 of 5,599,072 commits (0.247s)

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.

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.

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)

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


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

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

cxgbe/iw_cxgbe: Remove unused code.

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.

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)

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


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

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

cxgbe/iw_cxgbe: Remove unused code.

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' line that does
nothing and should never have been there ( 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

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]

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:

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."

ZFS on Linux — lib/libzfs libzfs_iter.c

OpenZFS 7990 - libzfs: snapspec_cb() does not need to call zfs_strdup()

Authored by: Marcel Telka <marcel at telka.sk>
Reviewed by: Yuri Pankov <yuri.pankov at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Matthew Ahrens <mahrens at delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: George Melikov <mail at gmelikov.ru>
Ported-by: Giuseppe Di Natale <dinatale2 at llnl.gov>

OpenZFS-issue: https://www.illumos.org/issues/7990
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/d8584ba
Closes #5939
Delta File
+4 -7 lib/libzfs/libzfs_iter.c
+4 -7 1 file

ZFS on Linux — cmd/zpool zpool_vdev.c, include/sys spa.h

Check ashift validity in 'zpool add'

df83110 added the ability to specify a custom "ashift" value from the command
line in 'zpool add' and 'zpool attach'. This commit adds additional checks to
the provided ashift to prevent invalid values from being used, which could
result in disastrous consequences for the whole pool.

Additionally provide ASHIFT_MAX and ASHIFT_MIN definitions in spa.h.

Reviewed-by: Giuseppe Di Natale <dinatale2 at llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu at gmail.com>
Closes #5878

LLVM — lld/trunk/ELF GdbIndex.cpp

Remove a comment that is taken from gdb man page.

This is not an original comment but taken from gdb man page, so
a pointer to the original document should suffice.
Delta File
+4 -48 lld/trunk/ELF/GdbIndex.cpp
+4 -48 1 file

FreeBSD — head/sys/boot/arm/uboot Makefile, head/sys/boot/efi/boot1 Makefile

self_reloc.c: Pass -Wno-error=maybe-uninitialized to gcc versions greater than 4.2.1

self_reloc.c doesn't initialize `rel` in all cases in the C code, however, the value
might be initialized properly on the stack in the assembly code.

For right now (because this doesn't seem to be breaking anything and my initializing
the stack value could break something since it's called from assembly code) disable
the warning for self_reloc.c. More investigation should be done to determine the
appropriate response to this warning (either intialize the value or find a smarter
way to deal with the warning).

A long MFC timeout is being set for this change to allow a better solution for the
issue to be developed in that time period.

MFC after:        2 months
Reported by:        Jenkins (FreeBSD-head-amd64-gcc job)
Tested with:        amd64-gcc-6.3.0 (devel/amd64-xtoolchain-gcc)
Sponsored by:        Dell EMC Isilon

FreeBSD Ports — head/www/redmine-default_assign distinfo Makefile

www/redmine-default_assign: Update to 0.6

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp, llvm/trunk/test/CodeGen/X86 dag-fmf-cse.ll

[SDAG] Remove -enable-fmf-dag

This is no longer needed as spotted by Sanjay in

LLVM — llvm/trunk/include/llvm/CodeGen SelectionDAGNodes.h

[SDAG] Handle VectorReduction in SDNodeFlags::intersectWith

Spotted by Sanjay in https://reviews.llvm.org/D31165

LLVM — llvm/trunk/include/llvm/CodeGen SelectionDAGNodes.h, llvm/trunk/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[SDAG] Add AllowContract to SNodeFlags

Properly propagate the FMF from the LLVM IR to this flag.

This is toward moving fp-contraction=fast from an LLVM TargetOption to a
FastMathFlag in order to fix PR25721.

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

FreeNAS — src/freenas/usr/local/libexec/freenas-debug/afp afp.sh

Rename CIFS->SMB and add AFP debugging info

FreeBSD — head/sys/dev/cxgbe/iw_cxgbe mem.c

cxgbe/iw_cxgbe: T6 has no limit on the amount of memory that can be
registered in one ib_reg_phys_mr.
Delta File
+5 -2 head/sys/dev/cxgbe/iw_cxgbe/mem.c
+5 -2 1 file

LLVM — llvm/trunk/include/llvm/LTO LTO.h, llvm/trunk/lib/LTO LTO.cpp LTOBackend.cpp

More accurate header inclusions. NFC.

FreeBSD Ports — head/devel/pear-htmlpurifier distinfo Makefile

devel/pear-htmlpurifier: Update to 4.9.2

FreeBSD Ports — head/devel/pear-htmlpurifier Makefile distinfo

devel/pear-channel-htmlpurifier: Update to 4.9.1


LLVM — llvm/trunk/test/CodeGen/X86 pr32451.ll

[AVX-512] Add test case that was supposed to go with r298957.

LLVM — lldb/trunk/examples/python crashlog.py

Print the error if dsymForUUID sometimes produces bad plists.

Not much we can do about it but at least we can print the bad
plist and the error.

LLVM — llvm/trunk/lib/Target/X86 X86FastISel.cpp

[AVX-512] Punt on fast-isel of truncates to i1 when AVX512 is enabled.

We should be masking the value and emitting a register copy like we do in non-fast isel. 
Instead we were just updating the value map and emitting nothing.

After r298928 we started seeing cases where we would create a copy from GR8 to GR32 
because the source register in a VK1 to GR32 copy was replaced by the GR8 going into a 

This fixes PR32451.

FreeBSD Ports — head/security/vuxml vuln.xml

Document hostapd vulnerabilities

PR:                217906
Delta File
+31 -0 head/security/vuxml/vuln.xml
+31 -0 1 file

FreeBSD Ports — head/multimedia/plexpy pkg-plist distinfo

multimedia/plexpy: Update to 1.4.17

Changelog:        https://github.com/JonnyWong16/plexpy/releases/tag/v1.4.17

NAS4Free — trunk/etc rc.initial

incorrect path to touch command
Delta File
+1 -1 trunk/etc/rc.initial
+1 -1 1 file

LLVM — cfe/trunk/lib/Basic Targets.cpp, cfe/trunk/test/Preprocessor predefined-arch-macros.c

Default enable the rtm feature only on skylake and later for now because Intel disabled 
the feature on some haswell and broadwell processors:


the -mrtm option will still work normally.

FreeBSD — head/sys/cam/ata ata_da.c

In r289137 the legacy_aliases compatibility shims for ata were removed,
also remove a leftover define used for implementing them.

Reviewed by:        mav
Differential Revision:        https://reviews.freebsd.org/D6726
Delta File
+0 -4 head/sys/cam/ata/ata_da.c
+0 -4 1 file

LLVM — llvm/trunk/lib/Target/PowerPC PPCBoolRetToInt.cpp PPC.h, llvm/trunk/test/CodeGen/PowerPC BoolRetToIntTest.ll BoolRetToIntTest-2.ll

[PPC] In PPCBoolRetToInt change the bool value to i64 if the target is ppc64

In PPCBoolRetToInt bool value is changed to i32 type. On ppc64 it may introduce an extra 
zero extension for the return value. This patch changes the integer type to i64 to avoid 
the zero extension on ppc64.

This patch fixed PR32442.

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

NAS4Free — trunk/etc rc.initial

TUI option added to be able to restart WebGUI using HTTP on port 80
Delta File
+14 -2 trunk/etc/rc.initial
+14 -2 1 file

FreeBSD Ports — head/devel/hhdate Makefile

Style fixes, no PORTREVISION bump required

Reported by:        danfe
Delta File
+15 -17 head/devel/hhdate/Makefile
+15 -17 1 file

NAS4Free — trunk/locale nas4free-hu.po

update hu.po
Delta File
+22 -21 trunk/locale/nas4free-hu.po
+22 -21 1 file

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAGCombiner] reduce code duplication with local variables; NFCI

LLVM — lldb/trunk/source/Plugins/Process/NetBSD NativeProcessNetBSD.cpp NativeRegisterContextNetBSD_x86_64.cpp

Add support for tracing hello-world application on NetBSD

This patch is a stripped down from features a NetBSD process
code (patch is kept under 2k LOC). This code has assumption that
there is only one thread within a debugged process. The only
debugger trap supported is software breakpoint (TRAP_BRKPT).
The generic platform code requires to add dummy function for
watchpoints etc. These functions are currently empty.
This code is not the final platform support as is and it's treated as
a base to extend, refactor and address issues afterwards.

Supported features:
 - handle software breakpoints,
 - correctly attach to a tracee,
 - support NetBSD specific ptrace(2),
 - monitor process termination,
 - monitor SIGTRAP events,
 - monitor SIGSTOP events,
 - monitor other signals events,
 - resume the whole process,
 - get memory region info perms,
 - read memory from tracee,
 - write memory to tracee,
 - read ELF AUXV,

    [42 lines not shown]

FreeBSD Ports — head/devel/buildbot distinfo Makefile, head/devel/buildbot-console-view Makefile distinfo

Update devel/buildbot* to 0.9.5

This includes missing files and fixes that are pending upstream.
Also change to using PORTVERSION in dependencies, as all parts of buildbot
need to be the same version anyway.

Reported by:        rodrigc
Differential Revision:        https://reviews.freebsd.org/D10162

FreeBSD — head/sys/dev/iwn if_iwn.c

iwn: remove unneeded cast.
Delta File
+4 -4 head/sys/dev/iwn/if_iwn.c
+4 -4 1 file

LLVM — llvm/trunk/test/CodeGen/AArch64 tailcall-string-rvo.ll

Add a similar test for tailcall optimization as in r270287 for aarch64.

FreeBSD — head/lib/libcam camlib.c

libcam: use __func__ instead of hardcoding the function name as `func_name`

MFC after:        3 days
Tested with:        `cam_device_copy(NULL, NULL)` // ;)..
Sponsored by:        Dell EMC Isilon
Delta File
+30 -36 head/lib/libcam/camlib.c
+30 -36 1 file

FreeBSD — head/sys/dev/iwn if_iwn.c

iwn: drop duplicate synchronization requests.

Rx descriptor / payload is already synchronized in iwn_notif_intr()
(before accessing desc->type / desc->qid fields).

Tested with Intel 6205, STA mode.
Delta File
+12 -39 head/sys/dev/iwn/if_iwn.c
+12 -39 1 file

LLVM — lld/trunk/COFF InputFiles.cpp LTO.cpp, lld/trunk/ELF InputFiles.cpp LTO.cpp

LTO: Replace InputFile::Symbol::getFlags() with predicate accessors. NFC.

This makes the predicates independent of the flag representation
and makes the code a little easier to read.

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG SelectionDAG.cpp

[DAG] fix formatting; NFC

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAGCombiner] remove redundant conditions and duplicated code; NFCI