summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-24Flush cache before suspend.Mark Kettenis
ok krw@, marco@
2010-05-24Link against libc_p and libpthread_p when -p or -pg is specified, like we didMark Kettenis
for gcc3. ok espie@
2010-05-24removed prototypes for functions that were removed.David Gwynne
patch from matthew dempsky
2010-05-24atascsi may (will) reuse ata_xfers, meaning the xa state thatDavid Gwynne
ahci_ata_cmd is called with might be the state of the xfer that ahci set previously. this stops ahci_ata_cmd from checking the state of ata_xfers its given, and instead trusts that atascsi is doing the right thing. reported and fix tested by matthew dempsky, who also did an awesome job of tracing the problem.
2010-05-24sync to bsd.lv: remove needless #include <time.h>Ingo Schwarze
2010-05-24remove the now unused #define MAN_EL_USE,Ingo Schwarze
forgotten when backing my .if/.ie/.el out of libman
2010-05-24The inputIngo Schwarze
.Bl -tag .Sm off .It ... triggered an assertion, which it shouldn't; the warning that .Bl -tag "requires the width argument" is enough. From Joerg Sonnenberger.
2010-05-24remove bpfdetach() here, because it is called correctly in if_detach()David Gwynne
afterwards diff from gleydson soares ok claudio@
2010-05-24there is no reason for one MAXPHYS definition to be different from all the ↵Theo de Raadt
others
2010-05-24sync to bsd.lv:Ingo Schwarze
modern groff produces three blank lines before the man(7) footer; from Joerg Sonnenberger.
2010-05-24Remove the drm drivers that are not enabled (and have never been so).Owain Ainsworth
For now they are unmaintained, and work on kernel modesetting has very large inferface changes needing to be made. Also, when the radeon driver has been converted over, we will no longer support X with the DRI1 protocol, only DRI2. When the upheaval has finished, these drivers may be brought back after work to switch them to DRI2 style memory management and kernel modesetting has been done, but until then they are unsupported and probably broken (i know at least two of them have been reported broken before now). ragedrm will likely come back as a component of radeon (their interfaces are still fairly similar). The other drivers require rewriting. I have been threatening to do this for over a year. Discussed with deraadt@ and matthieu@ at various points since then.
2010-05-24Fix the code to add a line break before .Nm in the SYNOPSIS;Ingo Schwarze
patch from Joerg Sonnenberger; this finally fixes the test(1) SYNOPSIS.
2010-05-24Increase performance by saving the list type in struct mdoc_node.Ingo Schwarze
This will eventually be used so that mdoc_macro can know whether to dump list line arguments into the body (`Bl -column' overflowing). Remove a2list() and arg_listtype() because of this. From kristaps@. While merging, fix a regression in mdoc_term.c, print_bvspace(): The bsd.lv version of this broke vertical spacing in .Bl -column.
2010-05-23fix the build (oops, sorry!):Ingo Schwarze
sigvec(3) triggers MANDOCERR_BODYLOST, which must not be fatal
2010-05-23Unified error and warning message system for all of mandoc,Ingo Schwarze
featuring three message levels, as agreed during the mandoc hackathon: * FATAL parser failure, cannot produce any output from this input file: eventually, we hope to convert most of these to ERRORs. * ERROR, meaning mandoc cannot cope fully with the input syntax and will probably lose information or produce structurally garbled output; it will try to produce output anyway but exit non-zero at the end, which is eventually intended to make the ports infrastructure happy. * WARNING, meaning you should clean up the input file, but output is probably mostly OK, so this will not cause error-exit at the end. This commit is mostly just converting the old system to the new one; before the classification will become really reliable, we must check all messages. In particular, * set up a new central message string table in main.c * drop the old message string tables from man.c and mdoc.c * get rid of the piece-meal merr enums in libman and libmdoc * reduce number of error/warning functions from 16 to 6 (still a lot...) While here, handle a few problems more gracefully: * allow .Rv and .Ex to work without a prior .Nm * allow .An to ignore extra arguments * allow undeclared columns in .Bl -column Written by kristaps@.
2010-05-23seteconf() died years agoTheo de Raadt
2010-05-23#ifdef arc is just too common, but I don't know how to extract this correctlyTheo de Raadt
so make that __arc__ for now, to avoid collisions ok miod
2010-05-23implement .AT and .UC; from Joerg SonnenbergerIngo Schwarze
2010-05-23Small fix for `D1' and `Bd' in -Thtml; from kristaps@.Ingo Schwarze
2010-05-23Pass in the session, rather than the client, to window modes' key()Nicholas Marriott
function. We were only ever using the client to find the session anyway. This allows send-key to work properly for manipulating copy mode from outside tmux. From Micah Cowan.
2010-05-23When executing external mda, call dup2, closefrom, and chdir beforeJacek Masiulaniec
setresuid because after dropping superuser privileges the process cannot be trusted to call these. Thanks to oga@, kettenis@, and nicm@ for confirming my paranoia.
2010-05-23Does not need -Dloongson, and instead, but -D__loongson__ is nice since that isTheo de Raadt
the mach (arch is mips64). Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23Does not need -Dlandisk, and instead, but -Dlandisk is nice since that isTheo de Raadt
the mach (arch is sh). Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23Move towards passing $PARAM around in CPPFLAGS, instead of compiling param.cTheo de Raadt
in a special way, as discussed with miod
2010-05-23no need for -Dhppa or -Dhppa64 on these architecturesTheo de Raadt
2010-05-23Move towards passing $PARAM around in CPPFLAGS, instead of compiling param.cTheo de Raadt
in a special way, as discussed with miod
2010-05-23no need for -D__i386__ since it is supplied by the compiler.Theo de Raadt
Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23no need for -Dx86_64 or -Damd64, since __amd64__ is supplied by theTheo de Raadt
compiler. Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23alpha does not need to -DalphaTheo de Raadt
2010-05-23remove another piece of ancient #ifdef arc codeTheo de Raadt
2010-05-23fix another signed/unsigned slipt. no functional change. I hate thisOwain Ainsworth
header. Found by Clang static analyser.
2010-05-23can use __${mach}__ and do not need -Dmc68020 anymoreTheo de Raadt
2010-05-23mac68k can move to defining __mac68k__ insteadTheo de Raadt
2010-05-23luna88k moves to defining __luna88k__ insteadTheo de Raadt
2010-05-23toast __arc__; we gave up on that platform around a decade agoTheo de Raadt
2010-05-23missing dkio.h includes; ok krw@Christian Weisgerber
2010-05-23GCC PR C++/33094.Marc Espie
C++ semantics fix. Member constants can be file-local, if they're not external. Fixes build of py-tagpy, which barfs in Boost otherwise. (original fix, different text from gcc 4.2.4) okay deraadt@, kettenis@
2010-05-23move hp300 to -D__hp300__; ok miodTheo de Raadt
2010-05-23rely on __alpha__ instead of alphaTheo de Raadt
2010-05-23rely on __alpha__, __amd64__, and __i386__ insteadTheo de Raadt
2010-05-23rely on __sparc__ insteadTheo de Raadt
2010-05-23syncTheo de Raadt
2010-05-23use __alpha__ not alpha for the ifdefTheo de Raadt
2010-05-23add dkio.h to the last of the disk ioctl users i can find.David Gwynne
requested by deraadt@ who was rightly disparaging of my grep skillz.
2010-05-23remove unused functionCharles Longeau
from tobias@ (loooooong time ago) ok henning@ claudio@ tobias@
2010-05-23Place drive in standby mode before shutdown. Avoids the loud click heard onMark Kettenis
many laptops when powering them down. ok jsg@, oga@, krw@
2010-05-22Remove instruction TLB purges for direct mappings that will never have theMark Kettenis
X bit set.
2010-05-22this is amd64, not i386, and the protection was all bustedTheo de Raadt
2010-05-22macppc never has i386 defined; ok drahnTheo de Raadt
2010-05-22protection should use the upper case namesTheo de Raadt