]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
5 years agoMFC r339793:
Mark Johnston [Sat, 10 Nov 2018 20:34:59 +0000 (20:34 +0000)]
MFC r339793:
Don't set NFSv4 ACL inheritance flags on non-directories.

PR: 155163
Approved by: re (gjb)

5 years agoMFC r340212:
Hans Petter Selasky [Sat, 10 Nov 2018 10:30:01 +0000 (10:30 +0000)]
MFC r340212:
Sometimes the complete split packet may be queued too early and the
transaction translator will return a NAK. Ignore this message and
retry the complete split instead.

Approved by: re (kib)
Sponsored by: Mellanox Technologies

5 years agoMFC r340089:
Hans Petter Selasky [Fri, 9 Nov 2018 09:26:10 +0000 (09:26 +0000)]
MFC r340089:
Use correct type for IOCTL request argument.
This fixes signed IOCTL value warnings in uhsoctl().

Approved by: re (kib)
Submitted by: Marcin Cieslak <saper@saper.info>
Sponsored by: Mellanox Technologies

5 years agoMFC r340100:
Andrey V. Elsukov [Fri, 9 Nov 2018 08:14:47 +0000 (08:14 +0000)]
MFC r340100:
  Do not use bzero() for the O_ICMP6TYPE opcode.

  The buffer is already zeroed in compile_rule() function, and also it
  may contain configured F_NOT flag in o.len field. This fixes the
  filling for "not icmp6types" opcode.

MFC r340175:
  Do not print "ip6" keyword in print_icmp6types() for O_ICMP6TYPE opcode.

  It produces incompatibility when rules listing is used again to
  restore saved ruleset, because "ip6" keyword produces separate opcode.
  The kernel already has the check and only IPv6 packets will be checked
  for matching.

PR: 232939
Approved by: re (kib)

5 years agoUpdate stable/12 from BETA3 to BETA4 as part of the 12.0-RELEASE
Glen Barber [Fri, 9 Nov 2018 00:01:53 +0000 (00:01 +0000)]
Update stable/12 from BETA3 to BETA4 as part of the 12.0-RELEASE
cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

5 years agoMFC 340164,340168,340170: Add custom cpu_lock_delay() for x86.
John Baldwin [Thu, 8 Nov 2018 22:39:38 +0000 (22:39 +0000)]
MFC 340164,340168,340170: Add custom cpu_lock_delay() for x86.

340164:
Add a KPI for the delay while spinning on a spin lock.

Replace a call to DELAY(1) with a new cpu_lock_delay() KPI.  Currently
cpu_lock_delay() is defined to DELAY(1) on all platforms.  However,
platforms with a DELAY() implementation that uses spin locks should
implement a custom cpu_lock_delay() doesn't use locks.

340168:
Add a delay_tsc() static function for when DELAY() uses the TSC.

This uses slightly simpler logic than the existing code by using the
full 64-bit counter and thus not having to worry about counter
overflow.

340170:
Add a custom implementation of cpu_lock_delay() for x86.

Avoid using DELAY() since it can try to use spin locks on CPUs without
a P-state invariant TSC.  For cpu_lock_delay(), always use the TSC if
it exists (even if it is not P-state invariant) to delay for a
microsecond.  If the TSC does not exist, read from I/O port 0x84 to
delay instead.

PR: 228768
Approved by: re (gjb)

5 years agoMFC r340260 (emaste):
Glen Barber [Thu, 8 Nov 2018 21:58:23 +0000 (21:58 +0000)]
MFC r340260 (emaste):
 Avoid buffer underwrite in icmp_error

 icmp_error allocates either an mbuf (with pkthdr) or a cluster depending
 on the size of data to be quoted in the ICMP reply, but the calculation
 failed to account for the additional padding that m_align may apply.

 Include the ip header in the size passed to m_align.  On 64-bit archs
 this will have the net effect of moving everything 4 bytes later in the
 mbuf or cluster.  This will result in slightly pessimal alignment for
 the ICMP data copy.

 Also add an assertion that we do not move m_data before the beginning of
 the mbuf or cluster.

Approved by: re (kib)
Security: CVE-2018-17156
Sponsored by: The FreeBSD Foundation

5 years agoMFC r340256: ixl/iavf(4): Fix TSO offloads when TXCSUM is disabled
Eric Joyner [Thu, 8 Nov 2018 21:36:45 +0000 (21:36 +0000)]
MFC r340256: ixl/iavf(4): Fix TSO offloads when TXCSUM is disabled

Approved by: re (gjb@)

5 years agoMFC r340181, r340185:
Tijl Coosemans [Thu, 8 Nov 2018 19:56:29 +0000 (19:56 +0000)]
MFC r340181, r340185:

On amd64 both Linux compat modules, linux.ko and linux64.ko, provide
linux_ioctl_(un)register_handler that allows other driver modules to
register ioctl handlers.  The ioctl syscall implementation in each Linux
compat module iterates over the list of handlers and forwards the call to
the appropriate driver.  Because the registration functions have the same
name in each module it is not possible for a driver to support both 32 and
64 bit linux compatibility.

Move the list of ioctl handlers to linux_common.ko so it is shared by
both Linux modules and all drivers receive both 32 and 64 bit ioctl calls
with one registration.  These ioctl handlers normally forward the call
to the FreeBSD ioctl handler which can handle both 32 and 64 bit.

Keep the special COMPAT_LINUX32 ioctl handlers in linux.ko in a separate
list for now and let the ioctl syscall iterate over that list first.
Later, COMPAT_LINUX32 support can be added to the 64 bit ioctl handlers
via a runtime check for ILP32 like is done for COMPAT_FREEBSD32 and then
this separate list would disappear again.  That is a much bigger effort
however and this commit is meant to be MFCable.

This enables linux64 support in x11/nvidia-driver*.

PR: 206711
Reviewed by: kib
Approved by: re (gjb)

5 years agoMFC r340155: Assert locks held for async events.
Warner Losh [Thu, 8 Nov 2018 14:21:25 +0000 (14:21 +0000)]
MFC r340155: Assert locks held for async events.

Approved by: re@ (gjb)

5 years agoMFC r340040, r340152: lualoader boot-conf and chainload
Kyle Evans [Thu, 8 Nov 2018 03:25:18 +0000 (03:25 +0000)]
MFC r340040, r340152: lualoader boot-conf and chainload

