Displaying 1 50 of 4,682,726 commits (0.359s)

LLVM — llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets RuntimeDyldCOFFI386.h, llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86 COFF_i386.s

[ExecutionEngine] Correct the size of a write in a COFF i386 relocation

We want to be writing a 32bit value, so we should be writing 4 bytes
instead of 2.

Patch by Alex Langford <apl at fb.com>.

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

LLVM — llvm/trunk/test/tools/llvm-cov deferred-region.cpp, llvm/trunk/tools/llvm-cov CoverageSummaryInfo.cpp

[llvm-cov] Add one correction to r315960 (PR34962)

In r315960, I accidentally assumed that the first line segment is
guaranteed to be the non-gap region entry segment (given that one is
present). It can actually be any segment on the line, and the test I
checked in demonstrates that.

FreeBSD Ports — head/net/hostapd distinfo Makefile

Add patch set 2017-1.

A vulnerability was found in how a number of implementations can be
triggered to reconfigure WPA/WPA2/RSN keys (TK, GTK, or IGTK) by
replaying a specific frame that is used to manage the keys. Such
reinstallation of the encryption key can result in two different types
of vulnerabilities: disabling replay protection and significantly
reducing the security of encryption to the point of allowing frames to
be decrypted or some parts of the keys to be determined by an attacker
depending on which cipher is used.

Approved by:        leres (maintainer)
Security:        https://w1.fi/security/2017-1/ \
                wpa-packet-number-reuse-with-replayed-messages.txt
Security:        https://www.krackattacks.com/
MFH:                2017Q4
Differential Revision:        D12691

FreeBSD Ports — head/net/hostapd Makefile

Use https site.

Approved by:        leres (maintainer)
MFH:                2017Q4
Differential Revision:        D12691 (part of)
Delta File
+1 -1 head/net/hostapd/Makefile
+1 -1 1 file

FreeBSD — head/etc/periodic/daily 480.leapfile-ntpd

Style. Replace 8 spaces with a tab.

MFC after:        2 weeks (with prior commit to this file)

FreeBSD — head/etc/defaults periodic.conf, head/etc/periodic/daily 480.leapfile-ntpd

Provide an option to run the anticongestion ntpd leapfile fetch in
the background.

Original patch submitted by feld@. I added the "optional" bit.

Submitted by:        feld (original patch)
MFC after:        2 weeks

FreeBSD — head/sys/gdb gdb_main.c

gdb kernel server: fixup Search:memory style

This is a NFC patch to move around the Search:memory implementation so
that it doesn't exceed the standard column width and doesn't take so
much vertical space in gdb_trap.

Submitted by:        Daniel O'Connor <darius at dons.net.au>
Reviewed by:        cem, jhb
Sponsored by:        Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D12684
Delta File
+28 -21 head/sys/gdb/gdb_main.c
+28 -21 1 file

LLVM — llvm/trunk/include/llvm/Analysis ScalarEvolution.h, llvm/trunk/lib/Analysis ScalarEvolution.cpp

Revert "[SCEV] Maintain and use a loop->loop invalidation dependency"

This reverts commit r315713.  It causes PR34968.

I think I know what the problem is, but I don't think I'll have time to fix it
this week.

FreeBSD Ports — head/emulators/virtualbox-ose distinfo Makefile, head/emulators/virtualbox-ose-additions distinfo Makefile

Update to 5.1.30.

LLVM — llvm/trunk/test/MC/X86 crlf.test Inputs, llvm/trunk/test/MC/X86/Inputs crlf.s

Try to make crlf portable to other printf implementations
Delta File
+2 -0 llvm/trunk/test/MC/X86/Inputs/crlf.s
+1 -1 llvm/trunk/test/MC/X86/crlf.test
+0 -0 llvm/trunk/test/MC/X86/Inputs/
+3 -1 3 files

FreeBSD — stable/11/share/man/man9 sysctl.9

MFC r324509: sysctl.9: document CTLFLAG_CAPRD and CTLFLAG_CAPWR

Reported by:        Shawn Webb
Sponsored by:        The FreeBSD Foundation
Delta File
+5 -1 stable/11/share/man/man9/sysctl.9
+5 -1 1 file

LLVM — llvm/trunk/test/tools/llvm-cov deferred-region.cpp, llvm/trunk/test/tools/llvm-cov/Inputs deferred-regions.profdata deferred-regions.covmapping

[llvm-cov] Remove workaround in line execution count calculation (PR34962)

Gap areas make it possible to correctly determine when to use counts
from deferred regions. Before gap areas were introduced, llvm-cov needed
to use a heuristic to do this: it ignored counts from segments that
start, but do not end, on a line. This heuristic breaks down on a simple
example (see PR34962).

This patch removes the heuristic and picks counts from any region entry
segment which isn't a gap area.

