Displaying 1 50 of 4,863,384 commits (0.294s)

FreeBSD Ports — head/deskutils/nemo-extensions Makefile, head/devel/grumpy Makefile

Remove dependency on the python metaport

PR:                225752
Submitted by:        Yasuhiro KIMURA

FreeBSD Ports — head/net-mgmt/zabbix34-server distinfo Makefile

net-mgmt/zabbix34-*: Update to 3.4.7

Changes:        https://www.zabbix.com/rn3.4.7

PR:                226063
Submitted by:        Pakhom Golynga <pg at pakhom.spb.ru> (maintainer)

FreeBSD Ports — head/emulators Makefile, head/emulators/pipelight Makefile

pipelight builds fine with wine (not run tested)

LLVM — cfe/trunk/lib/StaticAnalyzer/Checkers AnalyzerStatsChecker.cpp, cfe/trunk/test/Analysis analyzer-stats.c

[analyzer] Prevent AnalyzerStatsChecker from crash

The checker marks the locations where the analyzer creates sinks. However, it
can happen that the sink was created because of a loop which does not contain
condition statement, only breaks in the body. The exhausted block is the block
which should contain the condition but empty, in this case.
This change only emits this marking in order to avoid the undefined behavior.

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

LLVM — cfe/trunk/include/clang/Driver Options.td

Remove use of the 'gmlt' term from the -fsplit-dwarf-inlining flag description to make it 
more readily legible

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

fix: reload rsync configuration after rsync task deletion.
Ticket: 25945

FreeNAS — src/middlewared/middlewared/client client.py

fix(middlewared): make sure to close fd when using reserved_ports client

Ticket:        #28133
(cherry picked from commit 410a9de1c32ed8e6388fc7469c4a94ae009ce3a9)

FreeNAS — src/middlewared/middlewared/client client.py

fix(middlewared): make sure to close fd when using reserved_ports client

Ticket:        #28133

FreeBSD — head/stand/i386/loader conf.c Makefile

Honor settings for including / excluding cd9660, ufs, ext2fs and msdos.