r340040:
lualoader: Implement boot-conf

r340152:
lualoader: Add chainload menu entry

Approved by: re (rgrimes)

5 years agoMFC r340146: Move pmc* bits behind MK_PMC to fix WITHOUT_PMC build
Kyle Evans [Thu, 8 Nov 2018 03:24:24 +0000 (03:24 +0000)]
MFC r340146: Move pmc* bits behind MK_PMC to fix WITHOUT_PMC build

Approved by: re (rgrimes)

5 years agoMFC r339892:
Konstantin Belousov [Wed, 7 Nov 2018 18:29:54 +0000 (18:29 +0000)]
MFC r339892:
Clarify explanation of VFCF_SBDRY.

Approved by: re (gjb)

5 years agoMFC r339896:
Konstantin Belousov [Wed, 7 Nov 2018 18:07:29 +0000 (18:07 +0000)]
MFC r339896:
Initialize ifunc calling machinery earlier.

Approved by: re (gjb)

5 years agoMFC r340137: rtld: move relro enforcement after ifunc processing
Ed Maste [Wed, 7 Nov 2018 18:04:19 +0000 (18:04 +0000)]
MFC r340137: rtld: move relro enforcement after ifunc processing

Previously the combination of relro (implicit), -z now and ifunc use
resulted in a segfault when applying ifuncs after relro (test binary
here just calls amd64_get_fsbase()):

| % env LD_DEBUG=1 libexec/rtld-elf/obj/ld-elf.so.1 a.out
| ...
| enforcing main obj relro
| ...
| resolving ifuncs
| reloc_jmpslot: *0x203198 = 0x189368ea4570
| zsh: bus error (core dumped)  LD_DEBUG=1 obj/ld-elf.so.1 ~/a.out

Approved by: re (gjb)

5 years agoMFC r339979:
Konstantin Belousov [Wed, 7 Nov 2018 17:44:27 +0000 (17:44 +0000)]
MFC r339979:
Add pci_early function to detect Intel stolen memory.

Approved by: re (rgrimes)

5 years agoMFH (r339812): add default value for local_unbound_tls
Dag-Erling Smørgrav [Wed, 7 Nov 2018 16:22:18 +0000 (16:22 +0000)]
MFH (r339812): add default value for local_unbound_tls
MFH (r339995): run unbound-anchor if root.key is empty (PR 232555)
MFH (r340037): turn off so-reuseport by default

Approved by: re (gjb)

5 years agoMFC r339861:
Stephen Hurd [Tue, 6 Nov 2018 20:46:00 +0000 (20:46 +0000)]
MFC r339861:

Drain grouptaskqueue of the gtask before detaching it.

taskqgroup_detach() would remove the task even if it was running or
enqueued, which could lead to panics (see D17404). With this change,
taskqgroup_detach() drains the task and sets a new flag which prevents the
task from being scheduled again.

I've added grouptask_block() and grouptask_unblock() to allow control
over the flag from other locations as well.

Reviewed by: Jeffrey Pieper <jeffrey.e.pieper@intel.com>
Approved by: re (kib)
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D17674

5 years agoMFC r339591: ichwd: add support for TCO watchdog timer in Lewisburg PCH (C620)
Andriy Gapon [Tue, 6 Nov 2018 17:31:09 +0000 (17:31 +0000)]
MFC r339591: ichwd: add support for TCO watchdog timer in Lewisburg PCH (C620)

PR: 222079
Approved by: re (rgrimes)
Relnotes: maybe
Sponsored by: Panzura

5 years agoSwitch the dvd1.iso pkg(8) configuration to use the quarterly
Glen Barber [Mon, 5 Nov 2018 21:28:32 +0000 (21:28 +0000)]
Switch the dvd1.iso pkg(8) configuration to use the quarterly
branch, now that the package sets are now available.  This
normally would have been after BETA1, however there were issues
preventing package builds to succeed.

Switch the default pkg(8) repository to the quarterly branch
as well, to prevent 'pkg upgrade' from downgrading packages
as the 12.0-RELEASE cycle progresses.

These changes will be reverted after releng/12.0 is branched.

This is a direct commit to stable/12.

MFC after: 2 weeks
MFC note: fake MFC timeframe as a reminder to revert
Approved by: re (delphij)
Sponsored by: The FreeBSD Foundation

5 years agoMFC r339994: libbe(3): Don't promote non-cloned BEs
Kyle Evans [Mon, 5 Nov 2018 18:12:41 +0000 (18:12 +0000)]
MFC r339994: libbe(3): Don't promote non-cloned BEs

Most easily reproducible by attempting to activate the currently activated
BE, one would get a "not a cloned filesystem" error instead of success or a
sane message.

PR: 232488
Approved by: re (gjb)

5 years agoMFC r339972: rescue: Add bectl(8)
Kyle Evans [Mon, 5 Nov 2018 18:11:38 +0000 (18:11 +0000)]
MFC r339972: rescue: Add bectl(8)

Approved by: re (gjb)

5 years agoMFC r340009:
Bjoern A. Zeeb [Sun, 4 Nov 2018 06:25:07 +0000 (06:25 +0000)]
MFC r340009:

  carpstats are the last virtualised variable in the file and end up at the
  end of the vnet_set.  The generated code uses an absolute relocation at
  one byte beyond the end of the carpstats array.  This means the relocation
  for the vnet does not happen for carpstats initialisation and as a result
  the kernel panics on module load.

  This problem has only been observed with carp and only on i386.
  We considered various possible solutions including using linker scripts
  to add padding to all kernel modules for pcpu and vnet sections.

  While the symbols (by chance) stay in the order of appearance in the file
  adding an unused non-file-local variable at the end of the file will extend
  the size of set_vnet and hence make the absolute relocation for carpstats
  work (think of this as a single-module set_vnet padding).

  This is a (tmporary) hack.  It is the least intrusive one as we need a
  timely solution for the upcoming release.  We will revisit the problem in
  HEAD.  For a lot more information and the possible alternate solutions
  please see the PR and the references therein.

PR: 230857
Approved by: re (kib)

5 years agoMFC r339914:
Michael Tuexen [Sat, 3 Nov 2018 20:35:39 +0000 (20:35 +0000)]
MFC r339914:

Bump the number of fans supported from 8 to 12.
The number of fans on a PowerMac7,3 with liquid cooling is 9.

