Commit Graph

258406 Commits

Author SHA1 Message Date
christos cfc8dcb49a Merge 2018e
Changes to code

    zic now accepts subsecond precision in expressions like
    00:19:32.13, which is approximately the legal time of the
    Netherlands from 1835 to 1937.  However, because it is
    questionable whether the few recorded uses of non-integer offsets
    had subsecond precision in practice, there are no plans for tzdata
    to use this feature.  (Thanks to Steve Allen for pointing out
    the limitations of historical data in this area.)

    The code is a bit more portable to MS-Windows.  Installers can
    compile with -DRESERVE_STD_EXT_IDS on MS-Windows platforms that
    reserve identifiers like 'localtime'.  (Thanks to Manuela
    Friedrich).

  Changes to documentation and commentary

    theory.html now outlines tzdb's extensions to POSIX's model for
    civil time, and has a section "POSIX features no longer needed"
    that lists POSIX API components that are now vestigial.
    (From suggestions by Steve Summit.)  It also better distinguishes
    time zones from tz regions.  (From a suggestion by Guy Harris.)

    Commentary is now more consistent about using the phrase "daylight
    saving time", to match the C name tm_isdst.  Daylight saving time
    need not occur in summer, and need not have a positive offset from
    standard time.

    Commentary about historical transitions in Uruguay has been expanded
    with links to many relevant legal documents.
    (Thanks to Tim Parenti.)

    Commentary now uses some non-ASCII characters with Unicode value
    less than U+0100, as they can be useful and should work even with
    older editors such as XEmacs.
2018-05-04 15:51:00 +00:00
christos ee08ce7d85 include bsd.hostinit.mk instead of bsd.init.mk 2018-05-04 14:50:40 +00:00
christos 89df939d83 revert previous, breaks llvm build and not easy to fix. 2018-05-04 14:50:18 +00:00
kamil 952d62f12f Improve the category of libbozohttpd.0 in distribution sets
It's man-sys-catman, not man-netutil-catman.
2018-05-04 14:23:19 +00:00
kamil 27688c1e0f Register a new cat page: libbozohttpd.0
Fix build of the distribution with MKCATPAGES=yes.
2018-05-04 14:15:41 +00:00
kamil 410141583e Improve wording for non-native speakers of English
Improve wording in t_ubsan tests in for c++.

No functional change intended.

Follow the changed in cc/ by <martin>
2018-05-04 12:51:18 +00:00
sevan 9dcd6aed75 Unbreak build until the privatisation of libbozohttpd is settled.
heads up & patch thanks to <leot>
2018-05-04 12:44:40 +00:00
kamil 1560a24938 Explain VLA in c++/t_ubsan_vla_out_of_bounds.sh (ATF test)
VLA - Variable Length Array

Requested by <martin>
2018-05-04 12:27:58 +00:00
kamil 15009a7646 Explain VLA in t_ubsan_vla_out_of_bounds.sh (ATF test)
VLA - Variable Length Array

Requested by <martin>
2018-05-04 12:26:53 +00:00
maxv eced41b4e7 Remove duplicate macros. Reported in PR/29786. 2018-05-04 11:25:24 +00:00
wiz fce0481bf8 gcc-8.1 is out. 2018-05-04 11:11:47 +00:00
kre 9409f8451a Note update of tzdata to 2018e 2018-05-04 10:56:23 +00:00
kre 2e302b684b Merge tzdata2018e 2018-05-04 10:54:19 +00:00
kre 11364f1d64 Import tzdata2018e from ftp://ftp.iana.org/tz/releases/tzdata2018e.tar.gz
Summary of changes in tzdata2018e (2018-05-01 23:42:51 -0700):

News for the tz database

Release 2018e - 2018-05-01 23:42:51 -0700

    North Korea switches back to +09 on 2018-05-05 (tomorrow!)
2018-05-04 10:53:16 +00:00
martin d3941ea9b2 Use more formal speech in messages 2018-05-04 10:44:24 +00:00
pgoyette b42bc35ca8 Clean up a stray #ifdef _MODULE - it prevented definition of
COMPAT_SIGCONTEXT which in turn prevented building of the
SYS_compat16_sigaction_14 code.

Should address PR kern/53260

XXX Pull-up to netbsd-8
2018-05-04 08:55:25 +00:00
christos 8a7e8e86d2 define MBUFTYPES here. 2018-05-04 08:47:55 +00:00
christos 199c4c7e35 undo extra sbtimestamp argument. 2018-05-04 08:35:07 +00:00
christos 6198f8fd70 oops forgot to commit this one (fixes for prototypes) 2018-05-04 08:33:43 +00:00
christos a9650da3cd remove bsd.hostinit.mk 2018-05-04 00:36:16 +00:00
christos 9da3d19461 remove bsd.hostinit.mk; it breaks install. 2018-05-04 00:33:48 +00:00
pgoyette 3510fa3acc Add some comments/suggestions from John Nemeth. Thanks! 2018-05-04 00:25:26 +00:00
sevan c38e7cc395 Hello bozohttpd(3lua) 2018-05-03 22:51:17 +00:00
sevan 4e0254f1b8 Hello libbozohttpd(3)
Enabling as it is a dependency for bozohttpd(3lua).
2018-05-03 22:27:58 +00:00
christos 331cb3c9dd Fix COMPAT_NETBSD32 cmsg handling:
1. alignment was wrong for > 1 message
2. macros were doing incorrect pointer comparisons, fortunately ending
   the iteration early after the fists cmsg instead of crashing.
