Displaying 1 50 of 4,862,781 commits (0.274s)

FreeBSD Ports — branches/2018Q1/net/quagga distinfo Makefile

MFH: r462370

net/quagga: upgrade 1.2.3 -> 1.2.4, fix ospfd crash

- ospfd crashed in 1.2.3, this update fixes that crash

Relnotes:        https://github.com/GNOME/evince/blob/master/NEWS
Approved by:        portmgr (riggs)

DragonFlyBSD — tools/tools/net80211/w00t/ap ap.c

tools/w00t: Fix double assignment.
Delta File
+1 -1 tools/tools/net80211/w00t/ap/ap.c
+1 -1 1 file

FreeBSD Ports — head/security/py-stem Makefile

security/py-stem: Added USE_PYTHON=concurrent

PR:                225542
Submitted by:        myself
Approved by:        tcberner (mentor, implicit)
Delta File
+2 -1 head/security/py-stem/Makefile
+2 -1 1 file

FreeBSD Ports — head/security/nyx Makefile

security/nyx: install man page

PR:                223501
Submitted by:        cs (maintainer)
Delta File
+6 -0 head/security/nyx/Makefile
+6 -0 1 file

FreeBSD — head/sys/powerpc/powerpc trap.c

PowerNV: Send SIGILL on HEA illegal instruction exception

Currently Hypervisor Emulation Assistance interrupt is unhandled.
Executing an undefined instruction in userland triggers kernel panic.
Handle this the same way as Facility Unavailable Interrupt - send
SIGILL signal to userspace.

Submitted by:          Michal Stanek <mst at semihalf.com>
Obtained from:         Semihalf
Reviewed by:           nwhitehorn, pdk at semihalf.com, wma
Sponsored by:          IBM, QCM Technologies
Differential revision: https://reviews.freebsd.org/D14437
Delta File
+1 -0 head/sys/powerpc/powerpc/trap.c
+1 -0 1 file

FreeBSD Ports — head/french/aster Makefile, head/www/chromium Makefile

Remove dependency on the python metaports

PR:                225752
Submitted by:        Yasuhiro KIMURA

LLVM — llvm/trunk/include/llvm/IR IntrinsicsX86.td

[X86] Remove GCCBuiltin from a bunch of intrinsics that aren't used by clang and should be 
removed.

LLVM — llvm/trunk/include/llvm/ADT BitVector.h SparseSet.h, llvm/trunk/include/llvm/Support Allocator.h OnDiskHashTable.h

Report fatal error in the case of out of memory

This is the second part of recommit of r325224. The previous part was
committed in r325426, which deals with C++ memory allocation. Solution
for C memory allocation involved functions `llvm::malloc` and similar.
This was a fragile solution because it caused ambiguity errors in some
cases. In this commit the new functions have names like `llvm::safe_malloc`.

The relevant part of original comment is below, updated for new function
names.

Analysis of fails in the case of out of memory errors can be tricky on
Windows. Such error emerges at the point where memory allocation function
fails, but manifests itself when null pointer is used. These two points
may be distant from each other. Besides, next runs may not exhibit
allocation error.

In some cases memory is allocated by a call to some of C allocation
functions, malloc, calloc and realloc. They are used for interoperability
with C code, when allocated object has variable size and when it is
necessary to avoid call of constructors. In many calls the result is not
checked for null pointer. To simplify checks, new functions are defined
in the namespace 'llvm': `safe_malloc`, `safe_calloc` and `safe_realloc`.
They behave as corresponding standard functions but produce fatal error if
allocation fails. This change replaces the standard functions like 'malloc'

    [7 lines not shown]

FreeBSD — head/sbin/devmatch devmatch.c

More verbose output.
Delta File
+2 -0 head/sbin/devmatch/devmatch.c
+2 -0 1 file

FreeBSD — head/share/man/man9 style.lua.9

style.lua(9): Clarify local variable guideline

The intent of this guideline is to avoid creating global variables in module
scope. Its main purpose is to serve as a reminder that variables at module
scope also need to be declared.

We want to avoid global variables in general, but this is easier to mess up
when designing things in the module scope.
Delta File
+2 -2 head/share/man/man9/style.lua.9
+2 -2 1 file

FreeBSD — head/stand/lua drawer.lua

stand/lua: Insert helpful comment for drawer.branddefs
Delta File
+2 -0 head/stand/lua/drawer.lua
+2 -0 1 file

