summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2006-07-19Sprinkle some _Q_INVALIDATE love for timeout structures as well; ok otto@Miod Vallat
2006-07-19make kernels w/o PTRACE compile again.Alexander von Gernler
help from mickey@, "commit it" miod@
2006-07-14TypoPedro Martelletto
2006-07-12Small KNF.Michael Knudsen
2006-07-12zap some unused variables.Thordur I. Bjornsson
the only use was in an #if notyet chunk since '97. ok miod@ 'no objections' pedro@
2006-07-11add mount/vnode/buf and softdep printing commands; tested on a few archs and ↵Michael Shalayeff
will make pedro happy too (;
2006-07-10Handle executables that have all load sections marked read-only.Mark Kettenis
ok drahn@
2006-07-09Fix tab where space was meantPedro Martelletto
2006-07-08vinvalbuf() debugging aid, under VFSDEBUG.Thordur I. Bjornsson
ok pedro@
2006-07-06Make the ddb.log sysctl available as an in-ddb variable, $log, for consistency.Miod Vallat
2006-07-03also print vp in vprint (useful for debugging); pedro@ okMichael Shalayeff
2006-06-29Normalize the correction passed to adjtime(2) before using it in theMark Kettenis
__HAVE_TIMECOUNTER case. ok otto@
2006-06-27Adapt adjtime() code and put in a better stub for adjfreq() for theOtto Moerbeek
timecounters case. adjfreq() does not work with timecounters, but more is coming. with help from miod; tested by dlg@; ok miod@
2006-06-25rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAITNikolay Sturm
requested by and ok pedro
2006-06-23namei() only returns locked vnodes if LOCKLEAF is set, be more clearNikolay Sturm
about this ok pedro
2006-06-23consistantly count context switches on exit; miod@ okMichael Shalayeff
2006-06-21If tty timestamping is enabled, copy the tty timestamp early to preserveMarc Balmer
the value if it gets overwritten by other events.
2006-06-20pruning; ok mbalmerTheo de Raadt
2006-06-19Remove the no longer needed date/time calculations.Marc Balmer
2006-06-19move clock_subr.c to a better place, and now it is always in the kernelTheo de Raadt
so that things can use it; tested on all architectures; ok kettenis
2006-06-17avoid missing events for timestamping (dcd change at same time as cts);Theo de Raadt
mrd@alkemio.org
2006-06-15Nothing sets P_FSTRACE anymore, so remove all what's left of it.Miod Vallat
2006-06-15Make sys_adjfreq() compile on archs that use timecountersJonathan Gray
(ie sgi). Diff and request to commit from otto@
2006-06-15nuke code that has been dead for so long that it stinks. claudio okHenning Brauer
2006-06-14move vfs_busy() to rwlocks and properly hide the locking api from vfsNikolay Sturm
ok tedu, pedro
2006-06-14regenOtto Moerbeek
2006-06-14Introducing adjfreq(2), to adjust the clock frequency.Otto Moerbeek
Loosely based on dragonfly code. ok deraadt@
2006-06-13Next round of clean-up: Remove the ugly state machine and replace it withMarc Balmer
a simpler function that splits the nmea sentence into fields, verifies the checksum and eventually decodes the data (if it's a GPRMC sentence). Ignore Loran-C for the moment, no one has such a receiver. Loran-C can easily be added later if we have a receiver to test with.
2006-06-10Add functions to decode date and time strings that make sure no invalidMarc Balmer
information can be passed.
2006-06-10allow SO_SNDBUF and SO_RECVBUF setsockopts on existing sockets to succeedBob Beck
for any value that is not an increase in size when we are under mbuf pressure, rather than only succeeding when setting the value to the 4k minimum. ok markus@, henning@
2006-06-09syncTheo de Raadt
2006-06-09spacing that made a grep look very suspiciousTheo de Raadt
2006-06-07killproc() is orphaned, so kill it; ok deraadt@Miod Vallat
2006-06-05various cleanups; ok mbalmerTheo de Raadt
2006-06-04In extent_destroy(), only remove the extent from the global extent list ifMiod Vallat
the list is really used, i.e. if option DIAGNOSTIC || option DDB.
2006-06-04Missing RCS IdMiod Vallat
2006-06-04Allow any user to request the current adjustment; ok henning@ deraadt@Otto Moerbeek
2006-06-04- ntpd no longer needs the NTP identifier as part of a timedelta sensorMarc Balmer
description. - create the timedelta sensors as early as possible, but mark them invalid as long as there is no real data. - update docs accordingly
2006-06-02Add a clonable devices implementation. Hacked along with thib@, inputPedro Martelletto
from krw@ and toby@, subliminal prodding from dlg@, okay deraadt@.
2006-06-02remove upgrade/downgrade, they are useless.Ted Unangst
rework the main entry points to just use rw_test_and_set. rework exit paths to be more like enter paths. add sleepfail so more lockmgr can be replaced. some from art, ok sturm
2006-06-01the bit shifted should be a type at least as wide as the comparison (u_quad_t)Jason Wright
2006-06-01Avoid buffer overflow in case of oversized input.Chris Kuethe
ok mbalmber
2006-06-01mbalmer says the swiss have learned how to swim.Chris Kuethe
- fixed debug printfs - cope with nmea0183 or nmea 2.3 - allow multiple receivers at the same time Hacked in the park in downtown... "commit this right away" mbalmer
2006-06-01Add basic NMEA0183 support as a tty line discipline. The line disciplineMarc Balmer
decodes NMEA messages completely transparent to userland applications, i.e. userland can still use the NMEA stream and talk to the device. If data is received, a timedelta sensor suitable for ntpd is created. The timestamp is not very precise at the moment, use of this is experimental at best. "get it in or we see how well the swiss people can swim" deraadt@
2006-05-29extend %b support so that it will allow for arguments with more than 32 bits.Jason Wright
2006-05-28back out my last commit. art pointed out that sysctl cannot sleep whenDavid Gwynne
copying out to userland, so my fix was useless bloat that didnt really do anything. the problem instead appears to be a use after free in a driver rather than bad interactions with sysctl.
2006-05-28Remove device id from hotplug events.Michael Knudsen
ok henning
2006-05-28more fallout from the sensors: Every single ramdisk got broken.Theo de Raadt
2006-05-28Spacing in vfs_sysctl()Pedro Martelletto
2006-05-28intrducing device type DV_SENSOR turned out to be a bad idea as itHenning Brauer
affects way more than just hotplug messages. remove DV_SENSOR and use DV_DULL for the moment. proper solution coming. discussed with deraadt mk jason