HardenedBSD/hardenedbsd a906febsys/vm vm_unix.c

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-5sys/vm/vm_unix.c
+0-51 files

HardenedBSD/hardenedbsd 887d9e4lib/libcasper/services/cap_sysctl cap_sysctl.c cap_sysctl.3, lib/libcasper/services/cap_sysctl/tests sysctl_test.c

Merge remote-tracking branch 'origin/freebsd/current/master' into hardened/current/master

Conflicts:
        sys/vm/vm_unix.c (unresolved)

LLVM/llvm 363514llvm/trunk/lib/Target/AMDGPU SIISelLowering.cpp SMInstructions.td, llvm/trunk/test/CodeGen/AMDGPU smrd.ll smrd-gfx10.ll

AMDGPU/GFX10: Support DLC bit in llvm.amdgcn.s.buffer.load intrinsic

Summary: Change-Id: Ie4c971462a7749740938c687144e77441dac2539

Reviewers: rampitec, arsenm

Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Tags: #llvm

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

Change-Id: Iae59523edd75c74918d2118df6571a7b671717a0

LLVM/llvm 363513llvm/trunk/lib/Target/AMDGPU SIInstrInfo.cpp SIISelLowering.cpp, llvm/trunk/test/CodeGen/AMDGPU mubuf-legalize-operands.mir

[AMDGPU] gfx10 conditional registers handling

This is cpp source part of wave32 support, excluding overriden
getRegClass().

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

NetBSD/pkgsrc BtevOW3doc CHANGES-2019

   doc: Updated net/ruby-tw to 1.3.1
VersionDeltaFile
1.2550+2-1doc/CHANGES-2019
+2-11 files

FreeBSD/ports 504357head/security/vuxml vuln.xml

Add an entry for netatalk3.

Document the netatalk3 remote code execution vulnerability fixed in 3.1.12.

PR:            238573