Approved by: re (kib@)
Reviewed by: andreast@
Differential Revision: https://reviews.freebsd.org/D17754

5 years agoUpdate stable/12 from BETA2 to BETA3 as part of the 12.0-RELEASE
Glen Barber [Thu, 1 Nov 2018 23:56:10 +0000 (23:56 +0000)]
Update stable/12 from BETA2 to BETA3 as part of the 12.0-RELEASE
cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

5 years agoMFC: r339800 and r339802:
Warner Losh [Thu, 1 Nov 2018 21:28:22 +0000 (21:28 +0000)]
MFC: r339800 and r339802:

Fixes to ignore partial DEVICE_PATH items in  BOOT_PARAM objects that are
too short.

Approved by: re@ (glen)

5 years agoMFC r339849: lualoader: Fix try_include error handling
Kyle Evans [Thu, 1 Nov 2018 17:37:20 +0000 (17:37 +0000)]
MFC r339849: lualoader: Fix try_include error handling

The previous iteration of try_include attempted to be 'friendly' and error()
out if we hit an error that wasn't ENOENT. This was semi-OK, but fragile as
it relied on pattern matching the error message.

Move the responsibility for handling failure to the caller. Following
a common lua pattern, we'll return the return value of the underlying
require() on success, or false and an error message.

Approved by: re (gjb)

5 years agoMFC r339688:
Mark Johnston [Thu, 1 Nov 2018 17:36:42 +0000 (17:36 +0000)]
MFC r339688:
Add an #include required after r339686.

Reported by: lwhsu
Approved by: re (gjb)

5 years agoMFC r339616:
Mark Johnston [Thu, 1 Nov 2018 16:50:19 +0000 (16:50 +0000)]
MFC r339616:
Make it possible to disable NUMA support with a tunable.

PR: 231460
Approved by: re (gjb)

5 years agoMFC r339686:
Mark Johnston [Thu, 1 Nov 2018 16:00:00 +0000 (16:00 +0000)]
MFC r339686:
Use a vm_domainset iterator in keg_fetch_slab().

Approved by: re (kib)

5 years agoMFC r339924:
Hans Petter Selasky [Thu, 1 Nov 2018 15:47:07 +0000 (15:47 +0000)]
MFC r339924:
Implement the dump_stack() function in the LinuxKPI.

Approved by: re (gjb)
Submitted by: Johannes Lundberg <johalun0@gmail.com>
Sponsored by: Mellanox Technologies

5 years agoMFC r339661, r339669:
Mark Johnston [Thu, 1 Nov 2018 15:19:36 +0000 (15:19 +0000)]
MFC r339661, r339669:
Refactor domainset iterators for use by malloc(9) and UMA.

Approved by: re (gjb)

5 years agoMFC r339923:
Hans Petter Selasky [Thu, 1 Nov 2018 14:42:14 +0000 (14:42 +0000)]
MFC r339923:
Implement __KERNEL_DIV_ROUND_UP() function macro in the LinuxKPI.

Approved by: re (kib)
Submitted by: Johannes Lundberg <johalun0@gmail.com>
Sponsored by: Mellanox Technologies

5 years agoMFC r339868:
Hans Petter Selasky [Thu, 1 Nov 2018 08:59:18 +0000 (08:59 +0000)]
MFC r339868:
Implement dma_pool_zalloc() in the LinuxKPI.

Approved by: re (rgrimes)
Submitted by: Johannes Lundberg <johalun0@gmail.com>
Sponsored by: Mellanox Technologies

5 years agoMFC r339585:
Wei Hu [Thu, 1 Nov 2018 08:08:08 +0000 (08:08 +0000)]
MFC r339585:
 Do not drop UDP traffic when TXCSUM_IPV6 flag is on.

PR: 231797
Submitted by: whu
Reviewed by: dexuan
Obtained from: Kevin Morse
Approved by: re (rgrimes)
Sponsored by: Microsoft

5 years agoMFC r339873:
Glen Barber [Wed, 31 Oct 2018 23:54:36 +0000 (23:54 +0000)]
MFC r339873:
 Set OPTIONS_UNSET in the argument list to env(1), and add
 AVAHI to the list.  This fixes the textproc/docproj build
 seemingly following FLAVORS being added.

 Specifically, the problem with the dependency chain here is:
 - textproc/docproj depends on print/cups, which sets AVAHI=on
   by default;
 - net/avahi-app depends on devel/gobject-introspection, which
   requires python3+;
 - graphics/netpbm depends on graphics/mesa-libs, which can
   only be built with python2.7;
 - textproc/docproj depends on a number of graphics ports for
   font rendering, etc.

MFC r339875:
 Pass _BRANCH in the reldoc target to ensure the correct
 src branch is used when generating the hardware.html page.

Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

5 years agoMFC r339677-r339678, r339702, r339805: Lualoader Bugfixes
Kyle Evans [Wed, 31 Oct 2018 23:08:49 +0000 (23:08 +0000)]
MFC r339677-r339678, r339702, r339805: Lualoader Bugfixes

r339677:
lualoader: unload upon kernel change if a kernel was previously loaded

In the majority of cases, a kernel is not loaded before we hit the menu.
However, if a password is set, we'll trigger autoboot and have loadelf'd
beforehand. We also need to take into account one dropping to the loader
prompt and twiddling with things manually; if they try to toggle through
kernels, we'll assume they mean it.

r339678:
menu.lua: Abort autoboot sequence on failed command

Currently, a timeout in the menu autoboot sequence would effectively do
nothing. We would return from the autoboot handling, then begin processing
the menu without redrawing it.

This change makes the behavior a little more friendly. Returning the user to
the menu can't have any good effects, so abort the autoboot sequence and
drop to the loader prompt.

r339702:
lualoader: Improve module loading diagnostics

Some fixes:

- Maintain historical behavior more accurately w.r.t verbose_loading;
  verbose_loading strictly prints "${module_name...}" and later "failed!"
  or "ok" based on load success
- With or without verbose_loading, dump command_errbuf on load failure.
  This usually happens prior to ok/failed if we're verbose_loading

r339805:
lualoader: Always return a proper dictionary for blacklist

If module_blacklist isn't specified, we have an empty blacklist; effectively
the same as if module_blacklist="" were specified in loader.conf(5).

