zrj [Sat, 26 May 2018 12:15:11 +0000 (15:15 +0300)]
ncurses: Add few missing dependencies.
The lib_gen.c is generated source and it's dependencies too.
This should solve rare races where lib_gen.c is partially constructed,
even if it is not fatal problem (only XSI req for callable functions).
François Tigeot [Sat, 26 May 2018 11:32:07 +0000 (13:32 +0200)]
drm/i915: Sync hpd_pulse return values with Linux
Now that we know how to handle irqreturn enums, we can use more
Linux code unmodified.
zrj [Sat, 26 May 2018 10:02:04 +0000 (13:02 +0300)]
Makefile.inc1: Reduce strict ordering where not needed.
Helps with parallel builds. Shaves off about 40s from make buildworld.
zrj [Sat, 26 May 2018 09:54:22 +0000 (12:54 +0300)]
Makefile.inc1: Update _prebuild_libs dependencies.
The lib/libdevattr is not strictly needed in _prebuild_libs, because
it has dependency on libprop only if libdevattr/mktest is hooked.
zrj [Sat, 26 May 2018 09:44:57 +0000 (12:44 +0300)]
Makefile.inc1: Reduce strict ordering for libc.
Mark lib/csu as a hard dep for lib/libc (needed only for libc.so link).
Even if lib/libc_rtld is not strictly needed to be handled at all in
Makefile.inc1 (its _pic.a archive only used by libexec/rtld-elf),
having it here is not a big issue since both libc and libc_rtld spend a
lot of time in make depend and running those in parallel helps somewhat.
zrj [Sat, 26 May 2018 06:56:08 +0000 (09:56 +0300)]
strip(1): Perform safe install.
Pass -S flag to install(1) as it is currently done for /bin/sh.
The install(1) might call strip(1) on itself when installing.
zrj [Fri, 25 May 2018 07:50:12 +0000 (10:50 +0300)]
buildworld: Add support to skip toolchain if requested.
These two new features are mainly aimed at developers, to speed up their
rebuilds on development branches. Often there are no changes that would
influence the toolchain components in any way. So it is reasonable to
skip rebuild of certain parts (mostly to avoid building c++ sources).
Previously we were rebuilding both main and alternative compilers twice
during buildworld for a full bootstrap that allowed us to avoid certain
breakages and not to keep adding lots of backwards compatibility hacks.
The new additions:
* -DNO_CROSSTOOLS - skip compiler and binutils bootstrap;
* -DNO_TOOLCHAINS - do not build compilers/binutils for installworld.
Both features are aimed for testing DESTDIR targets. Decision to
activate any of these features is left to the user's own discretion
based on reviewing the commits to the git repository or local clone.
The NO_CROSSTOOLS feature is implemented by installing the shell script
wrappers that add a sysroot and patch the specs. Idea is not to disturb
in any way the Makefile.inc1 or objformat logic at this moment. Since
all the main toolchain tools are installed as shell scripts this has a
nice bonus for quick hooks/probes and other hacky/pretty stuff without
disturbing the rest of the buildworld. You can even add your favorite
static analyser tool, just don't forget to change default include path
to /usr/obj/../world_x86_64/usr/include for it.
The objformat changes for sysroot would only make sense when we make a
port for another architecture. None of the new features are considered
to be guessTM enabled automatically at this moment. To be sure that
nothing has changed since previous buildworld from other changes in the
source tree one would have to compile and hex-diff the final products.
Keep in mind that libraries coming with the compilers will be rebuilt
even with both knobs passed. This should help catching most of the
issues before installworld step and not on the next {build,quick}world.
Both knobs are not documented in make.conf(5) on purpose. It is highly
advised *not* adding any of these knobs into make.conf, sooner or later
you will forget it and *will* get yourself in world recovery situation:
a) world backup machinery (unless you had NO_BACKUP=true in make.conf);
b) perform manual bootstrap to fix up the breakage;
c) restore from H1/H2 snapshots (toolchain components are located in
/usr/libexec/* and /usr/lib/${CCVER}/ directories);
d) clean overwrite by mounting from other system (like usb img stick).
Features should work with quickworld too.
To put things in perspective here is a little chart of the cleaned
fresh 'make -jX buildworld' times impact on few setups:
netbook: hw.model: Intel(R) Core(TM) i3 CPU U380 @ 1.33GHz
compiler: gcc50 as cc(1) (4gb usb stick for /, ironlake cpu)
make -j3 buildworld [-DNO_CROSSTOOLS] [-DNO_TOOLCHAIN]
min:sec | STANDARD | NO_C | NO_T | NO_C/NO_T |
----------------------------------------------------------------
gcc50 | 73:56 | 59:57 | 54:11 | 39:38 |
gcc47 (host+world)| N/I | N/I | N/I | 37:51 |
----------------------------------------------------------------
laptop setup: hw.model: Intel(R) Core(TM) i7-4712MQ CPU @ 2.30GHz
compiler: gcc50 as cc(1) (default)
make -j9 buildworld [-DNO_CROSSTOOLS] [-DNO_TOOLCHAIN]
min:sec | STANDARD | NO_C | NO_T | NO_C/NO_T |
----------------------------------------------------------------
gcc50 | 17:06 | 13:57 | 12:58 | 09:42 |
gcc50 gcc47 (def) | 20:18 | 16:03 | 14:58 | 10:37 |
gcc50 gcc80 | 24:24 | 18:06 | 17:31 | 11:23 |
gcc50 gcc47 gcc80 | 27:47 | 20:17 | 19:23 | 12:00 |
----------------------------------------------------------------
blade setup: dual hw.model: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
compiler: gcc80 as cc(1) (soon gcc80 will replace gcc50 in master)
make -j32 buildworld [-DNO_CROSSTOOLS] [-DNO_TOOLCHAIN]
min:sec | STANDARD | NO_C | NO_T | NO_C/NO_T |
----------------------------------------------------------------
gcc80 | 06:58 | 05:19 | 05:33 | 03:51 |
gcc80 gcc47 (def*)| 08:03 | 06:06 | 06:02 | 04:05 |
gcc80 gcc50 | 08:23 | 06:12 | 06:19 | 04:08 |
gcc80 gcc47 gcc50 | 09:24 | 06:59 | 06:51 | 04:21 |
----------------------------------------------------------------
zrj [Thu, 24 May 2018 12:35:30 +0000 (15:35 +0300)]
gcc80: Shorten build time in libraries target.
When compiling compiler libraries build the minimal set of tools
required to generated the needed headers. Rest of the tools including
libcpp.na will be built during more parallel gnu/usr.bin stage.
Shaves off ~30s from make buildworld.
While there, do the same for gcc47 and gcc50. Also clean stale file.
zrj [Thu, 24 May 2018 12:33:03 +0000 (15:33 +0300)]
Makefile.inc1: Add libelf to _prebuilt_libs.
Even if it is internallib for libexecinfo it is very close to race in
_generic_libs.
While there, add ordering for liblzma against libpthread.
zrj [Thu, 24 May 2018 12:16:00 +0000 (15:16 +0300)]
tools/make_libdeps.sh: Use sys.mk from src/.
While there, remove not needed /bin from PATH.
Suggested-by: swildner
Sascha Wildner [Thu, 24 May 2018 12:23:51 +0000 (14:23 +0200)]
Remove some duplicated includes.
zrj [Thu, 24 May 2018 09:21:09 +0000 (12:21 +0300)]
tools/make_libdeps.sh: Add needed mangling rules.
For tool to work properly:
* suppess all of the -Wl,--foo (yes, we have those unfortunately);
* mangle all of pthread references;
* ignore libstdc++'s ../components/blah/libfoo_pic.a (used as int libs);
* remangle internallib libelf_pic.a for libexecinfo;
* mangle all of the privatelibs to get correct lib location.
zrj [Thu, 24 May 2018 09:16:49 +0000 (12:16 +0300)]
tools/make_libdeps.sh: Adjust invocation.
Small changes:
* add /sbin to the patch for `sysctl hw.platform` in sys.mk;
* use tr(1) from /bin instead of rs(1) that might truncate;
* enforce C collate;
* explicitly sort find(1) results.
zrj [Thu, 24 May 2018 09:13:53 +0000 (12:13 +0300)]
tools/make_libdeps.sh: Update directory list.
Matthew Dillon [Thu, 24 May 2018 00:25:44 +0000 (17:25 -0700)]
hammer2 - Fix kmalloc pool blowout on low-memory machines
* Fix a kmalloc pool blown that can occur on low-memory machines due
to too many disconnected hammer2_inode structures building up.
* Was previously fixed for things like rm -rf and bulk renames,
but not for setattr (aka chown/chmod -R ops).
Reported-by: gjs278
François Tigeot [Wed, 23 May 2018 20:33:36 +0000 (22:33 +0200)]
drm/linux/timer.h: No need to protect a callout struct from MP accesses
Spotted-by: Imre Vadász <imre@vdsz.com>
Imre Vadász [Wed, 23 May 2018 18:21:10 +0000 (20:21 +0200)]
drm - No need to protect a callout struct from MP accesses.
Sascha Wildner [Wed, 23 May 2018 12:24:41 +0000 (14:24 +0200)]
bsd-family-tree: Fix SVN tag.
Eitan Adler [Wed, 23 May 2018 04:57:54 +0000 (04:57 +0000)]
Announce DragonFly 5.2.1
zrj [Wed, 23 May 2018 05:50:36 +0000 (08:50 +0300)]
bsd.kern.mk: Remove gcc80 workaround.
No longer needed.
zrj [Wed, 23 May 2018 05:30:46 +0000 (08:30 +0300)]
drm/i915: Disable few unused const structs and functions.
No functional change.
zrj [Mon, 21 May 2018 16:52:20 +0000 (19:52 +0300)]
btxld(8): Convert to hostprog.
There is no point to provide this utility in base. We are not planing to
bring back i386 support. Move it into sys/boot/pc32/ for easier handling.
This way the AOUT_H_FORCE32 now is confined to the same pc32/ directory.
The <sys/imgact_aout.h> has override for it to create proper btx header.
For future we should make btxld endian neutral.
zrj [Mon, 21 May 2018 09:38:00 +0000 (12:38 +0300)]
btools: Obsolete pre hostprog era cc_tools.
We no longer depend on them so this shaves about 1 min from buildworld.
Verified by comparing intermediates and final products.
Sascha Wildner [Mon, 21 May 2018 08:46:20 +0000 (10:46 +0200)]
hammer2(8): Clean up the Makefile a bit.
Reported-by: zrj
Sascha Wildner [Mon, 21 May 2018 08:17:44 +0000 (10:17 +0200)]
acpi: Add SUBDIR_ORDERED for the ACPICA tools for better parallelism.
Reported-by: zrj
Matthew Dillon [Mon, 21 May 2018 05:59:37 +0000 (22:59 -0700)]
hammer2 - Beef up bulkfree buffering
* Beef up the bulkfree buffering to allow a lot more memory
to be used for the in-memory freemap copy.
* Add a -m mem[k,m,g] override option for hammer2 bulkfree.
* Reduce console spam.
Sascha Wildner [Sun, 20 May 2018 11:19:17 +0000 (13:19 +0200)]
i386 removal, part 68/x: Remove a number of obsolete Makefiles from gnu/.
Reported-by: zrj
zrj [Sun, 20 May 2018 14:28:36 +0000 (17:28 +0300)]
kbdcontrol(1): Remove not needed defines.
While there, do the same for vidcontrol(1).
zrj [Sun, 20 May 2018 14:22:51 +0000 (17:22 +0300)]
share/syscons: Separate hostprog and remove it from btools.
The scrnmaps are not needed for buildworld.
zrj [Sun, 20 May 2018 14:19:55 +0000 (17:19 +0300)]
boot/pc32: Separate hostprog.
Add guard in common sys/boot/pc32/Makefile.inc.
Hostprog shall not take any of those definitions.
zrj [Sun, 20 May 2018 14:14:18 +0000 (17:14 +0300)]
boot/pc32: Fix typo in mbr.
Wrong patch in
faa6f4d7da5ad6ef2d3e68dd2671b6d6f8161a9b,
the generated mbr was still OK (bmake warning).
While there, only extract XREADORG constant from boot1*.out and not
from bootasmdef.nx in case it ever get one.
Sascha Wildner [Sun, 20 May 2018 09:09:38 +0000 (11:09 +0200)]
{un,}vis.3: Bring back some small fixes we had earlier.
Sascha Wildner [Sun, 20 May 2018 08:42:09 +0000 (10:42 +0200)]
vm_page_alloc.9: Adjust for the removal of PG_BUSY.
Sascha Wildner [Sun, 20 May 2018 08:34:47 +0000 (10:34 +0200)]
ip6.4: Clean up a bit.
* Remove info about IPV6_IPCOMP_LEVEL which was removed along with IPsec.
* Fix a typo.
Sascha Wildner [Sun, 20 May 2018 08:09:09 +0000 (10:09 +0200)]
mtree/BSD.root.dist: Use spaces.
Matthew Dillon [Sun, 20 May 2018 05:58:58 +0000 (22:58 -0700)]
kernel - Change closefrom() EINTR behavior
* closefrom() no longer breaks out of its loop if it gets an
EINTR from a close(). EINTR can only occur from NFS in this
situation, and the descriptor is still closed. Any EINTR's
which occur will be rolled up and returned after the loop
completes.
* Callers usually ignore closefrom()'s return value anyway.
Suggested-by: mjg
Matthew Dillon [Sun, 20 May 2018 02:26:01 +0000 (19:26 -0700)]
build - Change default /root directory perms
* Change from 755 to 700. 700 is a more suitable default for
~root's home directory.
Reported-by: aly
Sascha Wildner [Sat, 19 May 2018 22:47:05 +0000 (00:47 +0200)]
/usr/include/netinet6: Remove three unused IPsec related headers.
Sascha Wildner [Sat, 19 May 2018 17:54:14 +0000 (19:54 +0200)]
kgdb(1): Add missing "
Reported-by: zrj
zrj [Sat, 19 May 2018 07:39:24 +0000 (10:39 +0300)]
bsd.dep.mk: Split logic for CC and CXX handling.
Previously it assumed that cc(1) will be able to handle c++ sources.
That is not the case for compilers other than gcc or clang.
While there:
* add MKDEPCC that could be used to override CC in certain
more convoluted scenarios;
* finally add a fix for hostprog deps, note that PATH skip from
NXENV is intentional, we prefer not to use host's mkdep(1).
zrj [Sat, 19 May 2018 07:36:19 +0000 (10:36 +0300)]
gcc50: Plug in WARNS framework for tools.
At this point should be no-op change.
While there, do the same for gcc50 and gcc47.
zrj [Sat, 19 May 2018 07:33:06 +0000 (10:33 +0300)]
gcc80: Create headers before depend in libbacktrace.
Avoids the situation where (if make depend fails for some reason)
build stops in a strange state.
While there, do the same for gcc50.
zrj [Sat, 19 May 2018 07:30:59 +0000 (10:30 +0300)]
boot/pc32: Filter out global LDFLAGS.
For cases when we need to set global LDFLAGS for compiler frontends.
Sascha Wildner [Sat, 19 May 2018 11:31:16 +0000 (13:31 +0200)]
kernel: Declare the enum for the guest type before using it.
Found-by: zrj
Sascha Wildner [Sat, 19 May 2018 11:30:36 +0000 (13:30 +0200)]
hammer(8): Add inline keywords in two prototypes of inline functions.
Found-by: zrj
Matthew Dillon [Sat, 19 May 2018 06:41:14 +0000 (23:41 -0700)]
kernel - Fix swapcache cleaning issue
* Fix a bug when a single object has swapcached pages. In this
situation, when swapcache exhausts its scan of the object it
will fail to cycle back to the beginning. This prevents it
from cycling any further pages for the object.
* Does not corrupt the system or anything like that, but causes
swapcache to behave in a way that can sometimes make it less
useful.
Reported-by: tuxillo (java on monster)
Sascha Wildner [Sat, 19 May 2018 01:18:23 +0000 (03:18 +0200)]
examples/rconfig: Fix typos.
Sascha Wildner [Fri, 18 May 2018 12:15:29 +0000 (14:15 +0200)]
rtld-elf: -e is an ld(1) option.
Sascha Wildner [Fri, 18 May 2018 05:23:38 +0000 (07:23 +0200)]
errno.9: Fix reference.
Sascha Wildner [Thu, 17 May 2018 20:06:21 +0000 (22:06 +0200)]
top(1): Remove an unused file from the Makefile. We do pass HAVE_GETOPT.
Based-on-a-patch-by: zrj
Sascha Wildner [Thu, 17 May 2018 20:04:54 +0000 (22:04 +0200)]
Merge branch 'vendor/TOP'
Sascha Wildner [Thu, 17 May 2018 20:03:39 +0000 (22:03 +0200)]
top(1): Remove an unused file on the vendor branch.
Sascha Wildner [Thu, 17 May 2018 12:58:22 +0000 (14:58 +0200)]
tcsh: Remove MINIX specific file from the build.
Sascha Wildner [Thu, 17 May 2018 12:56:13 +0000 (14:56 +0200)]
Merge branch 'vendor/TCSH'
Sascha Wildner [Thu, 17 May 2018 12:54:54 +0000 (14:54 +0200)]
tcsh: Remove MINIX specific file.
Reported-by: zrj
zrj [Thu, 17 May 2018 09:33:36 +0000 (12:33 +0300)]
gcc80: Add missing atomic variants in libgcov.
Use correct config (currently unused).
zrj [Thu, 17 May 2018 08:30:16 +0000 (11:30 +0300)]
gcc80: Partially implement TOOLCHAIN_CHECKING.
Will be needed for special feature testing in newer binutils.
zrj [Thu, 17 May 2018 07:20:55 +0000 (10:20 +0300)]
collect2(1): Trim sources that create empty objects.
zrj [Thu, 17 May 2018 07:17:27 +0000 (10:17 +0300)]
as(1): Trim sources that create empty objects.
Sascha Wildner [Wed, 16 May 2018 16:50:43 +0000 (18:50 +0200)]
Sync ACPICA with Intel's version
20180508 (from previously
20170831).
Tons of fixes and improvements.
For detailed list, please see sys/contrib/dev/acpica/changes.txt.
Sascha Wildner [Wed, 16 May 2018 07:18:38 +0000 (09:18 +0200)]
Bring in an errno.9 manual page (based on NetBSD's).
Sascha Wildner [Tue, 15 May 2018 06:31:39 +0000 (08:31 +0200)]
Update the pciconf(8) database.
April 28, 2018 snapshot from https://pci-ids.ucw.cz
Sascha Wildner [Tue, 15 May 2018 06:29:47 +0000 (08:29 +0200)]
kernel/ipfw3: Remove unused malloc type.
Sascha Wildner [Tue, 15 May 2018 06:28:25 +0000 (08:28 +0200)]
Remove some headers via 'make upgrade'.
zrj [Tue, 8 May 2018 15:20:05 +0000 (18:20 +0300)]
LTO: Few workarounds for gcc80 -flto.
zrj [Wed, 2 May 2018 15:34:06 +0000 (18:34 +0300)]
bsd.sys.mk: Add handling for gcc80.
* Turn off -Wformat-* family of warnings, the -Wformat-truncation and
-Wformat-overflow is just too noisy for not much benefit.
Do the same for -Wstringop-* family for now.
Move these warnings (at their default settings) to WARNS_AUDIT.
* Disable -Wimplicit-fallthough at WARNS=3, most of contrib is there.
zrj [Wed, 2 May 2018 14:26:29 +0000 (17:26 +0300)]
world: Lower WARNS for bmake/tcsh contrib.
Revert this once issues have been solved upstream.
zrj [Wed, 2 May 2018 13:50:54 +0000 (16:50 +0300)]
gcc80: Mark few sources as special for narrowing.
While there, add -Wpragmas suppression for gcc47.
zrj [Wed, 2 May 2018 13:43:22 +0000 (16:43 +0300)]
gcc80: Activate workaround for libgcc_pic.a.
Port
082b455eab27fdd982397abd20137b57c063d594 from gcc50.
zrj [Wed, 2 May 2018 13:42:24 +0000 (16:42 +0300)]
gcc80: Hook into the buildworld as optional compiler.
This alternative compiler can be activated by WORLD_ALTCOMPILER variable.
It will not be built by default.
zrj [Wed, 2 May 2018 13:40:58 +0000 (16:40 +0300)]
gcc80: Add pregenerated manpages.
zrj [Wed, 2 May 2018 13:36:10 +0000 (16:36 +0300)]
gcc80: Add pregenerated headers.
zrj [Wed, 2 May 2018 13:35:59 +0000 (16:35 +0300)]
gcc80: Bring in makefiles but leave them unhooked.
Makefile infrastructure was reused from gcc50 one writen by John Marino.
zrj [Wed, 2 May 2018 13:34:50 +0000 (16:34 +0300)]
gcc80: Handle TZ specific "%+" format in strftime.
After removal of %b and %r formats from kernel,
only one extra format remains.
Requested-by: swildner
zrj [Wed, 2 May 2018 13:32:23 +0000 (16:32 +0300)]
gcc80: Remove throw() from protos in libstdc++ headers.
The throw() as dynamic exception specificators was deprecated in c++11
and removed in c++17 (empty was made as an alias to noexcept(true)).
Our libc headers does not have the __attribute__(__nothrow__) markups.
To make libstdc++ fully usable for clangs on DragonFly it makes sense
to just remove the throw() additions in c++ language binding headers.
Previously in gcc50 we were excluding them just for __clang__ case as in:
838772be3c028f0cfd9fae5da181858e4199863a
zrj [Wed, 2 May 2018 13:19:51 +0000 (16:19 +0300)]
gcc80: Include <stdlib.h> for alloca() prototype.
zrj [Wed, 2 May 2018 13:18:32 +0000 (16:18 +0300)]
gcc80: Add alternative variant of pthread presence checking.
Port the
5f76495ba37ea12fb60cf57228cc78b83d889fb from gcc50.
zrj [Wed, 2 May 2018 13:17:46 +0000 (16:17 +0300)]
gcc80: Adjust search paths for base compiler layout.
All tools are located in a common /usr/libexec/gcc80/ directory.
zrj [Wed, 2 May 2018 13:14:32 +0000 (16:14 +0300)]
gcc80: Adjust default dynamic linker search location.
Needed for split root setups.
zrj [Wed, 2 May 2018 13:13:52 +0000 (16:13 +0300)]
gcc80: Document changes in contrib sources.
zrj [Wed, 2 May 2018 13:08:23 +0000 (16:08 +0300)]
Add READMEs for new vendor/GCC80 branch.
Next planned major gcc version update is gcc-11.0 in next three years.
Roadmap: gcc34 -> gcc41 -> gcc44 -> gcc47 -> gcc50 -> gcc80 [-> gcc11]
Sepherosa Ziehau [Mon, 14 May 2018 14:35:04 +0000 (22:35 +0800)]
x86_64/lapic: Use function pointer for EOI.
This helps upcoming X2APIC support and virtualization EOI optmization,
e.g. Hyper-V can be configured to do auto-EOI.
Discussed-with: Imre Vadasz
Sascha Wildner [Mon, 14 May 2018 09:36:05 +0000 (11:36 +0200)]
libc/termios: #undef TTYDEFCHARS after including <termios.h>.
Sascha Wildner [Mon, 14 May 2018 09:35:08 +0000 (11:35 +0200)]
kernel: Include <sys/ttydefaults.h> where appropriate.
This is in preparation for moving <sys/termios.h> to <termios.h>.
Sascha Wildner [Mon, 14 May 2018 07:04:37 +0000 (09:04 +0200)]
hammer2(8)/svc(8): Include <sys/ttycom.h> for ioctls.
zrj [Mon, 14 May 2018 04:36:02 +0000 (07:36 +0300)]
Merge remote-tracking branch 'origin/vendor/GCC80'
Sascha Wildner [Sun, 13 May 2018 09:25:54 +0000 (11:25 +0200)]
ipfw3: Fix kernel building without DEBUG in the config as well.
Sascha Wildner [Sun, 13 May 2018 08:08:02 +0000 (10:08 +0200)]
Fix LINT64 for the recent ipfw3 changes.
Reported-by: ftigeot
François Tigeot [Sun, 13 May 2018 07:41:31 +0000 (09:41 +0200)]
kernel: Remove vm_zeroidle.c
Background page zeroing doesn't bring any performance benefit
on modern hardware.
François Tigeot [Sun, 13 May 2018 07:13:59 +0000 (09:13 +0200)]
drm/linux: Add cond_resched()
Matthew Dillon [Sat, 12 May 2018 03:50:07 +0000 (20:50 -0700)]
kernel - pack struct fid
* Use __packed for struct fid for correctness. Does not change generated
code.
Matthew Dillon [Sat, 12 May 2018 03:48:39 +0000 (20:48 -0700)]
tmpfs - Fix tmpfs_fid, fix NFS exports
* Fix the tmpfs_fid structure, the 64-bit elements made it incompatible
with the system fid mapping.
This fixes NFS exports of a tmpfs filesystem.
* Fix tmpfs_fhtovp, the inode number can exceed tmp->tm_nodes_max,
do not error-out in that case.
Bill Yuan [Sat, 12 May 2018 15:26:07 +0000 (15:26 +0000)]
ipfw3_nat: highspeed lockless in-kernel NAT
RB-Tree to stored the state for the outgoing packets, and multidimentional
array of pointers to keep the state for the incoming packets.
Sascha Wildner [Fri, 11 May 2018 10:06:50 +0000 (12:06 +0200)]
mtree(8): Fix crc() prototype.
It is taken from usr.bin/cksum/crc.c. This fixes a -Wlto-type-mismatch
warning reported by zrj. Similar to the fix for ckdist(1) as pushed in
e69bb3d9c4c6d6073c9c9c4a54753458fae55c7e.
Sascha Wildner [Fri, 11 May 2018 09:46:03 +0000 (11:46 +0200)]
rpc.yppasswdd(8): Fix ok_shell() prototype.
It is taken from usr.bin/chpass/util.c. This fixes a -Wlto-type-mismatch
warning reported by zrj.
Sascha Wildner [Thu, 10 May 2018 17:51:34 +0000 (19:51 +0200)]
tcp_wrappers: Remove mystdarg.h and simplify code.
This fixes an -Wlto-type-mismatch warning (reported by zrj) because
syslog()'s prototype was wrongly setup (using VARARGS but it has to
take 2 arguments).
Sascha Wildner [Thu, 10 May 2018 07:21:13 +0000 (09:21 +0200)]
mount{,_ufs}(8): Remove unnecessary code to prevent warnings.
Matthew Dillon [Wed, 9 May 2018 23:51:44 +0000 (16:51 -0700)]
vkernel - Adjust to fix buildkernel
* Adjust to fix buildkernel
Sascha Wildner [Tue, 8 May 2018 19:22:18 +0000 (21:22 +0200)]
ckdist(1): Sync with FreeBSD.
Not much to see, but it allows us to raise WARNS to 6, and the crc()
prototype adjustment part also fixes a -Wlto-type-mismatch warning
that was..
Reported-by: zrj
zrj [Wed, 2 May 2018 13:07:02 +0000 (16:07 +0300)]
Import GCC-8 to a new vendor branch