LLVM — cfe/trunk/bindings/python/clang cindex.py, cfe/trunk/bindings/python/tests/cindex test_cursor.py

[libclang] Add support for querying cursor availability

Summary:
This patch allows checking the availability of cursors through libclang and clang.cindex 
(Python).
This e.g. allows to check whether a C++ member function has been marked as deleted.

Reviewers: arphaman, jbcoe

Reviewed By: jbcoe

Subscribers: cfe-commits

Tags: #clang

Patch by jklaehn (Johann Klähn)

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

FreeBSD — projects/pnfs-planb-server/sys/fs/nfsserver nfs_nfsdport.c

Change the pNFS server to use the taskqueue code (common with the client)
to do concurrent I/O operations to the mirrored DSs, instead of using
kproc_create()/kproc_exit() for every RPC.

LLVM — cfe/trunk/bindings/python/tests/cindex test_cursor.py, cfe/trunk/test/Index annotate-attribute.cpp

[libclang] Visit attributes for function and class templates

Summary: Previously, `VisitAttributes` was not called for function and class templates and 
thus their attributes were not accessible using libclang.

Reviewers: bkramer, arphaman, rsmith, jbcoe

Reviewed By: jbcoe

Subscribers: cfe-commits

Tags: #clang

Patch by jklaehn (Johann Klähn)

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

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/trunk/lib/Target/AMDGPU SIISelLowering.cpp

Use the return value of UpdateNodeOperands(); in some cases, UpdateNodeOperands() modifies 
the node in-place and using the return value isn’t strictly necessary. However, it does 
not necessarily modify the node, but may return a resultant node if it already exists in 
the DAG. See comments in UpdateNodeOperands(). In that case, the return value must be used 
to avoid such scenarios as an infinite loop (node is assumed to have been updated, so 
added back to the worklist, and re-processed; however, node hasn’t changed so it is once 
again passed to UpdateNodeOperands(), assumed modified, added back to worklist; cycle 
infinitely repeats).

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

FreeBSD — head/sys/fs/nfs nfs_commonport.c, head/sys/fs/nfsclient nfs_clrpcops.c

Use taskqueue(9) to do writes/commits to mirrored DSs concurrently.

When the NFSv4.1 pNFS client is using a Flexible File Layout specifying
mirrored Data Servers, it must do the writes and commits to all mirrors.
This patch modifies the client to use a taskqueue to perform these writes
and commits concurrently.
The number of threads can't be changed for taskqueue(9), so it is set
to 4 * mp_ncpus by default, but this can be overridden by setting the
sysctl vfs.nfs.pnfsiothreads.

Differential Revision:        https://reviews.freebsd.org/D12632

LLVM — cfe/trunk/utils/TableGen ClangAttrEmitter.cpp

Fix usage in TableGen of getValueAsString

Record::getValueAsString returns a stringref to an interned
string (apparently had been changed since most of tablegen was
written). In this patch, I audited the usage of getValueAsString
to find places where we can trivially stop storing 'std::string' and instead
keep the stringref.

There was one instance where an unnecessary 'stringstream' was being used,
so that has been removed as well to unblock the stringref replacing string fix.

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

LLVM — llvm/trunk/test/CodeGen/X86 vector-shuffle-256-v4.ll

[X86][AVX] Add v4x64 vector shuffle test for <0,2,1,3> mask

LLVM — lld/trunk/COFF Driver.cpp DriverUtils.cpp, lld/trunk/test/COFF linkrepro-res.test

COFF: Add resource files to linkrepro instead of the cvtres object file.

Now that we have our own implementation of cvtres, we can add resource
files directly to the linkrepro.

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

LLVM — cfe/trunk/lib/Frontend PrintPreprocessedOutput.cpp, cfe/trunk/test/Preprocessor print-assembler.s

Don't print end-of-directive tokens in -E output

This comes up when pre-processing standalone .s files containing
hash-prefixed comments. The pre-processor should skip the unknown
directive and not emit an extra newline as we were doing.

Fixes PR34950

LLVM — llvm/trunk CMakeLists.txt

cmake: BSD: Mark /usr/local/include as system include directory

We add /usr/local/include to the include directory list for some BSD
systems. We should mark this as a system directory to avoid files from
/usr/local/include getting picked over files shipping with llvm.

This typically manifested as gtest headers installed with the system
getting picked over the ones shipping with llvm.

Patch by Petr Penzin <penzin.dev at gmail.com>

Differential Revision: https://reviews.llvm.org/D37415
Delta File
+1 -1 llvm/trunk/CMakeLists.txt
+1 -1 1 file

LLVM — cfe/trunk/lib/Sema SemaExprCXX.cpp, cfe/trunk/test/Parser builtin_types_compatible.c

Make __builtin_types_compatible_p more like GCC's