This was reported when switching to a BE that predated the module_blacklist
introduction, but the problem is valid all the same and likely to be tripped
over in other scenarios.

Approved by: re (kib)

5 years agoMFC r339843: Fix jail examples in jib, jng, README
Devin Teske [Wed, 31 Oct 2018 23:07:47 +0000 (23:07 +0000)]
MFC r339843: Fix jail examples in jib, jng, README

Submitted by: Ryan Moeller <ryan@freqlabs.com>
Reported by: Ryan Moeller <ryan@freqlabs.com>
Approved by: re (gjb)
Sponsored by: Smule, Inc.
Differential Revision: https://reviews.freebsd.org/D17697

5 years agoMFhead r339643:
Gleb Smirnoff [Wed, 31 Oct 2018 23:02:59 +0000 (23:02 +0000)]
MFhead r339643:

  Fix ipw_start(), where logic was reverted in r287197.

PR 232554
Approved by: re (kib)

5 years agoMFC r339601, r339603:
Mark Johnston [Wed, 31 Oct 2018 19:28:05 +0000 (19:28 +0000)]
MFC r339601, r339603:
Swap in processes unless there's a global memory shortage.

Approved by: re (gjb)

5 years agoMFhead r339596:
Gleb Smirnoff [Wed, 31 Oct 2018 18:01:02 +0000 (18:01 +0000)]
MFhead r339596:

  If we lost race or were migrated during bucket allocation for the per-CPU
  cache, then we put new bucket on generic bucket cache. However, code didn't
  honor UMA_ZONE_NOBUCKETCACHE flag, so potentially we could start a cache
  on a zone that clearly forbids that. Fix this.

Approved by: re (gjb)

5 years agoMFC r339931,r339933:
Bjoern A. Zeeb [Wed, 31 Oct 2018 14:03:48 +0000 (14:03 +0000)]
MFC r339931,r339933:

   As a follow-up to r339930 (r339951 in stable/12) and various reports
   implement logging in case we fail during module load because the pcpu
   or vnet module sections are full.
   We did return a proper error but not leaving any indication to the
   user as to what the actual problem was.

   Even worse, on 12/13 currently we are seeing an unrelated error (ENOSYS
   instead of ENOSPC, which gets skipped over in kern_linker.c) to be
   printed which made problem diagnostics even harder.

PR: 228854

Approved by: re (kib)

5 years agoMFC r339930:
Bjoern A. Zeeb [Wed, 31 Oct 2018 12:50:39 +0000 (12:50 +0000)]
MFC r339930:

   With more excessive use of modules, more kernel parts working with
   VIMAGE, and feature richness and global state increasing the 8k of
   vnet module space are no longer sufficient for people and loading
   multiple modules, e.g., pf(4) and ipl(4) or ipsec(4) will fail on
   the second module.

   Increase the module space to 8 * PAGE_SIZE which should be enough
   to hold multiple firewalls, ipsec, multicast (as in the old days was
   a problem), epair, carp, and any kind of other vnet enabled modules.

   Sadly this is a global byte array part of the vnet_set, so we cannot
   dynamically change its size;  otherwise a TUNABLE would have been
   a better solution.

PR: 228854
   Reported by: Ernie Luzar, Marek Zarychta

Approved by: re (kib)

5 years agoMFC r339682:
Bjoern A. Zeeb [Wed, 31 Oct 2018 12:49:18 +0000 (12:49 +0000)]
MFC r339682:

  rip6_input() inp validation after epoch(9)

  After r335924 rip6_input() needs inp validation to avoid
  working on FREED inps.

  Apply the relevant bits from r335497,r335501 (rip_input() change)
  to the IPv6 counterpart.

PR: 232194
  Reviewed by: rgrimes, ae (,hps)

Approved by: re (kib)

5 years agoMFC r339586:
Bjoern A. Zeeb [Wed, 31 Oct 2018 12:05:45 +0000 (12:05 +0000)]
MFC r339586:

  In bhyve's fbuf emulation improve the overall "usage" message and
  for the vga option, rather than printing the entire option string,
  only print vga (as we do for everything else).

MFC r339681:

  Allow the bhyve VNC server to listen on IPv6 for incoming connections.

  Alternatively to IPv4 address:port this will allow to listen on IPv6
  link-local (incl. scope), a specific address, or ::.  Addresses have
  to be given in RFC2732 format so that [::]:port parsing will work.

  This patch also starts to introduce WITH_INET/INET6_SUPPORT to bhyve.

PR: 232018
  Submitted by: Dave Rush (northwoodlogic.free gmail.com) (original)
  Reviewed by: Dave Rush (updated verison)

Approved by: re (kib)

5 years agoMFC r339452, r339664:
Mark Johnston [Wed, 31 Oct 2018 02:02:12 +0000 (02:02 +0000)]
MFC r339452, r339664:
Create some global domainsets and refactor NUMA registration.

Approved by: re (kib)

5 years agoMFC r339848: mport tzdata 2018g
Philip Paeps [Wed, 31 Oct 2018 01:57:51 +0000 (01:57 +0000)]
MFC r339848: mport tzdata 2018g

Approved by: re (kib)

5 years agoMFC r339934:
Mark Johnston [Tue, 30 Oct 2018 23:09:04 +0000 (23:09 +0000)]
MFC r339934:
Revert r336984.

Approved by: re (kib)

5 years agoRestore backward compatibility for "attach" verb.
Xin LI [Tue, 30 Oct 2018 15:11:34 +0000 (15:11 +0000)]
Restore backward compatibility for "attach" verb.

In r332361 and r333439, two new parameters were added to geli attach
verb using gctl_get_paraml, which requires the value to be present.
This would prevent old geli(8) binary from attaching geli(4) device
as they have no knowledge about the new parameters.

Restore backward compatibility by treating the absense of these two
values as seeing the default value supplied by userland.

PR: 232595
Reviewed by: oshogbo
Approved by: re (rgrimes)

5 years agoMFC r339685
Vincenzo Maffione [Tue, 30 Oct 2018 14:25:16 +0000 (14:25 +0000)]
MFC r339685

netmap: add man page for the vale-ctl program

Added man page for vale-ctl program.
Small fixes to vale-ctl, including the support for -m option
(to specify the netmap memory allocator id).

Approved by: re (rgrimes)

