Displaying 1 50 of 5,101,721 commits (0.270s)

FreeBSD Ports — head/devel/git-lfs distinfo Makefile

devel/git-lfs: Update to 2.4.1

PR:                228435
Submitted by:        Kenji Rikitake <kenji at k2r.org>

FreeBSD — user/des/fbce/db notes

Modify SQL query so it produces the correct result even if run after the
start of the election.
Delta File
+1 -1 user/des/fbce/db/notes
+1 -1 1 file

FreeBSD — head/sbin/md5 md5.c

md5: perform compare case-insenstive

md5 generates a md5 hash lowercase, but it might be provided in
uppercase. Allow this.

PR:                205598
Reported by:        ohauer
MFC After:        2 weeks
Delta File
+2 -2 head/sbin/md5/md5.c
+2 -2 1 file

FreeBSD Ports — head/devel/elixir-smppex distinfo pkg-plist

Update devel/elixir-smppex to version 2.2.5.

LLVM — llvm/trunk/lib/Target/Sparc/AsmParser SparcAsmParser.cpp

[Sparc] Use addAliasForDirective to support data directives

The Sparc asm parser currently has custom parsing logic for .half, .word, 
.nword and .xword. Rather than use this custom logic, we can just use 
addAliasForDirective to enable the reuse of AsmParser::parseDirectiveValue.

https://reviews.llvm.org/D47003

FreeBSD — head/lib/libmd mdXhl.c Makefile

libmd: build with WARNS=1

- build with WARNS=1. This works without any changes
- remove two unused variables noticed at WARNS=2

LLVM — llvm/trunk/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

[AArch64] Use addAliasForDirective to support data directives

The AArch64 asm parser currently has custom parsing logic for .hword, .word, 
and .xword. Rather than use this custom logic, we can just use 
addAliasForDirective to enable the reuse of AsmParser::parseDirectiveValue.

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

FreeNAS — src/freenas/usr/local/libexec/nas generate_smb4_conf.py

     do not grant extra privileges to users
    
    These are inappropriate from a security perspective in an AD / LDAP environment, and 
they can negatively impact boot times.

FreeBSD Ports — head/multimedia/kodi-devel Makefile distinfo, head/multimedia/kodi-devel/files patch-oss patch-evdev

multimedia/kodi-devel: Update to latest commit

- Drop upstreamed patches

Regressions on FreeBSD:

- Kodi segfaults on startup when VAAPI and VDPAU are enabled.
  Disable them by default for now and mark them as broken.

- For GBM and WAYLAND Kodi has switched to using libinput for input device
  support and now aborts with a bus error on startup.

LLVM — llvm/trunk/lib/Target/RISCV/MCTargetDesc RISCVAsmBackend.cpp

[RISCV] Correctly report sizes for builtin fixups

This is a different approach to fixing the problem described in D46746. 
RISCVAsmBackend currently depends on the getSize helper function returning the 
number of bytes a fixup may change (note: some other backends have a similar 
helper named getFixupNumKindBytes). As noted in that review, this doesn't 
return the correct size for FK_Data_1, FK_Data_2, or FK_Data_8 meaning that 
too few bytes will be written in the case of FK_Data_8, and there's the 
potential of writing outside the Data array for the smaller fixups.

D46746 extends getSize to recognise some of the builtin fixup types. Rather 
than having a function that needs to be kept up to date as new builtin or 
target-specific fixups are added, We can calculate an appropriate bound on the 
number of bytes that might be touched using Info.TargetSize and 
Info.TargetOffset.

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

FreeBSD — head/sbin/dumpon dumpon.8

dumpon: point to better kernel debug symbols.

The objdir is temporary, and the current example points to GENERIC.
Instead point to the installed location of the debug symbols that are
supposed to match the kernel you are using.

PR:                223993
Submitted by:        Trond.Endrestol at ximalas.info
Delta File
+2 -2 head/sbin/dumpon/dumpon.8
+2 -2 1 file

FreeBSD — head/share/timedef cs_CZ.ISO8859-2.src

timedef: Update Czech timedef

This changes date format from 2015/05/12 to 05.12.2015.

PR:                200591
Submitted by:        grafnetter at dekanat.mff.cuni.cz

LLVM — lldb/trunk/unittests/Target PathMappingListTest.cpp

Fix PathMappingList tests on windows

The tests added in r332842 don't work on windows, because they do path
comparisons on strings, and on windows, the paths coming out of the
mappings had backslashes in them.