LLVM — llvm/trunk/lib/Target/AArch64 AArch64InstructionSelector.cpp, llvm/trunk/test/CodeGen/AArch64/GlobalISel fp16-copy-gpr.mir select-insert-extract.mir

[AArch64][GlobalISel] When copying from a gpr32 to an fpr16 reg, convert to fpr32 first.

This is a follow on commit to r[x] where we fix the other direction of copy.
For this case, after converting the source from gpr32 -> fpr32, we use a
subregister copy, which is essentially what EXTRACT_SUBREG does in SDAG land.

https://reviews.llvm.org/D43444

FreeBSD — head/stand/lua drawer.lua

stand/lua: Stick a copyright notice on drawer.lua
Delta File
+1 -0 head/stand/lua/drawer.lua
+1 -0 1 file

FreeBSD — head/stand/lua drawer.lua

stand/lua: Use 'graphic' instead of 'logo' for table depicting graphics

This is a more sensible name that offers less redundancy when referring to
it (vs. logodef.logo). Switch to it while the getting is good.
Delta File
+12 -13 head/stand/lua/drawer.lua
+12 -13 1 file

FreeBSD — head/sys/cddl/contrib/opensolaris/common/nvpair opensolaris_nvpair.c, head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_dir.c zio.c

MFC r316910: 7812 Remove gender specific language

illumos/illumos-gate at 48bbca816818409505a6e214d0911fda44e622e3
https://github.com/illumos/illumos-gate/commit/48bbca816818409505a6e214d0911fda44e622e3

https://www.illumos.org/issues/7812
  This change removes all gendered language that did not refer specifically
  to an individual person or pet. The convention taken was to use
  variations on "they" when referring to users and/or human beings, while
  using "it" when referring to code, functions, and/or libraries.
  Additionally, we took the liberty to fix up any whitespace issues that
  were found in any files that were already being modified.

Reviewed by: Matt Ahrens <mahrens at delphix.com>
Reviewed by: Prakash Surya <prakash.surya at delphix.com>
Reviewed by: Steve Gonczi <steve.gonczi at delphix.com>
Reviewed by: Chris Williamson <chris.williamson at delphix.com>
Reviewed by: George Wilson <george.wilson at delphix.com>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Reviewed by: Dan McDonald <danmcd at omniti.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Richard Lowe <richlowe at richlowe.net>
Author: Daniel Hoffman <dj.hoffman at delphix.com>

FreeBSD — head/stand/lua drawer.lua

stand/lua: Refactor brands into drawer.branddefs
Delta File
+14 -3 head/stand/lua/drawer.lua
+14 -3 1 file

FreeBSD — head/stand/lua drawer.lua

stand/lua: Refactor logos into drawer.logodefs table

This refactor makes it straightforward to add new logos for drawing and
organizes logo definitions in a logical manner.

The graphic to be drawn for each logo may again be modified outside of
drawer, but it must be done on a case-by-case basis as a modification to the
loader_logo.
Delta File
+65 -41 head/stand/lua/drawer.lua
+65 -41 1 file

HardenedBSD — stand/lua drawer.lua

stand/lua: Refactor logos into drawer.logodefs table

This refactor makes it straightforward to add new logos for drawing and
organizes logo definitions in a logical manner.

The graphic to be drawn for each logo may again be modified outside of
drawer, but it must be done on a case-by-case basis as a modification to the
loader_logo.
Delta File
+65 -41 stand/lua/drawer.lua
+65 -41 1 file

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

MFV r307315:
7301 zpool export -f should be able to interrupt file freeing

Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni at nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov at nexenta.com>
Reviewed by: John Kennedy <john.kennedy at delphix.com>
Author: Alek Pinchuk <alek at nexenta.com>

Closes #175

HardenedBSD — sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vfsops.c dmu.c, sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zfs_znode.h

MFV r307315:
7301 zpool export -f should be able to interrupt file freeing

Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni at nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov at nexenta.com>
Reviewed by: John Kennedy <john.kennedy at delphix.com>
Author: Alek Pinchuk <alek at nexenta.com>

Closes #175

FreeBSD Ports — head/net/quagga distinfo Makefile

net/quagga: upgrade 1.2.3 -> 1.2.4, fix ospfd crash

- ospfd crashed in 1.2.3, this update fixes that crash

MFH:                2018Q1
Relnotes:        https://github.com/GNOME/evince/blob/master/NEWS

LLVM — lld/trunk/wasm InputChunks.cpp OutputSections.cpp

Do not create a temporary data structure for relocations.