5 years agoMFC r339659:
Vincenzo Maffione [Tue, 30 Oct 2018 10:01:15 +0000 (10:01 +0000)]
MFC r339659:

netmap: add man page for the bridge program

Added bridge(8).
Also, minor fixes to the netmap "bridge" application:
 - indentation fixes and code cleanup
 - better usage description
 - better processing of netmap flags

Approved by: re (rgrimes)

5 years agoMFC r339639:
Vincenzo Maffione [Tue, 30 Oct 2018 08:36:36 +0000 (08:36 +0000)]
MFC r339639:

netmap: align codebase to the current upstream (sha 8374e1a7e6941)

Changelist:
    - Move large parts of VALE code to a new file and header netmap_bdg.[ch].
      This is useful to reuse the code within upcoming projects.
    - Improvements and bug fixes to pipes and monitors.
    - Introduce nm_os_onattach(), nm_os_onenter() and nm_os_onexit() to
      handle differences between FreeBSD and Linux.
    - Introduce some new helper functions to handle more host rings and fake
      rings (netmap_all_rings(), netmap_real_rings(), ...)
    - Added new sysctl to enable/disable hw checksum in emulated netmap mode.
    - nm_inject: add support for NS_MOREFRAG

Approved by: re (gjb)

5 years agoMFC r339626:
Navdeep Parhar [Tue, 30 Oct 2018 05:04:18 +0000 (05:04 +0000)]
MFC r339626:

cxgbe(4): Use automatic cidx updates with ofld and ctrl queues.

The bits that explicitly request cidx updates do not work reliably with
all possible WRs that can be sent over the queue.  The F_FW_WR_EQUIQ
requests that still remain may also have to be replaced with explicit
credit flush WRs in the future.

Approved by: re@ (rgrimes@)
Sponsored by: Chelsio Communications

5 years agoMFC r339869,r339870:
Michael Tuexen [Mon, 29 Oct 2018 20:08:19 +0000 (20:08 +0000)]
MFC r339869,r339870:

Remove empty line.

Reported by: gjb@
Approved by: re (gjb@)

5 years agoMFC r339791:
Michael Tuexen [Mon, 29 Oct 2018 19:01:47 +0000 (19:01 +0000)]
MFC r339791:

Add initial descriptions for SCTP related MIB variable.
This work was mostly done by Marie-Helene Kvello-Aune.

Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D3583

5 years agoMFC r339600:
Hans Petter Selasky [Mon, 29 Oct 2018 14:06:20 +0000 (14:06 +0000)]
MFC r339600:
Make sure returned value is checked and assert a valid refcount.
While at it fix a print: Unsigned types cannot be negative.

Reviewed by: kib, mjg
Approved by: re (gjb)
Differential revision: https://reviews.freebsd.org/D17616
Sponsored by: Mellanox Technologies

5 years agoMFC r339588:
Hans Petter Selasky [Mon, 29 Oct 2018 13:17:41 +0000 (13:17 +0000)]
MFC r339588:
Resolve deadlock between epoch(9) and various network interface
SX-locks, during if_purgeaddrs(), by not allowing to hold the epoch
read lock over typical network IOCTL code paths. This is a regression
issue after r334305.

Reviewed by: ae (network)
Approved by: re (kib)
Differential revision: https://reviews.freebsd.org/D17647
Sponsored by: Mellanox Technologies

5 years agoMFC r339587:
Hans Petter Selasky [Mon, 29 Oct 2018 12:08:15 +0000 (12:08 +0000)]
MFC r339587:
Added support for formula-based arbitrary baud rates, in contrast to
the current fixed values, which enables use of rates above 1 Mbps.
Improved the detection of HXD chips, and the status flag handling as
well.

Submitted by: Gabor Simon <gabor.simon75@gmail.com>
PR: 225932
Approved by: re (kib)
Differential revision: https://reviews.freebsd.org/D16639
Sponsored by: Mellanox Technologies

5 years agoMFC r339740:
Andrey V. Elsukov [Sun, 28 Oct 2018 18:21:14 +0000 (18:21 +0000)]
MFC r339740:
  Use correct format specificator to print setdscp action.

  PR: 232642
Approved by: re (rgrimes)

5 years agoMFC r339548:
Vincenzo Maffione [Sun, 28 Oct 2018 07:50:15 +0000 (07:50 +0000)]
MFC r339548:

man: fix vale(4) port naming

The current documentation describing the syntax of a VALE port is wrong.
This patch fixes it to make it consistent.

Approved by: re (gjb)

5 years agoFollow up on r331936. gets_s(3) will also fail in the same way that
Cy Schubert [Sun, 28 Oct 2018 00:57:39 +0000 (00:57 +0000)]
Follow up on r331936. gets_s(3) will also fail in the same way that
gets(3) does. This was missed in r331936.

Reported by: emaste@
Approved by: re (kib@)

5 years agoMFC r339489:
Yuri Pankov [Sat, 27 Oct 2018 21:17:01 +0000 (21:17 +0000)]
MFC r339489:

Add -b/-l options to localedef(1) to specify output endianness and use
it appropriately when building share/ctypedef and share/colldef.

This makes the resulting locale data in EL->EB (amd64->powerpc64) cross
build and in the native EB build match.  Revert the changes done to libc
in r308170 as they are no longer needed.

PR:             231965
Reviewed by:    bapt, emaste, sbruno, 0mp
Approved by:    re (gjb), kib (mentor)
Differential Revision:  https://reviews.freebsd.org/D17603

5 years agoMFC r339514:
Justin Hibbits [Sat, 27 Oct 2018 03:16:32 +0000 (03:16 +0000)]
MFC r339514:

powerpcspe: Implement SPE exception handling

The Signal Processing Engine (SPE) found in Freescale e500 cores (and
others) offloads IEEE-754 compliance (NaN, Inf handling, overflow,
underflow) to software, most likely as a means of simplifying the APU
silicon.  Some software, like AbiWord, needs full IEEE-754 compliance,
including NaN handling.  Implement the necessary bits to enable it.

Approved by: re(kib)

5 years agoMFC r339532 (by glebius):
Andrey V. Elsukov [Fri, 26 Oct 2018 10:20:03 +0000 (10:20 +0000)]
MFC r339532 (by glebius):
  Fix exiting an epoch(9) we never entered. May happen only with MAC.

Approved by: re (kib)