GCC ignore qualifiers on array types. Since we seem to have this
function primarily for GCC compatibility, we should try to match that
behavior.

This also adds a few more test-cases __builtin_types_compatible_p,
which were inspired by GCC's documentation on the builtin.

LLVM — cfe/trunk/utils/TableGen ClangAttrEmitter.cpp

Replace usage of std::stringstream with raw_string_ostream

Typically we don't use the stringstream, so instead use
raw_string_stream.  Additionally, the dependent function
changed to use raw_ostream.

LLVM — lld/trunk/COFF DriverUtils.cpp

COFF: Give manifest resource file a name.

Without this, /linkrepro would create an invalid tar file.

No tests because this requires Windows and the linkrepro tests
require not-Windows.

Differential Revision: https://reviews.llvm.org/D38973
Delta File
+2 -1 lld/trunk/COFF/DriverUtils.cpp
+2 -1 1 file

ZFS on Linux — cmd/zdb zdb.c, cmd/zfs zfs_main.c

Fix coverity defects: 147480, 147584

CID 147480: Logically dead code (DEADCODE)

Remove non-null check and subsequent function call. Add ASSERT to future
proof the code.

usage label is only jumped to before `zhp` is initialized.

CID 147584: Out-of-bounds access (OVERRUN)

Subtract length of current string from buffer length for `size` argument
to `snprintf`.

Starting address for the write is the start of the buffer + the current
string length. We need to subtract this string length else risk a buffer
overflow.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Tobin C. Harding <me at tobin.cc>
Closes #6745
Delta File
+4 -4 cmd/zdb/zdb.c
+1 -2 cmd/zfs/zfs_main.c
+5 -6 2 files

LLVM — llvm/trunk/lib/Target/AArch64 AArch64RegisterBankInfo.cpp, llvm/trunk/test/CodeGen/AArch64/GlobalISel arm64-regbankselect.mir

Re-apply [AArch64][RegisterBankInfo] Use the statically computed mappings for COPY

This reverts commit r315823, thus re-applying r315781.

Also make sure we don't use G_BITCAST mapping for non-generic registers.
Non-generic registers don't have a type but do have a reg bank.
Something the COPY mapping now how to deal with but the G_BITCAST
mapping don't.

-- Original Commit Message --
We use to resort on the generic implementation to get the mappings for
COPYs. The generic implementation resorts on table lookup and
dynamically allocated objects to get the valid mappings.

Given we already know how to map G_BITCAST and have the static mappings
for them, use that code path for COPY as well. This is much more
efficient.

Improve the compile time of RegBankSelect by up to 20%.

Note: When we eventually generate all the mappings via TableGen, we
wouldn't have to do that dance to shave compile time. The intent of this
change was to make sure that moving to static structure really pays off.

NFC.

LLVM — llvm/trunk/lib/Target/AArch64 AArch64RegisterBankInfo.cpp, llvm/trunk/test/CodeGen/AArch64/GlobalISel arm64-regbankselect.mir

[AArch64][RegisterBankInfo] Add mapping support for G_BITCAST of s128

Anything bigger than 64-bit just map to FPR.

LLVM — llvm/trunk/lib/Target/AArch64 AArch64LegalizerInfo.cpp, llvm/trunk/test/CodeGen/AArch64/GlobalISel legalize-simple.mir

[AArch64][LegalizerInfo] Mark s128 G_BITCAST legal

We used to mark all G_BITCAST of 128-bit legal but only for vector
types. Scalars of this size are just fine as well.

LLVM — llvm/trunk/docs LangRef.rst, llvm/trunk/include/llvm/IR MDBuilder.h LLVMContext.h

Add !callees metadata

This patch adds a new kind of metadata that indicates the possible callees of
indirect calls.

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

LLVM — llvm/trunk/lib/MC/MCParser AsmLexer.cpp, llvm/trunk/test/MC/X86 crlf.test

[MC] Lex CRLF as one token

This will prevent doubling of line endings when parsing assembly and
emitting assembly.

Otherwise we'd parse the directive, consume the end of statement, hit
the next end of statement, and emit a fresh newline.

DragonFlyBSD — share/initrd/etc rc

mkinitrd - Add missing /var/db (3)

* When /var is mounted via tmpfs we have to mkdir the subdirs
  manually.

* Add /var/db and /var/empty to the directories initrd creates
  in its rc.

Submitted-by: amonk
Delta File
+2 -0 share/initrd/etc/rc
+2 -0 1 file

DragonFlyBSD — share/initrd/etc rc

mkinitrd - Add missing /var/db (3)

* When /var is mounted via tmpfs we have to mkdir the subdirs
  manually.

* Add /var/db and /var/empty to the directories initrd creates
  in its rc.

Submitted-by: amonk
Delta File
+2 -0 share/initrd/etc/rc
+2 -0 1 file