3. don't output 32 bit ktrace records for cmsg. 32 bit programs running
   under emulation on 64 bit systems should produce 64 bit ktrace records
   so that the native ktrace can handle the records; remove extra arguments
   that are now not needed (the 32 bit msghdr).
4. output the correct type for cmsg trace records.
5. output all the cmsg records in traces instead of just the first one.

Welcome to 8.99.15 because of the argument removal.

XXX: Really all the code should be changed to use the CMSG_{FIRST,NXT}HDR
macros...
2018-05-03 21:43:33 +00:00
christos dffc79e6eb make mbuftypes always visible 2018-05-03 21:37:29 +00:00
jnemeth 2526875ebb time marches on for lvm2tools 2018-05-03 20:15:49 +00:00
maxv eb485b2186 Remove ovbcopy from net80211. 2018-05-03 17:14:37 +00:00
kamil 6c2b937b44 Fix VLC -> VLA 2018-05-03 17:03:20 +00:00
kamil 16df6f87f0 Register new acronym in wtf(6)
VLC    variable length array

Noted by <martin>
2018-05-03 17:01:08 +00:00
maxv afdfea6b9c Drop early if there's no PPPoE interface. Otherwise it is easy for someone
to flood dmesg over the local subnet.
2018-05-03 16:52:42 +00:00
ryo 2972297404 add aarch64 support for cpuctl identify. 2018-05-03 15:47:36 +00:00
ryo cfdea5e9ed add sysctl for machdep.{cpu_id,id_revidr,id_mvfr,id_mpidr,id_aa64isar,id_aa64mmfr,id_aa64pfr}
each corresponding to system registers MIDR_EL1, REVIDR_EL1, MVFR*_EL1, MPIDR_EL1, ID_AA64ISAR*_EL1, ID_AA64MMFR*_EL1, ID_AA64PFR*_EL1.
2018-05-03 15:47:22 +00:00
htodd 984edf1205 Added NTBF. 2018-05-03 15:38:13 +00:00
maxv b4941eaf39 Remove unused M_MAXCOMPRESS macro. 2018-05-03 08:39:28 +00:00
maxv 908db84b9f Fix comment, M_LOOP is not used for statistics, it's mostly used to avoid
recomputing the checksum when the packet is received on loopback.
2018-05-03 08:14:29 +00:00
maxv a9dcd320ab Revert my rev1.190, remove the M_READONLY check. The initial code was
correct: what is read-only is the mbuf storage, not the mbuf itself. The
storage contains the packet payload, and never has anything related to
mbufs. So it is fine to remove M_PKTHDR on mbufs that have a read-only
storage.

In fact it was kind of obvious, since several places already manually
remove M_PKTHDR without taking care of the external storage.
2018-05-03 07:46:17 +00:00
hannken 6c7fda3054 nfsrv_readlink: stop attaching a zero-length mbuf for zero length symlinks. 2018-05-03 07:28:43 +00:00
maxv 04b61f509d Rename m_pkthdr_remove -> m_remove_pkthdr, to match the existing naming
convention, eg m_copy_pkthdr and m_move_pkthdr.
2018-05-03 07:25:49 +00:00
maxv 5d73803e75 Remove now unused tcpip.h includes. Some were already unused before. 2018-05-03 07:13:48 +00:00
maxv 4a165b5280 Remove m_copy completely. 2018-05-03 07:01:08 +00:00
maxv 9208f79f61 Remove net_osdep.h completely. 2018-05-03 06:41:30 +00:00
wiz f3452549f5 Sync usage with manpage. 2018-05-03 05:14:55 +00:00
wiz 48d7082b13 Merge options without arguments in synopsis. 2018-05-03 05:13:20 +00:00
wiz b105f2c163 Remove Pps without effect. 2018-05-03 05:11:43 +00:00
wiz b4c2969caa Sort sections. Sort ERRORS. Remove trailing whitespace. 2018-05-03 05:09:48 +00:00
maya 1322379206 regen 2018-05-03 04:22:17 +00:00
maya 185d82940b Add some broadcom 802.11ac wifi devices 2018-05-03 04:21:10 +00:00
jmcneill 68d92515b3 Add support for poweroff and the power on-off key (POK). 2018-05-03 02:10:17 +00:00
jmcneill 2fea52f446 Use IPL_VM for bus lock so we can do i2c xfers from interrupt context 2018-05-03 02:08:52 +00:00