NetBSD/pkgsrc 6o3FGcgnet/ruby-tw distinfo Makefile

   ruby-tw: update to 1.3.1.

   Upstream changes (from History.txt):

   === 1.3.1 2019-04-15

   * use https (#79)
   * thank you for contributing @sachin21
VersionDeltaFile
1.15+5-5net/ruby-tw/distinfo
1.23+3-4net/ruby-tw/Makefile
+8-92 files

FreeBSD/ports 504356head/devel/py-google-i18n-address distinfo Makefile

Update to 2.3.5.

FreeBSD/src 349117head/sys/arm64/arm64 pmap.c

Three enhancements to arm64's pmap_protect():

Implement protection changes on superpage mappings.  Previously, a superpage
mapping was unconditionally demoted by pmap_protect(), even if the
protection change applied to the entire superpage mapping.

Precompute the bit mask describing the protection changes rather than
recomputing it for every page table entry that is changed.

Skip page table entries that already have the requested protection changes
in place.

Reviewed by:    andrew, kib
MFC after:      10 days
Differential Revision:  https://reviews.freebsd.org/D20657

NetBSD/pkgsrc VJZLFSvdoc CHANGES-2019

   doc: Updated net/mikutter to 3.9.0alpha1
VersionDeltaFile
1.2549+2-1doc/CHANGES-2019
+2-11 files

NetBSD/pkgsrc 3LLUHRvnet/mikutter/patches patch-core_plugin_twitter_twitter.rb patch-core_plugin_libnotify_rnotify.rb

   mikutter: update to 3.9.0-alpha1.

   pkgsrc changes:
   - remove patch for totoridipjp (removed in upstream too)
   - remove patch for upstream ticket #1323 (integrated in 3.9)

   Upstream changes (from "new features of mikutter 3.9"):

   * Mastodon plugin
   * Support for UI scaling
   * World account can be assigned to shortcut key
   * Reorder World accounts
   * Non-PNG image support for Skin
   * Generic Model viewer
   * Quick Step
   * PulseAudio
   * Reorgenize gem dependencies

NetBSD/pkgsrc bhSZ7Mcnet/mikutter PLIST Makefile

   mikutter: update to 3.9.0-alpha1.

   pkgsrc changes:
   - remove patch for totoridipjp (removed in upstream too)
   - remove patch for upstream ticket #1323 (integrated in 3.9)

   Upstream changes (from "new features of mikutter 3.9"):

   * Mastodon plugin
   * Support for UI scaling
   * World account can be assigned to shortcut key
   * Reorder World accounts
   * Non-PNG image support for Skin
   * Generic Model viewer
   * Quick Step
   * PulseAudio
   * Reorgenize gem dependencies
VersionDeltaFile
1.46+45-21net/mikutter/PLIST
1.175+12-13net/mikutter/Makefile
1.159+5-9net/mikutter/distinfo
+62-433 files

FreeBSD/ports 504355head/math/timbl Makefile, head/textproc/libfolia Makefile

Now that devel/openmp has been enabled on powerpc64, fix these newly
unblocked ports on GCC-based systems:

  cc1plus: error: unrecognized command line option "-std=c++11"

Approved by:    portmgr (tier-2 blanket)

NetBSD/pkgsrc 5UKXR4Gdoc CHANGES-2019

   doc: Updated net/ruby-twitter-text to 3.0.0
VersionDeltaFile
1.2548+2-1doc/CHANGES-2019
+2-11 files

NetBSD/pkgsrc vSLWzjenet/ruby-twitter-text distinfo PLIST

   ruby-twitter-text: update to 3.0.0.

   Upstream pull request log:
   https://github.com/twitter/twitter-text/pull/265

   * New v3.json config file with emojiParsingEnabled config option. When
     true, twitter-text will parse and discount emoji supported by the
     twemoji library (see https://github.com/twitter/twemoji). The length
     of these emoji will be the default weight (200 or two characters) even
     if they contain multiple code points combined by zero-width
     joiners. This means that emoji with skin tone and gender modifiers no
     longer count as more characters than those without such modifiers.
     All 4 implementations updated to reflect this change in counting.
   * Updates known gTLDs to recognize recent additions by IANA (#261)

FreeBSD/ports 504354head/www/pmwiki distinfo Makefile

Update to 2.2.115

Changelog:
 - Responsive skin: Simplify CSS for custom backgrounds, remove repetition.
 - Update documentation.

Sponsored by:   Netzkommune GmbH

NetBSD/pkgsrc gA95AKxdoc CHANGES-2019

   doc: Updated net/ruby-pluggaloid to 1.2.0
VersionDeltaFile
1.2547+2-1doc/CHANGES-2019
+2-11 files

NetBSD/pkgsrc 1TNlhG7net/ruby-pluggaloid distinfo Makefile

   ruby-pluggaloid: update to 1.2.0.

   No upstream changelog.

NetBSD/pkgsrc XaL8T3Qdoc CHANGES-2019

   doc: Updated devel/ruby-diva to 1.0.0
VersionDeltaFile
1.2546+2-1doc/CHANGES-2019
+2-11 files

NetBSD/pkgsrc zp9frBbdevel/ruby-diva distinfo Makefile

   ruby-diva: update to 1.0.0.

   No upstream changelog.

NetBSD/pkgsrc 81ErKXtdoc CHANGES-2019

   doc: Updated devel/ruby-delayer-deferred to 2.1.0
VersionDeltaFile
1.2545+2-1doc/CHANGES-2019
+2-11 files

NetBSD/pkgsrc qiMplh1devel/ruby-delayer-deferred distinfo Makefile

   ruby-delayer-deferred: update to 2.1.0.

   No upstream changelog.

NetBSD/pkgsrc NMKt4l3doc CHANGES-2019

   doc: Updated devel/ruby-delayer to 1.0.0
VersionDeltaFile
1.2544+2-1doc/CHANGES-2019
+2-11 files

FreeBSD/ports 504353head/comms/geoid Makefile, head/devel/py-game Makefile

Clean up LIB_DEPENDS

NetBSD/pkgsrc Hxf9PrQdevel/ruby-delayer distinfo Makefile

   ruby-delayer: update to 1.0.0.

   No upstream changelog.

FreeBSD/src 349116head/sys/arm/ti ti_i2c.c

In detach(), call bus_generic_detach() before deleting the iicbus child.
This gives the bus and its children the chance to return EBUSY to abort
the detach if they're in the middle of doing some IO.

NetBSD/pkgsrc MT5lfuQdoc CHANGES-2019

   doc: Updated net/ruby-addressable to 2.6.0
VersionDeltaFile
1.2543+2-1doc/CHANGES-2019
+2-11 files

NetBSD/src yJkRbJ9common/include/rpc types.h xdr.h, common/lib/libc/rpc xdr.c xdr_array.c

   get rid of caddr_t

NetBSD/pkgsrc yVF5FQEnet/ruby-addressable distinfo Makefile

   ruby-addressable: update to 2.6.0.

   Upstream changes (from CHANGELOG.md):

   # Addressable 2.6.0
   - added `tld=` method to allow assignment to the public suffix
   - most `heuristic_parse` patterns are now case-insensitive
   - `heuristic_parse` handles more `file://` URI variations
   - fixes bug in `heuristic_parse` when uri starts with digit
   - fixes bug in `request_uri=` with query strings
   - fixes template issues with `nil` and `?` operator
   - `frozen_string_literal` pragmas added
   - minor performance improvements in regexps
   - fixes to eliminate warnings

FreeBSD/src 349115head/sys/arm/allwinner aw_pwm.c, head/sys/dev/pwm ofw_pwm.h pwmbus.h

Rename pwmbus.h to ofw_pwm.h, because after all the recent changes, there
is nothing left in the file that related to pwmbus at all.  It just contains
prototypes for the functions implemented in dev/pwm.ofw_pwm.c, so name it
accordingly and fix the include protect wrappers to match.

A new pwmbus.h will be coming along in a future commit.

LLVM/llvm 363512cfe/trunk/lib/StaticAnalyzer/Core BugReporterVisitors.cpp, cfe/trunk/test/Analysis/diagnostics track_subexpressions.cpp

[analyzer] Push correct version of 'Track indices of arrays'

Messed up the commit, oops.

FreeBSD/ports 504352head/net-mgmt/py-prometheus-client distinfo Makefile

net-mgmt/py-prometheus-client: Update to 0.7.0

Sponsored by:   Berlin Devsummit 2019

FreeBSD/ports 504351head/shells Makefile yash, head/shells/yash pkg-plist Makefile

New port: shells/yash

Yash, yet another shell, is a POSIX-compliant command line shell.
Yash is intended to be the most POSIX-compliant shell in the world
while supporting features for daily interactive and scripting use.
Notable features are:
* Global aliases
* Arrays
* Socket redirection, pipeline redirection, and process redirection
* Brace expansion and extended globbing
* Fractional numbers in arithmetic expansion
* Prompt command and command-not-found handler
* Command line completion with predefined completion scripts for more
  than 100 commands
* Command line prediction based on command history

WWW: https://yash.osdn.jp/index.html.en

FreeBSD/src 349114stable 12, stable/12/sys/net mp_ring.c

MFC: r347390

- Merge r338254 from cxgbe(4):
  Use fcmpset instead of cmpset when appropriate.
- Revert r277226 of cxgbe(4), obsolete since r334320.

HardenedBSD/hardenedbsd e614429sys/dev/e1000 if_em.c

MFC: r347222

o Avoid determining the MAC class (LEM/EM or IGB) - possibly even multiple
  times - on every interrupt by using an own set of device methods for the
  IGB class. This translates to introducing igb_if_intr_{disable,enable}()
  and igb_if_{rx,tx}_queue_intr_enable() with that IGB-specific code moved
  out of their EM counterparts and otherwise continuing to use the EM IFDI
  methods also for IGB.
  Note that igb_if_intr_{disable,enable}() also issue E1000_WRITE_FLUSH as
  lost with the conversion of igb(4) to iflib(4).
  Also note, that the em_if_{disable,enable}_intr() methods are renamed to
  em_if_intr_{disable,enable}() for consistency with the names used in the
  interface declaration.
o In em_intr():
  - Don't bother to bail out if the interrupt type is "legacy", i. e. INTx
    or MSI, as iflib(4) doesn't use ift_legacy_intr methods for MSI-X. All
    other iflib(4)-based drivers avoid this check, too.
  - Given that only the MSI-X interrupts have one-shot behavior (by taking
    advantage of the EIAC register), explicitly disable interrupts. Hence,
    em_intr() now matches what {em,igb}_irq_fast() previously did (in case
    of igb(4) supposedly also to work around MSI message reordering errata
    on certain systems).
o In em_if_intr_disable():
  - Clear the EIAC register unconditionally for 82574 and not just in case
    of MSI-X, matching em_if_intr_enable() and bringing back the last hunk

    [6 lines not shown]
DeltaFile
+112-59sys/dev/e1000/if_em.c
+112-591 files

FreeBSD/src 349113stable 12, stable/12/sys/dev/e1000 if_em.c

MFC: r347222

o Avoid determining the MAC class (LEM/EM or IGB) - possibly even multiple
  times - on every interrupt by using an own set of device methods for the
  IGB class. This translates to introducing igb_if_intr_{disable,enable}()
  and igb_if_{rx,tx}_queue_intr_enable() with that IGB-specific code moved
  out of their EM counterparts and otherwise continuing to use the EM IFDI
  methods also for IGB.
  Note that igb_if_intr_{disable,enable}() also issue E1000_WRITE_FLUSH as
  lost with the conversion of igb(4) to iflib(4).
  Also note, that the em_if_{disable,enable}_intr() methods are renamed to
  em_if_intr_{disable,enable}() for consistency with the names used in the
  interface declaration.
o In em_intr():
  - Don't bother to bail out if the interrupt type is "legacy", i. e. INTx
    or MSI, as iflib(4) doesn't use ift_legacy_intr methods for MSI-X. All
    other iflib(4)-based drivers avoid this check, too.
  - Given that only the MSI-X interrupts have one-shot behavior (by taking
    advantage of the EIAC register), explicitly disable interrupts. Hence,
    em_intr() now matches what {em,igb}_irq_fast() previously did (in case
    of igb(4) supposedly also to work around MSI message reordering errata
    on certain systems).
o In em_if_intr_disable():
  - Clear the EIAC register unconditionally for 82574 and not just in case
    of MSI-X, matching em_if_intr_enable() and bringing back the last hunk

    [6 lines not shown]

LLVM/llvm 363511llvm/trunk/lib/CodeGen CodeGenPrepare.cpp, llvm/trunk/test/CodeGen/X86 vector-shift-by-select-loop.ll vector-shift-lshr-128.ll

[CodeGenPrepare][x86] shift both sides of a vector select when profitable

This is based on the example/discussion in PR37428:
https://bugs.llvm.org/show_bug.cgi?id=37428

Proper vector shift instructions don't appear until AVX2, so we may generate several
extra instructions within a loop trying to compensate for that. It's difficult to
recover from that shift expansion later than this, so use the existing TLI hook and
splat analysis to enable better codegen.

This extends CGP functionality introduced with:
rL201655

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

NetBSD/pkgsrc tWl0ZVxdevel/glib2 Makefile distinfo, devel/glib2/patches patch-glib_meson.build patch-gio_meson.build

   glib2: Use PKGCONFIG_OVERRIDE instead of patching meson.build-s

   meson `pkgconfig' module generate pkg-config files during the configure
   phase and PKGCONFIG_OVERRIDE can be used in post-configure stage to
   avoid directly patching meson.build files.

   Discussed with <ryoon>, thanks!

HardenedBSD/hardenedbsd 96d510esys/net iflib.c

MFC: r347221, r347245

o Use iflib_fast_intr_rxtx() also for "legacy" interrupts, i. e. INTx and
  MSI. Unlike as with iflib_fast_intr_ctx(), the former will also enqueue
  _task_fn_tx() in addition to _task_fn_rx() if appropriate, bringing TCP
  TX throughput of EM-class devices on par with the MSI-X case and, thus,
  close to wirespeed/pre-iflib(4) times again. [1]
  Note that independently of the interrupt type, the UDP performance with
  these MACs still is abysmal and nowhere near to where it was before the
  conversion of em(4) to iflib(4).
o In iflib_init_locked(), announce which free list failed to set up.
o In _task_fn_tx() when running netmap(4), issue ifdi_intr_enable instead
  of the ifdi_tx_queue_intr_enable method in case of a "legacy" interrupt
  as the latter is valid with MSI-X only.
o Instead of adding the missing - and apparently convoluted enough that a
  DBG_COUNTER_INC was put into a wrong spot in _task_fn_rx() - checks for
  ifdi_{r,t}x_queue_intr_enable being available in the MSI-X case also to
  iflib_fast_intr_rxtx(), factor these out to iflib_device_register() and
  make the checks fail gracefully rather than panic. This avoids invoking
  the checks at runtime over and over again in iflib_fast_intr_rxtx() and
  _task_fn_{r,t}x() - even if it's just in case of INVARIANTS - and makes
  these functions more readable.
o In iflib_rx_structures_setup(), only initialize LRO resources if device
  and driver have LRO capability in order to not waste memory. Also, free
  the LRO resources again if setting them up fails for one of the queues.

    [29 lines not shown]
DeltaFile
+136-62sys/net/iflib.c
+136-621 files

FreeBSD/src 349112stable 12, stable/12/sys/net iflib.c

MFC: r347221, r347245

o Use iflib_fast_intr_rxtx() also for "legacy" interrupts, i. e. INTx and
  MSI. Unlike as with iflib_fast_intr_ctx(), the former will also enqueue
  _task_fn_tx() in addition to _task_fn_rx() if appropriate, bringing TCP
  TX throughput of EM-class devices on par with the MSI-X case and, thus,
  close to wirespeed/pre-iflib(4) times again. [1]
  Note that independently of the interrupt type, the UDP performance with
  these MACs still is abysmal and nowhere near to where it was before the
  conversion of em(4) to iflib(4).
o In iflib_init_locked(), announce which free list failed to set up.
o In _task_fn_tx() when running netmap(4), issue ifdi_intr_enable instead
  of the ifdi_tx_queue_intr_enable method in case of a "legacy" interrupt
  as the latter is valid with MSI-X only.
o Instead of adding the missing - and apparently convoluted enough that a
  DBG_COUNTER_INC was put into a wrong spot in _task_fn_rx() - checks for
  ifdi_{r,t}x_queue_intr_enable being available in the MSI-X case also to
  iflib_fast_intr_rxtx(), factor these out to iflib_device_register() and
  make the checks fail gracefully rather than panic. This avoids invoking
  the checks at runtime over and over again in iflib_fast_intr_rxtx() and
  _task_fn_{r,t}x() - even if it's just in case of INVARIANTS - and makes
  these functions more readable.
o In iflib_rx_structures_setup(), only initialize LRO resources if device
  and driver have LRO capability in order to not waste memory. Also, free
  the LRO resources again if setting them up fails for one of the queues.

    [29 lines not shown]

NetBSD/src NvPJm86sys/arch/aarch64/include armreg.h

   Provide icc_pmr_read
VersionDeltaFile
1.25+2-1sys/arch/aarch64/include/armreg.h
+2-11 files

OpenBSD/ports mKnVGKlgraphics/digikam Makefile, graphics/digikam/patches patch-core_showfoto_CMakeLists_txt patch-core_CMakeLists_txt

   Unbreak build with upcoming ninja 1.9.0.

   Generate Info.plist only one time and create a cmake dependency. Fixes a
   problem in combination with Ninja v1.9.0 because of duplicate rules for
   generating Info.plist.

   Spotted by naddy@ Thanks

FreeBSD/src 349111head/usr.bin/vtfontcvt vtfontcvt.c

vtfontcvt: correct typo in hex parsing update

PR:            205707
Submitted by:   Dmitry Wagin
MFC with:       349100
Event:         Berlin Devsummit 2019

HardenedBSD/hardenedbsd 6a217c5sys/net iflib.c iflib_clone.c

MFC: r347211

- Remove the unused ifc_link_irq and ifc_mtx_name members of struct iflib_ctx.
- Remove the only ever written to ift_db_mtx_name member of struct iflib_txq.
- Remove the unused or only ever written to ifr_size, ifr_cq_pidx, ifr_cq_gen
  and ifr_lro_enabled members of struct iflib_rxq.
- Consistently spell DMA, RX and TX uppercase in comments, messages etc.
  instead of mixing with some lowercase variants.
- Consistently use if_t instead of a mix of if_t and struct ifnet pointers.
- Bring the function comments of _iflib_fl_refill(), iflib_rx_sds_free() and
  iflib_fl_setup() in line with reality.
- Judging problem reports, people are wondering what on earth messages like:
  "TX(0) desc avail = 1024, pidx = 0"
  are trying to indicate. Thus, extend this string to be more like that of
  non-iflib(4) Ethernet MAC drivers, notifying about a watchdog timeout due
  to which the interface will be reset.
- Take advantage of the M_HAS_VLANTAG macro.
- Use false/true rather than FALSE/TRUE for variables of type bool.
- Use FALLTHROUGH as advocated by style(9).

FreeBSD/src 349110stable 12, stable/12/sys/net iflib.c iflib_clone.c

MFC: r347211

- Remove the unused ifc_link_irq and ifc_mtx_name members of struct iflib_ctx.
- Remove the only ever written to ift_db_mtx_name member of struct iflib_txq.
- Remove the unused or only ever written to ifr_size, ifr_cq_pidx, ifr_cq_gen
  and ifr_lro_enabled members of struct iflib_rxq.
- Consistently spell DMA, RX and TX uppercase in comments, messages etc.
  instead of mixing with some lowercase variants.
- Consistently use if_t instead of a mix of if_t and struct ifnet pointers.
- Bring the function comments of _iflib_fl_refill(), iflib_rx_sds_free() and
  iflib_fl_setup() in line with reality.
- Judging problem reports, people are wondering what on earth messages like:
  "TX(0) desc avail = 1024, pidx = 0"
  are trying to indicate. Thus, extend this string to be more like that of
  non-iflib(4) Ethernet MAC drivers, notifying about a watchdog timeout due
  to which the interface will be reset.
- Take advantage of the M_HAS_VLANTAG macro.
- Use false/true rather than FALSE/TRUE for variables of type bool.
- Use FALLTHROUGH as advocated by style(9).

FreeBSD/ports 504350head/devel/openmp Makefile

Enable build on powerpc64.  (It has been tested to build correctly.)

Right now powerpc* are still GCC-based, so openmp functionality is
still not in the base system by default.

Looking at the errorlog results might cause you to think this change
would unblock 308 builds, in reality, all but 28 of them are otherwise
blocked on lang/R, where powerpc64 is not in ONLY_FOR_ARCHS.

Approved by:    portmgr (tier-2 blanket)

FreeBSD/ports 504349head/games/aquaria Makefile, head/games/aquaria/files patch-ExternalLibs_ttvfs_VFSTools.cpp

games/aquaria: include dirent.h instead of sys/dir.h which is scheduled for removal.

While here modernize USES

PR:            238616
Approved by:    maintainer (jbeich)
Event:         Berlin Hackathon 2019

FreeNAS/freenas 92e0b2esrc/middlewared/middlewared/plugins service.py

Do not report unsuccessful exit status for status rc commands

HardenedBSD/hardenedbsd 2b54eafsys/kern subr_gtaskqueue.c, sys/net iflib.c

MFC: r344062 (partial)

- For diff reduction, bring in as much of the taskqgroup_attach{,_cpu}(9)
  fix from r344062 as possible without breaking KBI, which in turn means
  that these functions still don't properly work across architectures in
  stable/12 (in theory, compat shims should be possible but result in a
  PITA to maintain). However, e. g. the static iflib_irq_set_affinity()
  now also takes the irq as an if_irq_t instead of an int.
- Move the gtaskqueue_enqueue_fn typedef from <sys/gtaskqueue.h> to
  the gtaskqueue implementation as it's only used and needed there.
- Change the GTASK_INIT macro to use "gtask" rather than "task" as
  argument given that it actually operates on a struct gtask rather
  than a struct task.
- Let subr_gtaskqueue.c consistently use __func__ to print functions
  names.

FreeBSD/src 349109stable 12, stable/12/sys/kern subr_gtaskqueue.c

MFC: r344062 (partial)

- For diff reduction, bring in as much of the taskqgroup_attach{,_cpu}(9)
  fix from r344062 as possible without breaking KBI, which in turn means
  that these functions still don't properly work across architectures in
  stable/12 (in theory, compat shims should be possible but result in a
  PITA to maintain). However, e. g. the static iflib_irq_set_affinity()
  now also takes the irq as an if_irq_t instead of an int.
- Move the gtaskqueue_enqueue_fn typedef from <sys/gtaskqueue.h> to
  the gtaskqueue implementation as it's only used and needed there.
- Change the GTASK_INIT macro to use "gtask" rather than "task" as
  argument given that it actually operates on a struct gtask rather
  than a struct task.
- Let subr_gtaskqueue.c consistently use __func__ to print functions
  names.