This patch removes `OutRelocations` vector from the InputChunk and
directly consume `Relocations` vector instead. This should make the linker
faster because we don't create a temporary data structure, and it matches
the lld's design principle that we don't create temporary data structures
for object files but instead directly consume mmap'ed data whenever possible.

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

FreeBSD — head/stand/lua drawer.lua

stand/lua: Reduce exposure of the drawer module

As part of an effort to slowly reduce our exports overall to a set of stable
properties/functions, go ahead and reduce what drawer exposes to others.

The graphics should generally not be modified on their own, but their
position could be modified if additional grahics also need to be drawn.
Export position/shift information, but leave the actual graphic local to
the module.

The next step will be to create a 'menudef' that gets exported instead, with
each entry in the menudef table describing the graphic to be drawn along
with specific positioning information.
Delta File
+32 -27 head/stand/lua/drawer.lua
+32 -27 1 file

HardenedBSD — stand/lua drawer.lua

stand/lua: Reduce exposure of the drawer module

As part of an effort to slowly reduce our exports overall to a set of stable
properties/functions, go ahead and reduce what drawer exposes to others.

The graphics should generally not be modified on their own, but their
position could be modified if additional grahics also need to be drawn.
Export position/shift information, but leave the actual graphic local to
the module.

The next step will be to create a 'menudef' that gets exported instead, with
each entry in the menudef table describing the graphic to be drawn along
with specific positioning information.
Delta File
+32 -27 stand/lua/drawer.lua
+32 -27 1 file

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

MFV r302649: 7016 arc_available_memory is not 32-bit safe

illumos/illumos-gate at 0dd053d7d890618ea1fc697b07de364e69eb4190
https://github.com/illumos/illumos-gate/commit/0dd053d7d890618ea1fc697b07de364e69eb4190

https://www.illumos.org/issues/7016
  upstream DLPX-39446 arc_available_memory is not 32-bit safe
  https://github.com/delphix/delphix-os/commit/
  6b353ea3b8a1610be22e71e657d051743c64190b
  related to this upstream:
  DLPX-38547 delphix engine hang
  https://github.com/delphix/delphix-os/commit/
  3183a567b3e8c62a74a65885ca60c86f3d693783
  DLPX-38547 delphix engine hang (fix static global)
  https://github.com/delphix/delphix-os/commit/
  22ac551d8ef085ad66cc8f65e51ac372b12993b9
  DLPX-38882 system hung waiting on free segment
  https://github.com/delphix/delphix-os/commit/
  cdd6beef7548cd3b12f0fc0328eeb3af540079c2

Reviewed by: Igor Kozhukhov <ikozhukhov at gmail.com>
Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: Paul Dagnelie <pcd at delphix.com>
Reviewed by: George Wilson <george.wilson at delphix.com>
Approved by: Gordon Ross <gordon.ross at nexenta.com>
Author: Prakash Surya <prakash.surya at delphix.com>

HardenedBSD — sys/cddl/contrib/opensolaris/uts/common/fs/zfs arc.c

    MFV r302649: 7016 arc_available_memory is not 32-bit safe
    
    illumos/illumos-gate at 0dd053d7d890618ea1fc697b07de364e69eb4190
    
https://github.com/illumos/illumos-gate/commit/0dd053d7d890618ea1fc697b07de364e69eb4190
    
    https://www.illumos.org/issues/7016
      upstream DLPX-39446 arc_available_memory is not 32-bit safe
      https://github.com/delphix/delphix-os/commit/
      6b353ea3b8a1610be22e71e657d051743c64190b
      related to this upstream:
      DLPX-38547 delphix engine hang
      https://github.com/delphix/delphix-os/commit/
      3183a567b3e8c62a74a65885ca60c86f3d693783
      DLPX-38547 delphix engine hang (fix static global)
      https://github.com/delphix/delphix-os/commit/
      22ac551d8ef085ad66cc8f65e51ac372b12993b9
      DLPX-38882 system hung waiting on free segment
      https://github.com/delphix/delphix-os/commit/
      cdd6beef7548cd3b12f0fc0328eeb3af540079c2
    
    Reviewed by: Igor Kozhukhov <ikozhukhov at gmail.com>
    Reviewed by: Matthew Ahrens <mahrens at delphix.com>
    Reviewed by: Paul Dagnelie <pcd at delphix.com>
    Reviewed by: George Wilson <george.wilson at delphix.com>

    [2 lines not shown]

HardenedBSD — stand/lua drawer.lua

stand/lua: Move drawer.menu_name_handlers further up

