summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-02The t.t test is missing and so the t.* test is not being run.Daniel Dickman
Reconstruct a passing t.t based on the input data (t.d) and the expected result (t.r).
2014-12-02In sys_socket() and doaccept(), gotta skip setting the close-on-execPhilip Guenther
flag if the falloc() fails reported by Carlin Bingham (cb (at) viennan.net) ok deraadt@ tedu@
2014-12-02regenBrad Smith
2014-12-02Add Samsung SSD controller.Brad Smith
2014-12-01use reallocarray() deep inside an macro ugly as sinTheo de Raadt
2014-12-01memcpy abort found an overlap. from dsp at 2f30. ok deraadtTed Unangst
2014-12-01Another fix for insertion from Balazs Kezes. On insertion, size the lineNicholas Marriott
just enough for the inserted characters.
2014-12-01A couple of minor changes to the "Terminal Special Files" section toNicholas Marriott
help users connect that "hardware terminal ports" are usually their serial ports. Also Xr cu(1) rather than tip(1). ok jmc
2014-12-01An internal function called xrealloc() is actually a fail-hardTheo de Raadt
reallocarray()... so rename it.
2014-12-01reconvert (rereconvert?) to memcpy except in the one case where memmoveTed Unangst
is needed. more thoroughly reviewed. ok deraadt
2014-12-01Make every interface with a watchdog register it's own slow timeoutMike Belopuhov
This removes the system wide if_slowtimo timeout and lets every interface with a valid if_watchdog method register it's own in order to get rid of the ifnet loop in the softclock context and avoid further complications with concurrent access to the ifnet list. ok deraadt, input and ok mpi, looked at by claudio
2014-12-01Check ZOOMED flag on window.Nicholas Marriott
2014-12-01more opportunity to use reallocarray(); ok ottoTheo de Raadt
2014-12-01header cleanup:Ingo Schwarze
* add missing forward declarations * remove needless header inclusions * some style unification
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