summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-01clist's chained, and could get fairly long which is why there was aTheo de Raadt
dynamic clamping mechanism. In the (new? has it already been 20 years?) world of tty ring buffers, c_cn is the maximum... There could be some ugly limit elsewhere, which may cause a deadlock (dug as deep as my patience allows), so please report any sort of new console or xterm issues that show up, such as tty lockups or high cpu utilization..
2014-12-01update currency exchange rates;Jason McIntyre
2014-12-01Check the header fields of GRE and MPPE packets strictly.YASUOKA Masahiko
2014-12-01three trivial reallocarray() usesTheo de Raadt
2014-12-01sed has a xreallocarray(), but two n*s cases were not replacedTheo de Raadt
2014-12-01trivial reallocarray() useTheo de Raadt
2014-12-01use reallocarray()Theo de Raadt
2014-12-01Remove an unused gdt structure definition.Mike Larkin
2014-12-01The header libmandoc.h is part of the internal parser interface,Ingo Schwarze
but html.c is not part of the parser at all, so it cannot include that header, and actually, it doesn't need it. Found while auditing includes after Theo's recent *.h commit.
2014-12-01Remove an old and superfluous comment, and fix some KNF style issues inMike Larkin
some other comments.
2014-12-01Fix %c for floating values that become 0 when coerced to int.Todd C. Miller
From Jeremy Devenport
2014-12-01Use warnc() to use the correct errno value for FTS_DNR, FTS_NS andTodd C. Miller
FTS_ERR. From Piotr Durlej.
2014-12-01rxr ioctl handling.Brad Smith
2014-12-01run script with ${SHELL}Theo de Raadt
2014-11-30Fix a minor documentation bug: When given the old real ID unchanged,Ingo Schwarze
it is assigned to the saved ID even if no new effective ID is given, but the existing effective ID differs from the saved ID. Update STANDARDS and purge the redundant CAVEATS section. OK millert@ jmc@, no objections from tedu@
2014-11-30SPARC T4 and later have a pause instruction to voluntarily pause a virtualMark Kettenis
processor in order to give other strands a chance to run. Use it in __mp_lock_spin_hook() to avoid wasting CPU cycles if we're waiting for the kernel or scheduler locks. This is instruction is patched in, just like we already do for the sleep instruction on SPARC64 VI processors. We look at the hwcap-list property of the cpu nodes in the machine description to decide whether the pause instruction is available.
2014-11-30update STANDARDS; ok millert@ jmc@Ingo Schwarze
2014-11-30delete three standard abbreviations that areIngo Schwarze
* no longer used in our tree * not used in any of NetBSD, FreeBSD, or DragonFly * not supported by groff
2014-11-30Don't overwrite fields in the message when setting up the REMOTE_NDIS_SET_MSGMark Kettenis
command in urndis_ctrl_set(). Seems many RNDIS hardware doesn't care about the overwritten fields, but the SunMicro Virtual Eth Device found in newer Oracle SPARC hardware does. ok armani@
2014-11-30do not use .St -p1003.1d-99 which is used in exactly two pages;Ingo Schwarze
im going to delete support for it from mandoc(1)
2014-11-30Replace all 14 instances of .St -ansiC-99 in our tree with .St -isoC-99.Ingo Schwarze
The former is not used anywhere in NetBSD, FreeBSD, or DragonFly and not supported by groff, so i'm going to delete it from mandoc(1). We don't need two macros for the same thing.
2014-11-30Unbreak zzz/ZZZ resume - ensure NX is re-enabled on resume (if enabled).Mike Larkin
Also transformed some complicated code that was setting EFER into something much simpler. Tested on a variety of real machines, emulators/VMs, MP, UP, zzz, ZZZ, NX on, NX off ... ok deraadt@
2014-11-30obvious STANDARDS updateIngo Schwarze
2014-11-30move the description of flags from the SYNOPSIS to the DESCRIPTION;Ingo Schwarze
from <kaspars at bankovskis dot net>, minimally tweaked by me; ok guenther@ jmc@
2014-11-30panic if the kernel requests W | X pages; ok kettenisTheo de Raadt
2014-11-30restructure libc/string + libc/arch/*/string coperation regardingTheo de Raadt
(potentially) MD versions (function dependent, not filename dependent) split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex Bring back amd64 .S versions And the final touch: switch all architectures temporarily to MI memcpy.c, which contains syslog + abort for overlapping copies. A nice harsh undefined behaviour. We will clean the entire userland of the remaining issues in this catagory, then switch to the optimised memcpy which skips the memmove check. I tried to cut this change into pieces, but testing each sub-step on every architecture is too time consuming and mindnumbing. ok miod
2014-11-30Mask out EFER_LMA when restoring saved EFER on zzz/ZZZ resume as it's aMike Larkin
read only bit. Also fix some comments describing EFER bits that were obviously wrong. ok deraadt@
2014-11-30Fix comment: We don't use RC4 anymore, it's better to be moreDavid Coppa
generic. ok miod@
2006-10-10Preliminary userland bits for OpenBSD/landisk, many things coming fromMiod Vallat
NetBSD.
2014-11-30much simpler checks, always enforce root/bin (or root/wheel for symlinks)Marc Espie
for files without @owner/@group annotations, independently of who you are. This should fix building-as-root for good, even without twiddling FAKE_AS_ROOT.
2014-11-30interactive/progressmeter clean-upMarc Espie
2014-11-30much cleaner way to handle progress meter wipes: have state methods thatMarc Espie
do print something call sync_display (which does nothing by default), and override THAT one for the progressmeter case to go clear. Should sync by default now.
2014-11-30mandoc -Tlint fixes from <kaspars at bankovskis dot net>Ingo Schwarze
2014-11-30get rid of some of the unadorned printfsMarc Espie
2014-11-30missed some.Marc Espie
2014-11-30forgot to take that out...Marc Espie
2014-11-30In mopFileRead(), make sure to never increment e_cursec beyond e_nsec, soMiod Vallat
that the next call to this function will not access e_sections[] out of bounds. Repairs mopa.out(1) behaviour noticed by sebastia@
2014-11-30clear progress meter before asking questionsMarc Espie
From Carlin Bingham
2014-11-30Remove dead code, from Thomas Adam.Nicholas Marriott
2014-11-30Remove passing an override of INSTALL_PROGRAM to theBrad Smith
autoconf script. It doesn't seem to serve any purpose. ok sthen@
2014-11-30Multiple fixes with respect to .Pf:Ingo Schwarze
* The first argument of .Pf is not parsed. * Normal delimiter handling does not apply to the first argument of .Pf. * Warn if nothing follows a prefix (inspired by groff_mdoc(7)). * In that case, do not suppress spacing.
2014-11-30Even though not callable, "Ed" is a macro name, so for clarity,Ingo Schwarze
escape it when it appears on a macro line.
2014-11-30warn about attempts to call non-callable macros;Ingo Schwarze
inspired by a similar warning in the groff_mdoc(7) macros
2014-11-30Remove non-portable use of .Pf that doesn't work with groff;Ingo Schwarze
found because the groff_mdoc(7) macros warn about it.
2014-11-30rxr ioctl handling.Brad Smith
2014-11-30Don't check for hardware address change unless link was up. DelayKenneth R Westerback
construction of default client identifier until link is up (i.e. do it in state_reboot()).
2014-11-29rxr ioctl handling.Brad Smith
ok sf@
2014-11-29Explicitly initialize client->state to S_REBOOTING rather thanKenneth R Westerback
relying on S_REBOOTING being 0.
2014-11-29Reapply a patch to stop rebuilding libperl with incorrect flagsAndrew Fresh
Help from miod@ and kettenis@ OK kettenis@ millert@
2014-11-29it should not be necessary to clear the direction flagTed Unangst
ok deraadt