5 years agoUpdate stable/12 from BETA1 to BETA2 as part of the 12.0-RELEASE
Glen Barber [Fri, 26 Oct 2018 00:00:13 +0000 (00:00 +0000)]
Update stable/12 from BETA1 to BETA2 as part of the 12.0-RELEASE
cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

5 years agoMFC r339741:
Glen Barber [Thu, 25 Oct 2018 19:57:42 +0000 (19:57 +0000)]
MFC r339741:
 Update SHLIB_VERSION_NUMBER following the OpenSSL shared library
 number bump.

Approved by: re (bdrewery)
Sponsored by: The FreeBSD Foundation

5 years agoMFC r339703:
Brooks Davis [Thu, 25 Oct 2018 17:00:39 +0000 (17:00 +0000)]
MFC r339703:

Deprecate a number of less used 10 and 10/100 Ethernet devices.

The current deprecated list is: ae, bm, cs, de, dme, ed, ep, ex, fe,
pcn, sf, sn, tl, tx, txp, vx, wb, xe

The list was defined as part of FCP-0101. Per the FCP, devices may be
removed from the deprecation list if enough users are found or they are
converted to iflib.

FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Approved by: re (gjb)
Reviewed by: rgrimes
Differential Revision: https://reviews.freebsd.org/D17654

5 years agoMFC r339618:
Tijl Coosemans [Thu, 25 Oct 2018 16:01:10 +0000 (16:01 +0000)]
MFC r339618:

Define linuxkpi readq for 64-bit architectures.  It is used by drm-kmod.
Currently the compiler picks up the definition in machine/cpufunc.h.

Add compiler memory barriers to read* and write*.  The Linux x86
implementation of these functions uses inline asm with "memory" clobber.
The Linux x86 implementation of read_relaxed* and write_relaxed* uses the
same inline asm without "memory" clobber.

Implement ioread* and iowrite* in terms of read* and write* so they also
have memory barriers.

Qualify the addr parameter in write* as volatile.

Like Linux, define macros with the same name as the inline functions.

Only define 64-bit versions on 64-bit architectures because generally
32-bit architectures can't do atomic 64-bit loads and stores.

Regroup the functions a bit and add brief comments explaining what they do:
- __raw_read*, __raw_write*: atomic, no barriers, no byte swapping
- read_relaxed*, write_relaxed*: atomic, no barriers, little-endian
- read*, write*: atomic, with barriers, little-endian

Add a comment that says our implementation of ioread* and iowrite*
only handles MMIO and does not support port IO.

Reviewed by: hselasky
Approved by: re (gjb)

5 years agoMFC r339709:
Konstantin Belousov [Thu, 25 Oct 2018 15:49:59 +0000 (15:49 +0000)]
MFC r339709:
Bump base OpenSSL libraries versions to avoid conflict with port's libraries.

Approved by: re (gjb)

5 years agoMFC r339493: add wdc as an alias for wds
Warner Losh [Thu, 25 Oct 2018 15:35:12 +0000 (15:35 +0000)]
MFC r339493: add wdc as an alias for wds

wdc is the preferred name for Western Digital. wds should never
have been committed in the first place. Add wdc as an alias for 12
and in 13 we'll retire the undocumented wds.

Approved by: re@ (kib)

5 years agoMFC r339451: objcopy: restore behaviour required by GCC's build
Ed Maste [Thu, 25 Oct 2018 15:18:54 +0000 (15:18 +0000)]
MFC r339451: objcopy: restore behaviour required by GCC's build

In r339350 filter_reloc() was removed, to fix the case of stripping
statically linked binaries with relocations (which may come from ifunc
use, for example).  As a side effect this changed the behaviour when
stripping object files - the output was broken both before and after
r339350, in different ways.  Unfortunately GCC's build process relies
on the previous behaviour, so:

- Revert r339350, restoring filter_reloc().
- Fix an unitialized variable use (commited as r3638 in ELF Tool Chain).
- Change filter_reloc() to omit relocations referencing removed
  symbols, while retaining relocations with no symbol reference.
- Retain the entire relocation section if it references the dynamic
  symbol table (fix from kaiw in D17596).

PR: 232176
Approved by: re (gjb, kib)
Sponsored by: The FreeBSD Foundation

5 years agoMFC r339684:
Glen Barber [Thu, 25 Oct 2018 15:11:18 +0000 (15:11 +0000)]
MFC r339684:
 Reduce the GCE image size to 27G to be lower than the free
 quota limit.

PR: 232313
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

5 years agoMFC r339582:
Hans Petter Selasky [Thu, 25 Oct 2018 14:53:24 +0000 (14:53 +0000)]
MFC r339582:
Drop sequencer mutex around uiomove() and make sure we don't move more bytes
than is available, else a panic might happen.

Found by: Peter Holm <peter@holm.cc>
Approved by: re (rgrimes)
Sponsored by: Mellanox Technologies

5 years agoMFC r339584:
Slava Shwartsman [Thu, 25 Oct 2018 14:07:28 +0000 (14:07 +0000)]
MFC r339584:
mlx5: Notify user that the ConnectX-6 shutdown its port due to power limitation

If power exceed the slot limit, or slot limit is unknown the ConnectX-6
firmware will shutdown its port.
Inform the user via debug message.

Approved by:    re(rgrimes), hselasky (mentor), kib (mentor)
Sponsored by:   Mellanox Technologies

5 years agoMFC r339581:
Hans Petter Selasky [Thu, 25 Oct 2018 12:27:16 +0000 (12:27 +0000)]
MFC r339581:
Fix off-by-one which can lead to panics.

Found by: Peter Holm <peter@holm.cc>
Approved by: re (kib)
Sponsored by: Mellanox Technologies

5 years agoMFC: r339562 (remove obsolete drivers from GENERIC)
Warner Losh [Thu, 25 Oct 2018 05:18:25 +0000 (05:18 +0000)]
MFC:  r339562 (remove obsolete drivers from GENERIC)

Remove the drivers we'd planned on removing from 12.x from GENERIC.

Approved by: re@ (rgrimes@)

5 years agoMFC r339509: Fix loader.conf(5) "password" feature
Devin Teske [Wed, 24 Oct 2018 23:13:53 +0000 (23:13 +0000)]
MFC r339509: Fix loader.conf(5) "password" feature

Restore the ability to prevent the user from interrupting the boot process
without first entering the password stored in loader.conf(5).

