summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-29We always copy struct pcred when creating a new process, so the referencePhilip Guenthe
count was always one. That's pointless, so remove the member and the code. ok tedu@
2010-06-29no more ultrix, found by miodTed Unangst
2010-06-29Eliminate struct plimit's PL_SHAREMOD flag: it was for COMPAT_IRIXPhilip Guenthe
sproc() support, but we don't have COMPAT_IRIX. ok krw@ tedu@
2010-06-29Use the libutil implementation of UUCP locking.Nicholas Marriott
2010-06-29Replace the hand-crafted Diffie-Hellman implementation in isakmpd withReyk Floeter
the smaller implementation from iked that is using libcrypto instead. This allows to remove a lot of code (which is always good), get rid of some custom crypto code by using libcrypto, theoretically adds support for many new MODP and EC2N/ECP modes (but it is not configurable yet), and allows to share the dh.c/dh.h code in different codebases (it is identical in isakmpd and iked, but could also be used elsewhere). ok deraadt@
2010-06-29fix a typo in the function declaration;Ingo Schwarze
seems like gcc3 didn't catch it :-( thanks to thib@ and kristaps@ for reporting
2010-06-29Add missing frees.Reyk Floeter
2010-06-29Fix use after free. Found by regress tests.Charles Longeau
ok henning@ krw@
2010-06-29More workarounds adapted from FreeBSD to make the 82577/82578 happy,Jonathan Gray
from Mike Belopuhov and me. looks good reyk@ ok claudio@
2010-06-29Don't mention foreign operating system binary emulation anymore. They usuallyMiod Vallat
are incomplete and for obsolete operating systems, so not only are these becoming irrelevant, but one may argue they cause a security risk because noone really knows if your binary will run correctly, if at all.
2010-06-29remove the compat43 ifdef around some code. in effect, it's always beenTed Unangst
in compat mode and there's no harm continuing that way. ok dlg deraadt guenther miod thib
2010-06-29Add code to make ahci(4) suspend/resume properly. Probably not perfect yet,Mark Kettenis
but it seems to work reliably on several laptops. ok dlg@ (a while ago), tested by mlarkin@ and marco@
2010-06-29Call bufq_quiesce() on suspend to stop all I/O and bufq_restart on resume.Mark Kettenis
Makes suspend/resume work much better while doing disk I/O. ok mlarkin@
2010-06-29Introduce bufq_quiesce(), which will block I/O ifrom getting on the queues,Mark Kettenis
and waits until all I/O currently on the queues has been completed. To get I/O going again, call bufq_restart(). To be used for suspend/resume. Joint effort with thib@, tedu@; tested by mlarkin@, marco@
2010-06-29remove compat_ultrix docsTed Unangst
2010-06-29and the ultrix files go into the attic. ok deraadt miodTed Unangst
2010-06-29COMPAT_ULTRIX is not used, time to retire it. ok deraadt miodTed Unangst
2010-06-29move a little code around, eventually it will be betterTed Unangst
2010-06-29Remove now unused prototypes and sort by file.Nicholas Marriott
2010-06-29Having more than 2 log levels is silly. Use only 3 verbosity levels:Kjell Wooding
None (), Important (-v), All (-vv) ok deraadt@
2010-06-29Considerably simplify block rewind rules; no functional change intended.Ingo Schwarze
* Let rew_alt() always succeed, obsoleting tons of case statements. * Merge rew_dobreak() into rew_dohalt(). * Encode all rewinding cases uniformly in terms of "enum rew". Required because i'm too dumb to get SYNOPSIS .Nm rewinding right without cleaning this up first. "get it in" kristaps@
2010-06-29RTHREADS option is gone, now it's a sysctl. spotted by jmcTed Unangst
2010-06-29RTHREADS kernel options is gone, spotted by jmcTed Unangst
2010-06-29Now that there is no dial-up support, all connections are hardwired so drop theNicholas Marriott
flag and ignore the -t option to cu(1).
2010-06-29ultrix support going away, ok deraadtTed Unangst
2010-06-29Missed this dial-up bit from cu(1).Nicholas Marriott
2010-06-29ultrix compat is going away...Ted Unangst
2010-06-29No more phones(5), /etc/phones, or dial up bits in remote.Nicholas Marriott
2010-06-29please attempt to match the style of the codeTheo de Raadt
2010-06-29avoid a null pointer deref. ok jsgChris Kuethe
2010-06-29Remove the "if the string address faulted, see if it looks like an int"Ted Unangst
4.3 compat code in mount. This is a flag day for those of you still running 4.3 BSD binaries on your vaxen. :) ok deraadt dlg guenther thib
2010-06-29Support for badly nested blocks, written around the time ofIngo Schwarze
the Rostock mandoc hackathon and tested and polished since, supporting constructs like: .Ao Bo Ac Bc (exp breaking exp) .Aq Bo eol Bc (imp breaking exp) .Ao Bq Ac eol (exp breaking imp) .Ao Bo So Bc Ac Sc (double break, inner before outer) .Ao Bo So Ac Bc Sc (double break, outer before inner) .Ao Bo Ac So Bc Sc (broken breaker) .Ao Bo So Bc Do Ac Sc Dc (broken double breaker) There are still two known issues which are tricky: 1) Breaking two identical explicit blocks (Ao Bo Bo Ac or Aq Bo Bo eol) fails outright, triggering a bogus syntax error. 2) Breaking a block by two identical explicit blocks (Ao Ao Bo Ac Ac Bc or Ao Ao Bq Ac Ac eol) still has a minor rendering error left: "<ao1 <ao2 [bo ac2> ac1> bc]>" should not have the final ">". We can fix these later in the tree, let's not grow this diff too large. "get it in" kristaps@
2010-06-29briefly document kern.rthreadsTed Unangst
2010-06-29list kern.rthreads as a knob you can but shouldn't turnTed Unangst
2010-06-29Nuke -DCONNECT and -DACULOG which we always set, also trim huge useless commentNicholas Marriott
from Makefile.
2010-06-29Bye-bye acu which even UUCP-using naddy agrees "was obsolete 20 years ago" :-).Nicholas Marriott
2010-06-29Fail instead of lying if a process asks sysctl()'s KERN_PROC2 orPhilip Guenthe
KERN_FILE2 (or their libkvm wrappers) for more information than the running implementation knows how to provide. ok millert@ deraadt@
2010-06-29Add the new schema parser.Martin Hedenfal
noticed by deraadt, sorry!
2010-06-29jmc reminded me that rthreads should be removed from hereTed Unangst
2010-06-29Correct the target namePhilip Guenthe
2010-06-29sync to bsd.lv version 1.10.3:Ingo Schwarze
* support -Tps -Opaper=a4 and -Opaper=letter * lots of mandoc.1 manual improvements
2010-06-29After installing or updating from a public mirror, the installfrom=...Alexander Hall
line in /etc/pkg.conf is set to point at the corresponding package collection. The file is created if it does not exist. discussed with deraadt@ and espie@ ok espie@
2010-06-29remove lies. the arguments are actually used.Thordur I. Bjornsson
2010-06-29framework for glyph width encoding; from kristaps@Ingo Schwarze
2010-06-29zap superfluous newline. ok sthen@Stephan A. Rickauer
2010-06-29fix a logic error found by lintJonathan Gray
2010-06-29use a union to align the dns answer buffer until gcc4 is fixedTheo de Raadt
2010-06-29Interface drivers should use DV_IFNET, not DV_DULL.Matthew Dempsky
ok deraadt@
2010-06-29Change st(4) to use the FIFO buf sorting discipline rather than theMatthew Dempsky
default disk-sorting one. ok krw@
2010-06-29explicitely initialize members of struct dev in dev_open()Jacob Meuser
fixes crash found by nicm ok ratchov