FreeBSD Ports — branches/2017Q4/net-p2p/go-ethereum distinfo Makefile

MFH: r452165

* Updated to 1.7.2
 - [High severity] Upgrade to 1.7.2 to fix a DOS vulnerability in the EVM.

PR:                223013
Submitted by:        Enrique Fynn (maintainer)

Approved by:        portmgr (swills)

DragonFlyBSD — sys/dev/virtual/virtio/block virtio_blk.c

virtio_blk - Fix capacity calculation, when host sets large disk block size.

* The disk capacity in the virtio configuration space is always specified
  in 512 byte sectors, so info.d_media_blksize should be 512.

* Also check for VIRTIO_BLK_F_GEOMETRY feature before reading the disk
  geometry from configuration space.

* Add some device_printf calls to report the disk size and (if available)
  geometry during bootup.

DragonFlyBSD — sys/dev/virtual/virtio/block virtio_blk.c

virtio_blk - Fix capacity calculation, when host sets large disk block size.

* The disk capacity in the virtio configuration space is always specified
  in 512 byte sectors, so info.d_media_blksize should be 512.

* Also check for VIRTIO_BLK_F_GEOMETRY feature before reading the disk
  geometry from configuration space.

* Add some device_printf calls to report the disk size and (if available)
  geometry during bootup.

FreeBSD Ports — head/devel/ccache Makefile

Add links for llvm50.

Reported by:        martin at sugioarto.com
PR:                223042
Delta File
+2 -2 head/devel/ccache/Makefile
+2 -2 1 file

FreeBSD — stable/10/sbin/fsck_ffs main.c

MFC of 324456.

Do not report filesystem as modified if only timestamp updated in superblock.
Delta File
+7 -1 stable/10/sbin/fsck_ffs/main.c
+7 -1 1 file

LLVM — llvm/trunk/test/CodeGen/X86 3dnow-schedule.ll

[X86][3DNow] Add scheduling latency/throughput tests for 3DNow! instructions

LLVM — llvm/trunk/lib/Transforms/Scalar JumpThreading.cpp

[JumpThreading] Move two PredValueInfoTy vectors to a scope closer to their usage. NFCI

FreeBSD — stable/11/sbin/fsck_ffs main.c

MFC of 324456.

Do not report filesystem as modified if only timestamp updated in superblock.
Delta File
+7 -1 stable/11/sbin/fsck_ffs/main.c
+7 -1 1 file

FreeBSD Ports — head/devel/libelf Makefile

Fix a typo in the LICENCE field, s/LGPL/LGPL20/

Reported by:        Terry Kennedy <TERRY at glaver.org>
Delta File
+1 -1 head/devel/libelf/Makefile
+1 -1 1 file

FreeBSD — head/sys/kern uipc_mbuf.c

mbuf(9): unbreak m_fragment()

- Fix it by replacing m_cat() with m_prev->m_next = m_new
(m_cat() will try to append data - as a result, there will be no
fragmentation).
- Move some constants out of the loop.

Was previously tested with D4077.

Differential Revision:        https://reviews.freebsd.org/D4090
Delta File
+27 -30 head/sys/kern/uipc_mbuf.c
+27 -30 1 file

OPNsense — src/opnsense/mvc/app/views/OPNsense/CaptivePortal clients.volt

captive portal: prettier column names

LLVM — llvm/trunk/include/llvm/Transforms/Scalar LoopLoadElimination.h LoopInstSimplify.h, llvm/trunk/lib/Transforms/Scalar IndVarSimplify.cpp LoopInterchange.cpp

[Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor 
fixes (NFC).

LLVM — llvm/trunk/test/CodeGen/X86 mmx-schedule.ll

[X86][MMX] Add scheduling latency/throughput tests for MMX instructions
Delta File
+6,342 -0 llvm/trunk/test/CodeGen/X86/mmx-schedule.ll
+6,342 -0 1 file

PC-BSD — usr.sbin/nfsd nfsd.c

s/space/tab/
Delta File
+1 -1 usr.sbin/nfsd/nfsd.c
+1 -1 1 file

PC-BSD — usr.sbin/nfsd nfsd.c

Ability to specify a "virtual" hostname principal for NFSD

Ticket: #25630
Delta File
+21 -1 usr.sbin/nfsd/nfsd.c
+21 -1 1 file

HardenedBSD — sys/net if_clone.c

ifnet(9): split ifc_alloc_unit() (should simplify code flow)

Allocate smallest unit number from pool via ifc_alloc_unit_next()
and exact unit number (if available) via ifc_alloc_unit_specific().

While here, address possible deadlock (mentioned in PR).

PR:                217401
MFC after:        5 days
Differential Revision:        https://reviews.freebsd.org/D12551
Delta File
+36 -24 sys/net/if_clone.c
+36 -24 1 file