This switches comparisons to FileSpecs, so the results come out right.

FreeBSD — head/sys/kern kern_switch.c

Remove incorrect owepreempt assertion added in r334062

Yet another preemption request hitting between the counter being 0
and the check being reached will result in the flag no longer being
set.

Note the situation was already present prior to r334062 and is harmless.

Reported by:        pho
Reviewed by:        kib
Delta File
+6 -2 head/sys/kern/kern_switch.c
+6 -2 1 file

LLVM — lldb/trunk/source/Host/posix ProcessLauncherPosixFork.cpp

ProcessLauncherPosixFork: move setgid call into the if(debug) branch

This call was originally being only made when launching for debug (as an
attempt to make sure we don't impart extra privileges on the launched
process), but after the debug and non-debug paths were merged, it made
it's way into generic code. This was causing problems in locked down
android environments which disallowed calling setgid even if it would be
a no-op. This prevented launching llgs from lldb-server platform.

Overall I'm not sure we should be calling setgid in the first place
(it seems random -- e.g. why don't we call setuid then as well).
However, all our other copies of launch code have it, so I choose to
keep it for now.

LLVM — llvm/trunk/lib/Transforms/Scalar LoopUnswitch.cpp, llvm/trunk/test/Transforms/LoopUnswitch invalidate-scev.ll

[LoopUnswitch] Fix SCEV invalidation in unswitching

Loop unswitching makes substantial changes to a loop that can also affect cached
SCEV info in its outer loops as well, but it only cares to invalidate SCEV cache for the
innermost loop in case of full unswitching and does not invalidate anything at all in
case of trivial unswitching. As result, we may end up with incorrect data in cache.

Differential Revision: https://reviews.llvm.org/D46045
Reviewed By: mzolotukhin

FreeBSD — head/sbin/devd Makefile

devd: Unbreak build

I'm not quite sure why this wasn't caught before. Most likely due to
some generated file not being properly cleaned.

Fix build by just hiding the warnings that `-i` was supposed to fix.

Tested with clang, gcc9, gcc7
Delta File
+1 -2 head/sbin/devd/Makefile
+1 -2 1 file

FreeNAS — src/freenas/etc/ix.rc.d ix-nis

Add check to see if nis is enabled
Delta File
+4 -1 src/freenas/etc/ix.rc.d/ix-nis
+4 -1 1 file

HardenedBSD — usr.sbin/mpsutil mpsutil.c

mpsutil: correct style

Reported by:        bapt
Delta File
+1 -2 usr.sbin/mpsutil/mpsutil.c
+1 -2 1 file

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

mpsutil: correct style

Reported by:        bapt
Delta File
+1 -2 head/usr.sbin/mpsutil/mpsutil.c
+1 -2 1 file

pkgsrc — doc CHANGES-2018

Updated textproc/py-JWT, security/py-OpenSSL
Delta File
+3 -1 doc/CHANGES-2018
+3 -1 1 file

pkgsrc — security/py-OpenSSL Makefile distinfo

py-OpenSSL: updated to 18.0.0

18.0.0:
Backward-incompatible changes:
- The minimum cryptography version is now 2.2.1.
- Support for Python 2.6 has been dropped.

Changes:
- Added Connection.get_certificate to retrieve the local certificate.
- OpenSSL.SSL.Connection now sets SSL_MODE_AUTO_RETRY by default.
- Added Context.set_tlsext_use_srtp to enable negotiation of SRTP keying material.

pkgsrc — textproc/py-JWT distinfo PLIST

py-JWT: updated to 1.6.3

v1.6.3
Changed
- All exceptions inherit from PyJWTError

Added
- Add type hints

Docs
- Added section to usage docs for jwt.get_unverified_header()
- Update legacy instructions for using pycrypto

HardenedBSD — usr.sbin/bhyve mem.c

pthread_rwlock_unlock(3) returns 0 if successful, otherwise an error number
will be returned to indicate the error, so I'm applying an assert(3) to do
a sanity check of the return value.

Reported by:        Coverity CID: 1391235, 1193654 and 1193651
Reviewed by:        grehan
MFC after:        4 weeks.
Sponsored by:        iXsystems Inc.
Differential Revision:        https://reviews.freebsd.org/D15533
Delta File
+21 -11 usr.sbin/bhyve/mem.c
+21 -11 1 file

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

pthread_rwlock_unlock(3) returns 0 if successful, otherwise an error number
will be returned to indicate the error, so I'm applying an assert(3) to do
a sanity check of the return value.

Reported by:        Coverity CID: 1391235, 1193654 and 1193651
Reviewed by:        grehan
MFC after:        4 weeks.
Sponsored by:        iXsystems Inc.
Differential Revision:        https://reviews.freebsd.org/D15533
Delta File
+21 -11 head/usr.sbin/bhyve/mem.c
+21 -11 1 file

FreeBSD Ports — head/deskutils/horde-kronolith Makefile pkg-descr

- Whitespace fix
- Update WWW

Approved by:        portmgr blanket

pkgsrc — doc CHANGES-2018

Updated www/py-cheroot, www/py-cherrypy
Delta File
+3 -1 doc/CHANGES-2018
+3 -1 1 file

pkgsrc — www/py-cherrypy distinfo Makefile

py-cherrypy: updated to 15.0.0

v15.0.0
* :issue:1708: Removed components from webtest that were
  removed in the refactoring of cheroot.test.webtest for
  cheroot 6.1.0.

pkgsrc — www/py-cheroot PLIST distinfo

py-cheroot: updated to 6.3.1

v6.3.1
- :cp-issue:1618: Ignore OpenSSL's 1.0+ Error 0 under Python 2 while
  wrapping a socket.

v6.3.0
- :pr:87: Add cheroot command and runpy launcher to
  launch a WSGI app from the command-line.

pkgsrc — doc CHANGES-2018

Added devel/py-test-testmon, devel/py-dash
Delta File
+3 -1 doc/CHANGES-2018
+3 -1 1 file

pkgsrc — devel Makefile, devel/py-dash PLIST Makefile

py-dash: added version 4.5.0

The kitchen sink of Python utility libraries for doing "stuff" in a functional
way. Based on the Lo-Dash Javascript library.

pkgsrc — devel Makefile, devel/py-test-testmon PLIST Makefile

py-test-testmon: added version 0.9.11

This is a py.test plug-in which automatically selects and re-executes only
tests affected by recent changes.

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

Fix aliasing of launder.invariant.group

Summary:
Patch for capture tracking broke
bootstrap of clang with -fstict-vtable-pointers
which resulted in debbugging nightmare. It was fixed
https://reviews.llvm.org/D46900 but as it turned
out, there were other parts like inliner (computing of
noalias metadata) that I found after bootstraping with enabled
assertions.

Reviewers: hfinkel, rsmith, chandlerc, amharc, kuhar

Subscribers: JDevlieghere, eraman, llvm-commits, hiraditya

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

HardenedBSD — usr.bin/cut cut.c

cut: Fix out of boundary write on illegal list argument

It is possible to trigger an out of boundary write in cut if an invalid
range with autostart has been supplied.

PR:                227330
Submitted by:        tobias at stoeckmann.org
Delta File
+6 -0 usr.bin/cut/cut.c
+6 -0 1 file

FreeBSD — head/usr.bin/cut cut.c

cut: Fix out of boundary write on illegal list argument

It is possible to trigger an out of boundary write in cut if an invalid
range with autostart has been supplied.

PR:                227330
Submitted by:        tobias at stoeckmann.org
Delta File
+6 -0 head/usr.bin/cut/cut.c
+6 -0 1 file

FreeBSD Ports — head/textproc/p5-CSS Makefile

- Add LICENSE
- Add NO_ARCH

Approved by:        portmgr blanket
Delta File
+4 -0 head/textproc/p5-CSS/Makefile
+4 -0 1 file

LLVM — cfe/trunk/lib/Serialization ASTReader.cpp

Fix unaligned memory access when reading INPUT_FILE_OFFSETS data

Summary: The blob data is unaligned, so we also should read it as such. Should fix the 
random failures with the sanitizer builds.

Reviewers: rsmith, v.g.vassilev

Reviewed By: v.g.vassilev

Subscribers: cfe-commits

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

HardenedBSD — tools/build/mk OptionalObsoleteFiles.inc

Add missing file for WITH{OUT}_BSDINSTAL

PR:                227805
Submitted by:        Dmitry Wagin <dmitry.wagin at ya.ru>

FreeBSD — head/tools/build/mk OptionalObsoleteFiles.inc

Add missing file for WITH{OUT}_BSDINSTAL

PR:                227805
Submitted by:        Dmitry Wagin <dmitry.wagin at ya.ru>

OpenBSD — sys/dev/pci if_bwfm_pci.c

Map the second bwfm(4) BAR first.  The bwfm(4) PCIe devices have two
BARs, where the second one is much larger than the first.  Both need
to be properly aligned in the given extent.  Since the first one is
smaller, it will "unalign" the next free space and thus create a gap
so that the second BAR cannot be properly aligned in the given space.
By mapping the second BAR first, it will automatically have proper
alignment.  The first BAR, which has fewer alignment requirements,
fits well after the initial allocation.  Fixes bwfm(4) on APU 1.

Debugged and solved by kettenis@
Delta File
+12 -12 sys/dev/pci/if_bwfm_pci.c
+12 -12 1 file

FreeBSD — head/share/mk bsd.sys.mk

bsd.sys.mk: add -Wmain to WARNS=1

Even in very low "WARNS" conditions, 'main' ought to be reasonable.
Delta File
+1 -1 head/share/mk/bsd.sys.mk
+1 -1 1 file

HardenedBSD — share/mk bsd.sys.mk

bsd.sys.mk: add -Wmain to WARNS=1

Even in very low "WARNS" conditions, 'main' ought to be reasonable.
Delta File
+1 -1 share/mk/bsd.sys.mk
+1 -1 1 file

FreeBSD Ports — head/devel/shiboken Makefile

- Switch to new test framework
- Switch to options helpers
- Fix build for WITHOUT=MANPAGES case

Approved by:        portmgr blanket
Delta File
+9 -20 head/devel/shiboken/Makefile
+9 -20 1 file

FreeBSD Ports — head/textproc Makefile fcitx-table-other, head/textproc/fcitx-table-other pkg-plist Makefile

New port: textproc/fcitx-table-other: Table-based input methods for Fcitx

PR:                216971
Submitted by:        Henry Hu <henry.hu.sh at gmail.com>

LLVM — llvm/trunk/lib/Target/Sparc SparcInstrAliases.td, llvm/trunk/test/MC/Sparc sparc-mem-instructions.s

[Sparc] Add mnemonic aliases for flush, stb, stba, sth, and stha

Reviewers: jyknight

Reviewed By: jyknight

Subscribers: fedor.sergeev, jrtc27, llvm-commits

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

LLVM — cfe/trunk/lib/CodeGen CGExprConstant.cpp, cfe/trunk/lib/Sema SemaInit.cpp

Revert r333044 "Use zeroinitializer for (trailing zero portion of) large array 
initializers"

It caused asserts, see PR37560.

> Use zeroinitializer for (trailing zero portion of) large array initializers
> more reliably.
>
> Clang has two different ways it emits array constants (from InitListExprs and
> from APValues), and both had some ability to emit zeroinitializer, but neither
> was able to catch all cases where we could use zeroinitializer reliably. In
> particular, emitting from an APValue would fail to notice if all the explicit
> array elements happened to be zero. In addition, for large arrays where only an
> initial portion has an explicit initializer, we would emit the complete
> initializer (which could be huge) rather than emitting only the non-zero
> portion. With this change, when the element would have a suffix of more than 8
> zero elements, we emit the array constant as a packed struct of its initial
> portion followed by a zeroinitializer constant for the trailing zero portion.
>
> In passing, I found a bug where SemaInit would sometimes walk the entire array
> when checking an initializer that only covers the first few elements; that's
> fixed here to unblock testing of the rest.
>
> Differential Revision: https://reviews.llvm.org/D47166

pkgsrc — mk/compiler gcc.mk

mk: Add USE_PKGSRC_GCC_RUNTIME gcc7-libs support.
Delta File
+3 -1 mk/compiler/gcc.mk
+3 -1 1 file

pkgsrc — devel/ocaml-ppxlib Makefile buildlink3.mk

Added SUPERSEDES to devel/ocaml-ppxlib, revbump

This package replaces several other ocaml PPX-related packages; this is
now formally stated with a SUPERSEDES variable.

pkgsrc — lang/gcc7 Makefile distinfo, lang/gcc7/patches patch-gcc_Makefile.in

gcc7: Fix LINK_LIBGCC_SPEC patch.

FreeBSD Ports — head/devel/range-v3 distinfo Makefile

devel/range-v3: Update 0.3.5 -> 0.3.6

PR:                228367
Submitted by:        Henry Hu <henry.hu.sh at gmail.com> (maintainer)