As a good candidate for modification, move this table further up in the
module to improve visibility.
Delta File
+18 -18 stand/lua/drawer.lua
+18 -18 1 file

FreeBSD — head/stand/lua drawer.lua

stand/lua: Move drawer.menu_name_handlers further up

As a good candidate for modification, move this table further up in the
module to improve visibility.
Delta File
+18 -18 head/stand/lua/drawer.lua
+18 -18 1 file

HardenedBSD — stand/lua drawer.lua

stand/lua: Add and use drawer.menu_name_handlers

Pull out specialized naming behavior into drawer.menu_name_handlers. This is
currently only needed for the carousel entry, where naming is based on the
current choice and the menu item purposefully does not store this state.

The setup was designed so that every type can have a special name handler,
and the default action is to simply use the result of entry.name().
Delta File
+29 -15 stand/lua/drawer.lua
+29 -15 1 file

FreeBSD — head/stand/lua drawer.lua

stand/lua: Add and use drawer.menu_name_handlers

Pull out specialized naming behavior into drawer.menu_name_handlers. This is
currently only needed for the carousel entry, where naming is based on the
current choice and the menu item purposefully does not store this state.

The setup was designed so that every type can have a special name handler,
and the default action is to simply use the result of entry.name().
Delta File
+29 -15 head/stand/lua/drawer.lua
+29 -15 1 file

LLVM — llvm/trunk/include/llvm/IR IntrinsicsX86.td, llvm/trunk/test/CodeGen/X86 commute-xop.ll

[X86] Mark XOP vpmac* and vpmadc intrinsics as being commutative so that tablegen will 
generate patterns with the load in operand 0.

This allows loads to be folded during isel without the peephole pass.

LLVM — llvm/trunk/lib/Target/X86 X86InstrXOP.td X86InstrInfo.cpp

[X86] Make XOP VPCOM instructions commutable to fold loads during isel.

LLVM — llvm/trunk/lib/Target/X86 X86InstrInfo.cpp X86InstrAVX512.td

[X86] Make a helper function for commuting AVX512 VPCMP immediates since we do it in two 
places.

HardenedBSD — sys/dev/flash at45d.c mx25l.c

Add missing MODULE_DEPENDS().
Delta File
+1 -0 sys/dev/flash/at45d.c
+1 -0 sys/dev/flash/mx25l.c
+2 -0 2 files

FreeBSD — head/sys/dev/flash at45d.c mx25l.c

Add missing MODULE_DEPENDS().

FreeBSD — head/stand/lua menu.lua

stand/lua: Extract menu handlers out into menu.handlers table

This is a bit cleaner than our former method of an if ... else chain of
handlers. Store handlers in the menu.handlers table so that they may be
added to or removed dynamically.

All handlers take the current menu and selected entry as parameters, and
their return value indicates whether the menu processor should continue or
not. An omitted return value or 'true' will indicate that we should
continue, while returning 'false' will indicate that we should exit the
current menu.

The omitted return value behavior is due to continuing the loop being the
more common situation.
Delta File
+43 -24 head/stand/lua/menu.lua
+43 -24 1 file

HardenedBSD — stand/lua menu.lua

stand/lua: Extract menu handlers out into menu.handlers table

This is a bit cleaner than our former method of an if ... else chain of
handlers. Store handlers in the menu.handlers table so that they may be
added to or removed dynamically.

All handlers take the current menu and selected entry as parameters, and
their return value indicates whether the menu processor should continue or
not. An omitted return value or 'true' will indicate that we should
continue, while returning 'false' will indicate that we should exit the
current menu.

The omitted return value behavior is due to continuing the loop being the
more common situation.
Delta File
+43 -24 stand/lua/menu.lua
+43 -24 1 file

FreeBSD Ports — head/graphics/opendx Makefile

- Add MAKE_JOBS_UNSAFE=yes.

PR:                ports/226051
Submitted by:        Don Lewis <truckman at FreeBSD.org>
Delta File
+2 -1 head/graphics/opendx/Makefile
+2 -1 1 file

FreeBSD Ports — head/sysutils/slurm-wlm Makefile, head/sysutils/slurm-wlm/files patch-nokerberos

sysutils/slurm-wlm: Fix WITHOUT_KERBEROS build and configure issue

- Fix build when WITHOUT_KERBEROS is used by patching files to remove
  '#include <roken.h>'. [1]
- Fix configure when PREFIX is set to something other than /usr/local. The
  check for man2html is hard-coded to search /usr/bin and
  /usr/local/bin. [2]