The Makefile gives the impression that ext2fs and msdos were excluded
(they weren't) and that you could exclude cd9660 and ufs support (you
couldn't). Allow those to be excluded.

We need to look, in the future, at trimming the number of supported
filesystems, and this will make that easier.

FreeBSD — head/stand loader.mk, head/stand/common zfs_cmd.c

Consolidate three copies of ZFS commands into a central location.

There's no reason to have multiple copies of lszfs and
reloadbe. Consolidate them into one location. Also ldi_get_size is the
same everywhere (except sparc64). Make it the same everywhere as the
common definition is more general and will work on spar64.

FreeBSD — head/libexec/getty subr.c main.c

Build getty(8) with WARNS=6.

Reviewed by:        imp@
MFC after:        2 weeks
Sponsored by:        The FreeBSD Foundation
Differential Revision:        https://reviews.freebsd.org/D14197

FreeNAS — src/middlewared/middlewared main.py

fix(middlewared): prevent on_connect task to be cancelled

SmartOS — overlay/generic/usr/lib/brand/jcommon statechange

OS-6645 bhyve zones often hang on statechange

LLVM — cfe/trunk/include/clang/Format Format.h, cfe/trunk/lib/Format Format.cpp

[clang-format] New API guessLanguage()

Summary:
For clients which don't have a filesystem, calling getStyle() doesn't
make much sense (there's no .clang-format files to search for).

In this diff, I hoist out the language-guessing logic from getStyle()
and move it into a new API guessLanguage().

I also added support for guessing the language of files which have no
extension (they could be C++ or ObjC).

Test Plan: New tests added. Ran tests with:
  % make -j12 FormatTests && ./tools/clang/unittests/Format/FormatTests

Reviewers: jolesiak, krasimir

Reviewed By: jolesiak, krasimir

Subscribers: klimek, cfe-commits, sammccall

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

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

ministat: disallow negative variance / nan Stddev

With all values identical it was possible for Var() to return a negative
value due to limited floating point precision, resulting in "nan"
reported as Stddev.

Variance cannot actually be negative, so just return 0.  We can later
investigate alternate algorithms for calculating variance to reduce the
effect of catastrophic cancellation here.

Reported by:        Arshan Khanifar <arshankhanifar_gmail.com>
Approved by:        phk
Sponsored by:        The FreeBSD Foundation
Delta File
+6 -0 head/usr.bin/ministat/ministat.c
+6 -0 1 file

FreeBSD — head/cddl/usr.sbin/zdb Makefile

zdb: raise WARNS from 0 to 2

This has only been possible since r329694 and r329508

MFC after:        3 weeks
X-MFC-With:        329694
X-MFC-With:        329508
Sponsored by:        Spectra Logic
Delta File
+1 -1 head/cddl/usr.sbin/zdb/Makefile
+1 -1 1 file

FreeNAS — src/freenas/usr/local/bin freenas-debug

freenas-debug -B should only be run when explicitly specified via the cli

FreeBSD Ports — head/devel/py-lxml Makefile distinfo

devel/py-lxml: update to 4.1.1

PR:                226032
Submitted by:        loic.blot
Delta File
+5 -1 head/devel/py-lxml/Makefile
+3 -3 head/devel/py-lxml/distinfo
+0 -0 head/devel/py-lxml/files/
+8 -4 3 files

LLVM — lldb/trunk/packages/Python/lldbsuite/test lldbtest.py lldbutil.py, lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied TestAttachDenied.py

Fix a couple of more tests to not create files in the source tree

Summary:
These were not being flaky, but they're still making the tree dirty.

These tests were using lldbutil.append_to_process_working_directory to
derive the file path so I fix them by modifying the function to return
the build directory for local tests.

Technically, now the path returned by this function does not point to
the process working directory for local tests, but I think it makes
sense to keep the function name, as I think we should move towards
launching the process in the build directory (and I intend to change
this for the handful of inferiors that actually care about their PWD,
for example because they need to create files there).

Reviewers: davide, aprantl

Subscribers: lldb-commits

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

LLVM — llvm/trunk/test/Transforms/SLPVectorizer/X86 pr19657.ll

[SLP] Fix test checks, NFC.

LLVM — llvm/trunk/lib/Target/Sparc/MCTargetDesc SparcMCExpr.cpp, llvm/trunk/test/CodeGen/SPARC tls.ll

[Sparc] Include __tls_get_addr in symbol table for TLS calls to it

Global Dynamic and Local Dynamic call relocations only implicitly
reference __tls_get_addr; there is no connection in the ELF file between
the relocations and the symbol other than the specification for the
relocations' semantics. However, it still needs to be in the symbol
table despite the lack of explicit references to the symbol table entry,
since it needs to be bound at link time for these relocations, otherwise
any objects will fail to link.

For details, see https://sourceware.org/bugzilla/show_bug.cgi?id=22832.

Path by: James Clarke (jrtc27)

Differential revision: https://reviews.llvm.org/D43271

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

    fix(ix-inetd): chmod 644 /etc/services (it was created with mktemp, default 
permissions were 600)
    
    Ticket: #28573
Delta File
+2 -0 src/freenas/etc/ix.rc.d/ix-inetd
+2 -0 1 file

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

    fix(ix-inetd): chmod 644 /etc/services (it was created with mktemp, default 
permissions were 600)
    
    Ticket: #28573
Delta File
+2 -0 src/freenas/etc/ix.rc.d/ix-inetd
+2 -0 1 file

LLVM — llvm/trunk/lib/Analysis ScalarEvolution.cpp, llvm/trunk/test/Transforms/LoopVectorize vect-phiscev-sext-trunc.ll pr30654-phiscev-sext-trunc.ll

[SCEV] Temporarily disable loop versioning for the purpose
of turning SCEVUnknowns of PHIs into AddRecExprs.

This feature is now hidden behind the -scev-version-unknown flag.

Fixes PR36032 and PR35432.

FreeBSD Ports — head/games/connectagram pkg-plist Makefile

Update to 1.2.6
Make translations optional
Fix stage-qa warnings
Remove INSTALLS_ICONS (Qt apps don't use this)
Move USES block upward

FreeBSD — head/sys/powerpc/include spr.h

Add definition for the PowerPC A2.
Delta File
+1 -0 head/sys/powerpc/include/spr.h
+1 -0 1 file

FreeBSD — head/sys/powerpc/include pte.h

Add definitions for the new Radix MMU mode on POWER9+ CPUs.
Delta File
+31 -0 head/sys/powerpc/include/pte.h
+31 -0 1 file

LLVM — llvm/trunk/include/llvm/Linker IRMover.h, llvm/trunk/lib/Linker IRMover.cpp

[IRMover] Implement name based structure type mapping

Differential revision: https://reviews.llvm.org/D43199

FreeBSD — head/cddl/contrib/opensolaris/lib/libzfs/common libzfs_dataset.c, head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dsl_dataset.c zfs_ioctl.c

MFV r329718: 8520 7198 lzc_rollback_to should support rolling back to origin

illumos/illumos-gate at 95643f75d23914a3e332adc9661ed51749e9858d
https://github.com/illumos/illumos-gate/commit/95643f75d23914a3e332adc9661ed51749e9858d

https://www.illumos.org/issues/8520
  lzc_rollback_to() should support rolling back to a clone's origin.
  The current checks in zfs_ioc_rollback() would not allow that because the
  origin snapshot belongs to a different filesystem.
  The overly restrictive check was introduced in 7600, but it was not a
  regression as none of the existing tools provided a way to rollback to the
  origin.

https://www.illumos.org/issues/7198
  EINVAL is returned when a dataset does not have any snapshots, so there is
  nothing to roll back to.
  Although the code in zfs_do_rollback checks for that condition in advance, it's
  still possible that the snapshot(s) gets removed after the check and before the
  rollback sync task is executed.
  At the moment zfs command would crash when that happens.

Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Approved by: Dan McDonald <danmcd at joyent.com>
Author: Andriy Gapon <avg at FreeBSD.org>
MFC after:        2 weeks

FreeBSD — vendor-sys/illumos/dist/uts/common/fs/zfs dsl_dataset.c zfs_ioctl.c, vendor/illumos/dist/lib/libzfs/common libzfs_dataset.c

8520 7198 lzc_rollback_to should support rolling back to origin

illumos/illumos-gate at 95643f75d23914a3e332adc9661ed51749e9858d
https://github.com/illumos/illumos-gate/commit/95643f75d23914a3e332adc9661ed51749e9858d

https://www.illumos.org/issues/8520
  lzc_rollback_to() should support rolling back to a clone's origin.
  The current checks in zfs_ioc_rollback() would not allow that because the
  origin snapshot belongs to a different filesystem.
  The overly restrictive check was introduced in 7600, but it was not a
  regression as none of the existing tools provided a way to rollback to the
  origin.

https://www.illumos.org/issues/7198
  EINVAL is returned when a dataset does not have any snapshots, so there is
  nothing to roll back to.
  Although the code in zfs_do_rollback checks for that condition in advance, it's
  still possible that the snapshot(s) gets removed after the check and before the
  rollback sync task is executed.
  At the moment zfs command would crash when that happens.

Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Approved by: Dan McDonald <danmcd at joyent.com>
Author: Andriy Gapon <avg at FreeBSD.org>

FreeBSD Ports — head/net/pjsip Makefile distinfo

- Update net/pjsip to 2.7.2
- Sort options and option helpers
- Remove stray YUV_DESC variable
Delta File
+16 -17 head/net/pjsip/Makefile
+3 -3 head/net/pjsip/distinfo
+19 -20 2 files

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_tx.c zil.c, head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys dmu.h dmu_tx.h

MFV r329715: 8997 ztest assertion failure in zil_lwb_write_issue

illumos/illumos-gate at f864f99efe57685e1762590c1a880dd16bca6da9
https://github.com/illumos/illumos-gate/commit/f864f99efe57685e1762590c1a880dd16bca6da9

https://www.illumos.org/issues/8997
  When dmu_tx_assign is called from zil_lwb_write_issue, it's possible
  for either ERESTART or EIO to be returned.
  If ERESTART is returned, this will cause an assertion to fail directly
  in zil_lwb_write_issue, where the code assumes the return value is
  EIO if dmu_tx_assign returns a non-zero value. This can occur if the
  SPA is suspended when dmu_tx_assign is called, and most often occurs
  when running zloop.
  If EIO is returned, this can cause assertions to fail elsewhere in the
  ZIL code. For example, zil_commit_waiter_timeout contains the
  following logic:
    lwb_t *nlwb = zil_lwb_write_issue(zilog, lwb);
    ASSERT3S(lwb->lwb_state, !=, LWB_STATE_OPENED);
  In this case, if dmu_tx_assign returned EIO from within
  zil_lwb_write_issue, the lwb variable passed in will not be issued
  to disk. Thus, it's lwb_state field will remain LWB_STATE_OPENED and
  this assertion will fail. zil_commit_waiter_timeout assumes that after
  it calls zil_lwb_write_issue, the lwb will be issued to disk, and
  doesn't handle the case where this is not true; i.e. it doesn't handle
  the case where dmu_tx_assign returns EIO.

    [6 lines not shown]

LLVM — llvm/trunk/test/CodeGen/X86 x86-64-psub.ll

[X86][MMX] Regenerate MMX PSUB commutation test

LLVM — llvm/trunk/test/CodeGen/X86 2007-07-03-GR64ToVR64.ll

[X86] Regenerate GPR:XMM bitcast test

FreeNAS — nas_ports/freenas/py-middlewared/files middlewared.in, src/middlewared/middlewared main.py

fix(rc): middlewared debug not starting (#873)

* fix(rc): middlewared debug not starting

This now runs it in foreground mode in a tmux session that gets killed upon stopping.

Ticket: #28593

* Address William's review

This is a cleaner implementation, by modifying main.py to always create a pidfile.

FreeNAS — . Jenkinsfile

Do cleanup of XML results and cleanup of old ISO / VM jobs
on the build node, before and after the testing begins.
Delta File
+5 -0 Jenkinsfile
+5 -0 1 file

FreeBSD Ports — head/games/gottet Makefile distinfo

Update to 1.1.5
Move USES block upward
Delta File
+3 -4 head/games/gottet/Makefile
+3 -3 head/games/gottet/distinfo
+1 -1 head/games/gottet/pkg-plist
+0 -0 head/games/gottet/files/
+7 -8 4 files

FreeBSD — head/stand/lua menu.lua

lualoader: Use the key that interrupts autoboot as a menu choice

This matches forth behavior. Hitting "6" when autobooting at the welcome
menu will now take you directly to the "Boot Options" menu.

We likely have some slight optimizations we should make, like not checking
autoboot every time we open a new menu and things of this nature. Further
work will go towards this end.
Delta File
+7 -5 head/stand/lua/menu.lua
+7 -5 1 file

FreeBSD — vendor-sys/illumos/dist/uts/common/fs/zfs dmu_tx.c zil.c, vendor-sys/illumos/dist/uts/common/fs/zfs/sys dmu.h dmu_tx.h

8997 ztest assertion failure in zil_lwb_write_issue

illumos/illumos-gate at f864f99efe57685e1762590c1a880dd16bca6da9
https://github.com/illumos/illumos-gate/commit/f864f99efe57685e1762590c1a880dd16bca6da9

https://www.illumos.org/issues/8997
  When dmu_tx_assign is called from zil_lwb_write_issue, it's possible
  for either ERESTART or EIO to be returned.
  If ERESTART is returned, this will cause an assertion to fail directly
  in zil_lwb_write_issue, where the code assumes the return value is
  EIO if dmu_tx_assign returns a non-zero value. This can occur if the
  SPA is suspended when dmu_tx_assign is called, and most often occurs
  when running zloop.
  If EIO is returned, this can cause assertions to fail elsewhere in the
  ZIL code. For example, zil_commit_waiter_timeout contains the
  following logic:
    lwb_t *nlwb = zil_lwb_write_issue(zilog, lwb);
    ASSERT3S(lwb->lwb_state, !=, LWB_STATE_OPENED);
  In this case, if dmu_tx_assign returned EIO from within
  zil_lwb_write_issue, the lwb variable passed in will not be issued
  to disk. Thus, it's lwb_state field will remain LWB_STATE_OPENED and
  this assertion will fail. zil_commit_waiter_timeout assumes that after
  it calls zil_lwb_write_issue, the lwb will be issued to disk, and
  doesn't handle the case where this is not true; i.e. it doesn't handle
  the case where dmu_tx_assign returns EIO.

    [5 lines not shown]

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_fm.c

MFV r329713: 8731 ASSERT3U(nui64s, <=, UINT16_MAX) fails for large blocks

illumos/illumos-gate at a6c1eb3c08094a6db69aa1dc6315bc814e82e79c
https://github.com/illumos/illumos-gate/commit/a6c1eb3c08094a6db69aa1dc6315bc814e82e79c

https://www.illumos.org/issues/8731
  annotate_ecksum() asserts that nui64s, calculated as nui64s = size / sizeof
  (uint64_t), is not greater than UINT16_MAX.
  This restriction is needed because histograms of incorrectly set and cleared
  bits have 16 bit counters and if the buffer consists of too many 64-bit words,
  then a counter can potentially overflow producing an incorrect result.
  When the largest buffer size was 128KB the greatest value of nui64s was 16K,
  well within the limit.
  But now we have support for large buffers and for buffer sizes of 512KB and
  above the restriction is violated.

Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Approved by: Dan McDonald <danmcd at joyent.com>
Author: Andriy Gapon <avg at FreeBSD.org>
MFC after:        2 weeks

FreeBSD — vendor-sys/illumos/dist/uts/common/fs/zfs zfs_fm.c

8731 ASSERT3U(nui64s, <=, UINT16_MAX) fails for large blocks

illumos/illumos-gate at a6c1eb3c08094a6db69aa1dc6315bc814e82e79c
https://github.com/illumos/illumos-gate/commit/a6c1eb3c08094a6db69aa1dc6315bc814e82e79c

https://www.illumos.org/issues/8731
  annotate_ecksum() asserts that nui64s, calculated as nui64s = size / sizeof
  (uint64_t), is not greater than UINT16_MAX.
  This restriction is needed because histograms of incorrectly set and cleared
  bits have 16 bit counters and if the buffer consists of too many 64-bit words,
  then a counter can potentially overflow producing an incorrect result.
  When the largest buffer size was 128KB the greatest value of nui64s was 16K,
  well within the limit.
  But now we have support for large buffers and for buffer sizes of 512KB and
  above the restriction is violated.

Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Approved by: Dan McDonald <danmcd at joyent.com>
Author: Andriy Gapon <avg at FreeBSD.org>

FreeBSD — head/sys/conf files.powerpc, head/sys/powerpc/aim trap_subr64.S mp_cpudep.c

PowerNV: Put processor to power-save state in idle thread

When processor enters power-save state it releases resources shared with other
cpu threads which makes other cores working much faster.

This patch also implements saving and restoring registers that might get
corrupted in power-save state.

Submitted by:          Patryk Duda <pdk at semihalf.com>
Obtained from:         Semihalf
Reviewed by:           jhibbits, nwhitehorn, wma
Sponsored by:          IBM, QCM Technologies
Differential revision: https://reviews.freebsd.org/D14330

FreeBSD Ports — head/games/bloboats Makefile

Mark broken on FreeBSD 12.X

Notified by:        pkg-fallout
Delta File
+2 -0 head/games/bloboats/Makefile
+2 -0 1 file

LLVM — cfe/trunk/docs LibASTMatchersReference.html

[ASTMatchers] Regenerate documentation after r325678

LLVM — lld/trunk/ELF Writer.cpp

[ELF] - Simplify. NFC.
Delta File
+1 -3 lld/trunk/ELF/Writer.cpp
+1 -3 1 file

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_acl.c

MFV r329710: 8966 Source file zfs_acl.c, function zfs_aclset_common contains a use after 
end of the lifetime of a local variable

illumos/illumos-gate at 82693e09cc02331fa1b3b73b54b1060e73507a8d
https://github.com/illumos/illumos-gate/commit/82693e09cc02331fa1b3b73b54b1060e73507a8d
https://www.illumos.org/issues/8966

Reviewed by: Matt Ahrens <mahrens at delphix.com>
Reviewed by: Andriy Gapon <avg at FreeBSD.org>
Approved by: Richard Lowe <richlowe at richlowe.net>
Author: WHR <msl0000023508 at gmail.com>
PR:                225162
Submitted by:        WHR <msl0000023508 at gmail.com>
Reported by:        WHR <msl0000023508 at gmail.com>
MFC after:        1 week

FreeBSD — vendor-sys/illumos/dist/uts/common/fs/zfs zfs_acl.c

8966 Source file zfs_acl.c, function zfs_aclset_common contains a use after end of the 
lifetime of a local variable

illumos/illumos-gate at 82693e09cc02331fa1b3b73b54b1060e73507a8d
https://github.com/illumos/illumos-gate/commit/82693e09cc02331fa1b3b73b54b1060e73507a8d

https://www.illumos.org/issues/8966

Reviewed by: Matt Ahrens <mahrens at delphix.com>
Reviewed by: Andriy Gapon <avg at FreeBSD.org>
Approved by: Richard Lowe <richlowe at richlowe.net>
Author: WHR <msl0000023508 at gmail.com>

FreeBSD Ports — head/audio/milkytracker Makefile

Fix build on 12.0-CURRENT after upgrading clang, llvm, lld, lldb, compiler-rt
and libc++ to 6.0.0 by falling back to gcc.

Notified by:        pkg-fallout
Delta File
+8 -1 head/audio/milkytracker/Makefile
+8 -1 1 file

FreeBSD — head/stand/lua core.lua

lualoader: Don't autodetect kernels if 'kernels' is explicitly set
Delta File
+12 -6 head/stand/lua/core.lua
+12 -6 1 file

FreeBSD — head/sys/cam/scsi scsi_cd.c

Use proper buffer length (the announce_buf char pointer used to be anarray),
broken in r317143. This fixes those weird "cd0: Attempt" messages at boot.

PR:                222103
Reviewed by:        scottl@
MFC after:        2 weeks
Sponsored by:        DARPA, AFRL
Differential Revision:        https://reviews.freebsd.org/D14369
Delta File
+3 -2 head/sys/cam/scsi/scsi_cd.c
+3 -2 1 file