PR: kern/207069
Reported by: david@dcrosstech.com
Approved by: re (rgrimes)
Sponsored by: Smule, Inc.

5 years agoMFC r339547:
Kristof Provost [Wed, 24 Oct 2018 17:32:31 +0000 (17:32 +0000)]
MFC r339547:

vlan: Fix panic with lagg and vlan

vlan_lladdr_fn() is called from taskqueue, which means there's no vnet context
set. We can end up trying to send ARP messages (through the iflladdr_event
event), which requires a vnet context.

PR: 227654
Approved by: re (kib)

5 years agoRemove debug.witness.trace=0 from the installer sysctl.conf(5),
Glen Barber [Tue, 23 Oct 2018 16:24:26 +0000 (16:24 +0000)]
Remove debug.witness.trace=0 from the installer sysctl.conf(5),
which should have been removed from stable/12 post-branch.

This is a direct commit to stable/12.

Reported by: bdrewery
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

5 years agoMFC 339475: improve drm messaging in driver and UPDATING
Warner Losh [Tue, 23 Oct 2018 03:30:14 +0000 (03:30 +0000)]
MFC 339475: improve drm messaging in driver and UPDATING

Approved by: re@ (rgrimes)

5 years agoMFC r339503: Import tzdata 2018f
Philip Paeps [Tue, 23 Oct 2018 01:39:26 +0000 (01:39 +0000)]
MFC r339503: Import tzdata 2018f

Approved by: re (kib)

5 years agoMFC r339462: make upgrade from previous FreeBSD versions less painful
Eugene Grosbein [Mon, 22 Oct 2018 17:27:36 +0000 (17:27 +0000)]
MFC r339462: make upgrade from previous FreeBSD versions less painful
and make previously working configuration like this work again:

gif_interfaces="gif0"
gifconfig_gif0="1.1.1.1 2.2.2.2"
ifconfig_gif0="inet 192.168.1.1 192.168.1.2 netmask 255.255.255.252"

PR: 204700
Approved by: re (gjb)

5 years agoUncomment -DNDEBUG in stable/12 after branching stable/12.
Glen Barber [Sun, 21 Oct 2018 17:38:52 +0000 (17:38 +0000)]
Uncomment -DNDEBUG in stable/12 after branching stable/12.
This edit was a mistake in head, and should have been applied
to stable/12 upon branching, not head.

This is a direct commit to stable/12.

Reported by: jbeich, dim
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

5 years ago- Prune svn:mergeinfo from the new branch, as nothing has been merged
Glen Barber [Fri, 19 Oct 2018 00:24:23 +0000 (00:24 +0000)]
- Prune svn:mergeinfo from the new branch, as nothing has been merged
  here.
- Remove debugging from GENERIC* kernel configurations
- Enable MALLOC_PRODUCTION
- Default dumpdev=NO
- Remove UPDATING entry regarding debugging features
- Switch 12.0 from -ALPHA10 to -BETA1 to prepare for builds.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

5 years agoDo not flush cache for PCIe config window.
Konstantin Belousov [Thu, 18 Oct 2018 20:49:16 +0000 (20:49 +0000)]
Do not flush cache for PCIe config window.

Apparently AMD machines cannot tolerate this. This was uncovered by
r339386, where cache flush started really flushing the requested range.

Introduce pmap_mapdev_pciecfg(), which simply does not flush cache
comparing with pmap_mapdev().  It assumes that the MCFG region was
never accessed through the cacheable mapping, which is most likely
true for machine to boot at all.

Note that i386 does not need the change, since the architecture
handles access per-page due to the KVA shortage, and page remapping
already does not flush the cache.

Reported and tested by: mjg, Mike Tancsa <mike@sentex.net>
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D17612

5 years agoIn r78161 the lookup_set linker method was introduced which optionally
Bjoern A. Zeeb [Thu, 18 Oct 2018 20:20:41 +0000 (20:20 +0000)]
In r78161 the lookup_set linker method was introduced which optionally
returns the section start and stop locations as well as a count if the
caller asks for them.
There was only one out-of-file consumer of count which did not actually
use it and hence was eliminated in r339407.
In r194784 parse_dpcpu(), and in r195699 parse_vnet() (a copy of the
former) started to use the link_elf_lookup_set() interface internally
also asking for the count.

count is computed as the difference of the void **stop - void **start
locations and as such, if the absoulte numbers
(stop - start) % sizeof(void *) != 0
a round-down happens, e.g., **stop 0x1003 - **start 0x1000 => count 0.

To get the section size instead of "count is the number of pointer
elements in the section", the parse_*() functions do a
count *= sizeof(void *).
They use the result to allocate memory and copy the section data
into the "master" and per-instance memory regions with a size of
count.

As a result of count possibly round-down this can miss the last
bytes of the section.  The good news is that we do not touch
out of bounds memory during these operations (we may at a later stage
if the last bytes would overflow the master sections).
Given relocation in elf_relocaddr() works based on the absolute
numbers of start and stop, this means that we can possibly try to
access relocated data which was never copied and hence we get
random garbage or at best zeroed memory.

Stop the two (last) consumers of count (the parse_*() functions)
from using count as well, and calculate the section size based on
the absolute numbers of stop and start and use the proper size for
the memory allocation and data copies.  This will make the symbols
in the last bytes of the pcpu or vnet sections be presented as
expected.

PR: 232289
Approved by: re (gjb)
MFC after: 2 weeks

5 years agoThe handling of RST segments in the SYN-RCVD state exists in the
Michael Tuexen [Thu, 18 Oct 2018 19:21:18 +0000 (19:21 +0000)]
The handling of RST segments in the SYN-RCVD state exists in the
code paths. Both are not consistent and the one on the syn cache code
does not conform to the relevant specifications (Page 69 of RFC 793
and Section 4.2 of RFC 5961).

This patch fixes this:
* The sequence numbers checks are fixed as specified on
  page Page 69 RFC 793.
* The sysctl variable net.inet.tcp.insecure_rst is now honoured
  and the behaviour as specified in Section 4.2 of RFC 5961.

Approved by: re (gjb@)
Reviewed by: bz@, glebius@, rrs@,
Differential Revision: https://reviews.freebsd.org/D17595
Sponsored by: Netflix, Inc.