PR:                225989
Submitted by:        tijl [1] jwb [2]

LLVM — cfe/trunk/lib/Sema AnalysisBasedWarnings.cpp, cfe/trunk/test/SemaCXX warn-throw-out-noexcept-func.cpp

Fix some -Wexceptions false positives.

Reimplement the "noexcept function actually throws" warning to properly handle
nested try-blocks. In passing, change 'throw;' handling to treat any enclosing
try block as being sufficient to suppress the warning rather than requiring a
'catch (...)'; the warning is intended to be conservatively-correct.

FreeBSD — user/jeff/numa/sys/kern vfs_bio.c, user/jeff/numa/sys/sys buf.h

Catch up with the version in head.

FreeBSD — user/jeff/numa/sys/conf files

Add PID controller to the build
Delta File
+1 -0 user/jeff/numa/sys/conf/files
+1 -0 1 file

FreeBSD — user/jeff/numa/sys/kern subr_pidctrl.c, user/jeff/numa/sys/sys pidctrl.h

PID Controlled page daemon

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

HardenedBSD — sys/kern kern_exit.c kern_fork.c

Reduce contention on the proctree lock during heavy package build.

There is a proctree -> allproc ordering established.

Most of the time it is either xlock -> xlock or slock -> slock.

On fork however there is a slock -> xlock pair which results in
pathological wait times due to threads keeping proctree held for
reading and all waiting on allproc. Switch this to xlock -> xlock.
Longer term fix would get rid of proctree in this place to begin with.
Right now it is necessary to walk the session/process group lists to
determine which id is free. The walk can be avoided e.g. with bitmaps.

The exit path used to have one place which dealt with allproc and
then with proctree. Move the allproc acquire into the section protected
by proctree. This reduces contention against threads waiting on proctree
in the fork codepath - the fork proctree holder does not have to wait
for allproc as often.

Finally, move tidhash manipulation outside of the area protected by
either of these locks. The removal from the hash was already unprotected.
There is no legitimate reason to look up thread ids for a process still
under construction.

This results in about 50% wait time reduction during -j 128 package build.
Delta File
+11 -11 sys/kern/kern_exit.c
+6 -5 sys/kern/kern_fork.c
+17 -16 2 files

FreeBSD — head/sys/kern kern_exit.c kern_fork.c

Reduce contention on the proctree lock during heavy package build.

There is a proctree -> allproc ordering established.

Most of the time it is either xlock -> xlock or slock -> slock.

On fork however there is a slock -> xlock pair which results in
pathological wait times due to threads keeping proctree held for
reading and all waiting on allproc. Switch this to xlock -> xlock.
Longer term fix would get rid of proctree in this place to begin with.
Right now it is necessary to walk the session/process group lists to
determine which id is free. The walk can be avoided e.g. with bitmaps.

The exit path used to have one place which dealt with allproc and
then with proctree. Move the allproc acquire into the section protected
by proctree. This reduces contention against threads waiting on proctree
in the fork codepath - the fork proctree holder does not have to wait
for allproc as often.

Finally, move tidhash manipulation outside of the area protected by
either of these locks. The removal from the hash was already unprotected.
There is no legitimate reason to look up thread ids for a process still
under construction.

This results in about 50% wait time reduction during -j 128 package build.

LLVM — cfe/trunk/include/clang/Sema CodeCompleteConsumer.h AttributeList.h, cfe/trunk/lib/Sema CodeCompleteConsumer.cpp AttributeList.cpp

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

FreeBSD — head/stand/lua core.lua

stand/lua: Don't set ACPI off just because we can't detect it.

This should unbreak EFI/!i386 cases.

Reported by:        Peter Lei <peter.lei at ieee.org>
Delta File
+7 -1 head/stand/lua/core.lua
+7 -1 1 file

HardenedBSD — stand/lua core.lua

stand/lua: Don't set ACPI off just because we can't detect it.

This should unbreak EFI/!i386 cases.

Reported by:        Peter Lei <peter.lei at ieee.org>
Delta File
+7 -1 stand/lua/core.lua
+7 -1 1 file

NetBSD — sys/dev/isa wbsio.c

Handle watchdog attachment in the wbsio_rescan() function, where we
take care of other children.

ok knakahara@ and yamaguchi@
Delta File
+6 -4 sys/dev/isa/wbsio.c
+6 -4 1 file

NAS4Free — trunk/www/js jquery.tablesorter.min.js jquery.tablesorter.widgets.min.js

tablesorter update to v2.29.5