summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-28Call readdisksector() instead of rolling our own. Drop <sys/systm.h>Mark Kettenis
include. Reduces the diffs to the amd64/i386 version of this code. ok drahn@
2018-05-28fix mail-from in relay rules, was not propagated from grammar to mtaGilles Chehade
reported by a user
2018-05-28rwsleep: generalize to support both read- and write-locks.cheloha
Wanted for tentative clock_nanosleep(2) diff, but maybe useful elsewhere in the future. ok mpi@
2018-05-28Constipate a bunch of time functionsPhilip Guenther
ok tb@ kettenis@
2018-05-28zero memory before calling text_to_relayhost()Eric Faurot
fix issue reported by semarie@ ok gilles@
2018-05-28stop processing envelope if smarthost parsing failedEric Faurot
ok gilles@
2018-05-28Call vput(dvp) in vnode operation functions instead of calling it inVisa Hankala
the file allocation routine. This allows stepwise changing of the vnode locking discipline. OK mpi@
2018-05-28When mounting an ext2 filesystem, lock the device vnode for the durationVisa Hankala
of the vinvalbuf() call, just like is done by other filesystems. This prevents a kernel panic with VFSLCKDEBUG. OK mpi@
2018-05-28John Gardner tells me that among frontend developers, gratuitous useIngo Schwarze
of double selectors like "element.class" is considered poor style. When doing selection mainly by elements is not appropriate because most elements require several different styles, exclusively selecting by class is less cumbersome, more concise, and more flexible. So drop the elements from the selectors, except where they are required for disambiguation and except where they add clarity due to the presence of child selectors.
2018-05-28URL-fragment strings can only contain certain characters.Ingo Schwarze
Fixing HTML syntax violations e.g. in pf.conf(5) and ifconfig(1) reported by Anton Lazarov <lists at wrant dot com>.
2018-05-28When looking for panes, ignore dead ones (with -1 fileNicholas Marriott
descriptor). GitHub issue 1354.
2018-05-28Document escaping inside conditionals, from "sadie-parayno" in GitHubNicholas Marriott
issue 1359.
2018-05-28regenMartin Pieuchot
2018-05-28missing m_close()Eric Faurot
ok gilles@
2018-05-28Next step in disentangling the switches in in_ioctl(). Split out theTheo Buehler
handling of SIOCAIFADDR, SIOCDIFADDR, SIOCSIFADDR into a separate function, analogously to what was done in in6_ioctl(). tested by hrvoje ok visa
2018-05-28regenMartin Pieuchot
2018-05-28Grab the KERNEL_LOCK() after socreate() and soconnect2() in socket(2)Martin Pieuchot
and socketpair(2). Tested by many as part of a larger diff, ok visa@ some time ago.
2018-05-28Regress for the dup2(2) vs accept(2) race.Martin Pieuchot
Note that you need a new kernel otherwise this test will make your machine panic!
2018-05-28Add clock support for i.MX8MQ. Most of the clocks can be configuredPatrick Wildt
using a single register which consists of root, div, pre-div, clock gate and src (mux). The device tree node references the root clock, and an "enable" call has to enable the clock's parents so that the clock gate is toggled as well. ok kettenis@
2018-05-28Returns EBUSY if dup2(2) is called for a LARVAL file.Martin Pieuchot
This prevents a panic due to a double free if a program exits after having called accept(2) and dup2(2) on the same fd but without the corresponding connect(5). It will also allows us to simplify file descriptor locking. The error code has been choosed to match Linux's behavior. Pointed by Mathieu on tech@ after a discussion with guenther@. ok visa@
2018-05-28Remove unused <sys/param.h>kn
OK sthen mpi
2018-05-28Get MAC address from "local-mac-address" property if provided.Mark Kettenis
ok patrick@, visa@
2018-05-28Clear the sign bit in the QNAN constants used by strtof, strtod and strtold,Jonathan Matthew
so passing "nan" and "-nan" produces a NaN with the right sign. Bug reported and diff provided by George Koehler. ok kettenis@
2018-05-28Mention column-number-mode in the tutorial to clear up a potentiallyBrian Callahan
confusing description of L and C in the mode line. Prompted by an email on tech@ by Leonid Bobrov <mazocomp () disroot ! org> Co-written by myself and florian@, ok florian@
2018-05-28document eoip(4).David Gwynne
tweaks and ok jmc@ sthen@
2018-05-28implement support for MikroTik's Ethernet over IP protocol as eoip(4)David Gwynne
it is sort of like egre(4), but different enough to warrant separate handling. more specifically, eoip sits under gre 1, not 0, and has it's own protocol id (0x6400). the gre key field is mandantory (the rest cannot be set) which is split into a 16 bit length field and a 16 bit tunnel id. lastly, it has a keepalive mechanism where peers send 0 length packets as hellos to each other periodically, which has no equivalent in egre(4) and is different to the gre(4) keepalives. ok sthen@
2018-05-28recognise MikroTik's Ethernet over IP (eoip) protocolDavid Gwynne
eoip is a twisted gre based protocol using version 1 like pptp, but a different protocol id. this splits the gre 1 protocol handling up so it doesn't assume that all packets are pptp, but decides between eoip and pptp based on the protocol field. unknown protocols are unknown rather that assumed to be pptp. ok sthen@
2018-05-27Add 20 MHz MMC clock.Mark Kettenis
2018-05-27Allwinner A64 as well.Mark Kettenis
2018-05-27Add Allwinner A64 support.Mark Kettenis
2018-05-27Implement A64 thermal sensor clocks.Mark Kettenis
2018-05-27Allwinner H3 is supported now as well.Mark Kettenis
2018-05-27Add support for the Allwinner H3 SoC.Mark Kettenis
2018-05-27sync with usbhid.h; from david bernJason McIntyre
2018-05-27Add SDIO support:Mark Kettenis
- Implement SDIO interrupt handling - Set control bit that allows CPU access to the FIFO - Fix PIO transfers that are not a multiple of 4 bytes - Handle vqmmc-supply ok patrick@
2018-05-27BCM43430 SDIO works if we load the appropriate firmware.Mark Kettenis
ok patrick@
2018-05-27Add support for the GMAC on Allwinner R40/V40 SoCs.Mark Kettenis
ok patrick@
2018-05-27On Allwinner R40, export a regmap covering the GMAC_CLK_REG.Mark Kettenis
Add a few more R40 clocks needed by the GMAC.
2018-05-27Mention that only superuser may control record.enable knob.Alexandre Ratchov
help from and ok schwarze
2018-05-27Add missing #include "audio.h" needed for the NAUDIO macro.Alexandre Ratchov
suggested by jsg, ok sthen.
2018-05-27explicitly say what update-plist does with SUBST_VARSMarc Espie
2018-05-27Drop unnecessary `p' parameter from vget(9).Visa Hankala
OK mpi@
2018-05-26Delete obsolete reference to setting segment registersPhilip Guenther
2018-05-26Only set fpu_save_len once and assert if it's too big or would differPhilip Guenther
between CPUs ok kettenis@ mlarkin@
2018-05-26Add DMA support. For some reason this doesn't work on Exynos, so disableMark Kettenis
it there.
2018-05-26Start with baby steps towards responsive design:Ingo Schwarze
Use a @media width query to select a set of default indentations. Suggested by John Gardner <gardnerjohng at gmail dot com>.
2018-05-26CR0_WP is already set in CR0_DEFAULTPhilip Guenther
2018-05-26- old implem of @rcscript predates absolute_okay.Marc Espie
I don't think the implicit cwd is needed anymore. and a full bulk agrees with me. (this will simplify update-plist's logic as @rcscript is no longer special) - mandoc special subclass never got any use, as Ingo got mandoc to be so good the distinction does not make any sense, gc it.
2018-05-26Initialize ci_idle_pcb->pcb_cr0 just once, in cpu_attach().Philip Guenther
For secondary CPUs, %cr0 is initially loaded in cpu_spinup_trampoline so don't load it again in cpu_hatch(). ok kettenis@
2018-05-26Use em units rather than ex units for horizontal lengths.Ingo Schwarze
John Gardner and others tell me it produces more predictable results and is generally considered better style. Also use 0em instead of 0ex, in general.