5 years agoCorrect the comment for the 20181015 entry in ObsoleteFiles.inc.
Glen Barber [Thu, 18 Oct 2018 19:07:15 +0000 (19:07 +0000)]
Correct the comment for the 20181015 entry in ObsoleteFiles.inc.

Reported by: rpokala
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

5 years agoThe local_unbound service will configure and bootstrap itself, but only
Dag-Erling Smørgrav [Thu, 18 Oct 2018 18:33:44 +0000 (18:33 +0000)]
The local_unbound service will configure and bootstrap itself, but only
if a network connection is available.  This is not an issue when running
'service local_unbound setup' interactively, but can be on a diskless
system where local_unbound self-configures on every boot.  To address
this, add explicit dependencies on netwait and defaultroute.

Submitted by: eugen
Approved by: re (gjb)

5 years agoAdd support for DNS-over-TLS to the local_unbound service.
Dag-Erling Smørgrav [Thu, 18 Oct 2018 15:35:13 +0000 (15:35 +0000)]
Add support for DNS-over-TLS to the local_unbound service.

Approved by: re (kib)

5 years agoSupport RISC-V implementations that do not manage the A and D bits
Ruslan Bukin [Thu, 18 Oct 2018 15:25:07 +0000 (15:25 +0000)]
Support RISC-V implementations that do not manage the A and D bits
(e.g. RocketChip, lowRISC and derivatives).

RISC-V page table entries support A (accessed) and D (dirty) bits. The
spec makes hardware support for these bits optional. Implementations that
do not manage these bits in hardware raise page faults for accesses to a
valid page without A set and writes to a writable page without D set.
Check for these types of faults when handling a page fault and fixup the
PTE without calling vm_fault if they occur.

Reviewed by: jhb, markj
Approved by: re (gjb)
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17424

5 years agoRevert r339421 due to unintended files included to commit.
Ruslan Bukin [Thu, 18 Oct 2018 15:17:58 +0000 (15:17 +0000)]
Revert r339421 due to unintended files included to commit.

Reported by: ian
Approved by: re (gjb)
Sponsored by: DARPA, AFRL

5 years agoSupport RISC-V implementations that do not manage the A and D bits
Ruslan Bukin [Thu, 18 Oct 2018 15:08:14 +0000 (15:08 +0000)]
Support RISC-V implementations that do not manage the A and D bits
(e.g. RocketChip, lowRISC and derivatives).

RISC-V page table entries support A (accessed) and D (dirty) bits. The
spec makes hardware support for these bits optional. Implementations that
do not manage these bits in hardware raise page faults for accesses to a
valid page without A set and writes to a writable page without D set.
Check for these types of faults when handling a page fault and fixup the
PTE without calling vm_fault if they occur.

Reviewed by: jhb, markj
Approved by: re (gjb)
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17424

5 years agoFix typos from r339409.
Jamie Gritton [Thu, 18 Oct 2018 15:02:57 +0000 (15:02 +0000)]
Fix typos from r339409.

Reported by: maxim
Approved by: re (gjb)

5 years agor334853 added a "socket destructor" callback. However, as implemented, it
Jonathan T. Looney [Thu, 18 Oct 2018 14:20:15 +0000 (14:20 +0000)]
r334853 added a "socket destructor" callback. However, as implemented, it
was really a "socket close" callback.

Update the socket destructor functionality to run when a socket is
destroyed (rather than when it is closed). The original submitter has
confirmed that this change satisfies the intended use case.

Suggested by: rwatson
Submitted by: Michio Honda <micchie at sfc.wide.ad.jp>
Tested by: Michio Honda <micchie at sfc.wide.ad.jp>
Approved by: re (kib)
Differential Revision: https://reviews.freebsd.org/D17590

5 years agoWhile preparing to move init(8) to its own package as indicated
Bjoern A. Zeeb [Thu, 18 Oct 2018 02:07:30 +0000 (02:07 +0000)]
While preparing to move init(8) to its own package as indicated
in r339413, a current pkgbase update problem came up.  For users
testing pkgbase at the moment there is no (automatic) way to pick
up new base packages (yet).
As a result rather than also moving init(8) to its own package,
back out the part of the change in r339413 that moved rc* to its
own package and defer creating new packages until the
infrastructure is in place to handle these cases.
Both init and rc* are considered too problematic to be lost by
early adaptors at this stage.

Discussed with: brd
Reviewed by: brd
Approved by: re (gjb)

5 years agoFix modules/nvdimm build issues after r339391 by adding a dependency
Bjoern A. Zeeb [Thu, 18 Oct 2018 00:51:42 +0000 (00:51 +0000)]
Fix modules/nvdimm build issues after r339391 by adding a dependency
to the SRC list.  Sort the list while changing the line.

Reported by: ci.f.o, make -j24 buildkernel
Approved by: re (gjb)

5 years agoFix spelling of an error message and add warning to another error
Bjoern A. Zeeb [Wed, 17 Oct 2018 16:54:13 +0000 (16:54 +0000)]
Fix spelling of an error message and add warning to another error
case in tunefs(8).

Reviewed by: imp (2017 version of the same diff)
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D10046

5 years agoMove the rc framework out of sbin/init into libexec/rc.
Bjoern A. Zeeb [Wed, 17 Oct 2018 16:49:11 +0000 (16:49 +0000)]
Move the rc framework out of sbin/init into libexec/rc.

The reasons for this are forward looking to pkgbase:
 * /sbin/init is a special binary; try not to replace it with
   every package update because an rc script was touched.
   (a follow-up commit will make init its own package)
 * having rc in its own place will allow more easy replacement
   of the rc framework with alternatives, such as openrc.

Discussed with: brd (during BSDCam), kmoore
Requested by: cem, bz
PR: 231522
Approved by: re (gjb)

5 years agoRevert r315571 for share/timedef/ca_IT.ISO8859-15.src, ca_IT is Catalan
Yuri Pankov [Wed, 17 Oct 2018 16:38:44 +0000 (16:38 +0000)]
Revert r315571 for share/timedef/ca_IT.ISO8859-15.src, ca_IT is Catalan
in Italy, and is not related to Canada.

While here, remove the header as we do NOT currently use CLDR data to
generate timedef, and it's misleading.

PR: 225855
Reviewed by: bapt
Approved by: re (gjb), kib (mentor)
Differential Revision: https://reviews.freebsd.org/D17551