summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2001-06-22Try again. (this time it's tested).Artur Grabowski
Add proc_cansugid that checks if a process may raise it's privileges. Rework exec to remove the old sugid workaround and check proc_cansugid just before raising privileges.
2001-06-22Fix lotsa bugs:Jason Wright
- Hi/Fn length fields in command structures are 18 bits (feature!), but descriptor lengths are 16 bits. - define dmamap maximum lengths correctly (2^18 for total length, 2^16 for segments). - Make the defines more consistent, and add other modes - split source_count in command descriptors into a 16 bit length, and 16bit reserved part upshot: blocks as large as 2^18 - 8 work now for userland crypto
2001-06-22provide sysctl iface for msgbuf; raadtifiedMichael Shalayeff
2001-06-22shift the range for i/o space allocation to 0xa000 as itMichael Shalayeff
seems that some compaq machines have smth in the existing range at 0x2000. from nate@
2001-06-22add more ipsec commandsJason Wright
2001-06-22Add support for RNG on 7951; many thanks to Soren KristensenJason Wright
<soren@soekris.com> for donating the cards.
2001-06-22KNFTheo de Raadt
2001-06-22KNFTheo de Raadt
2001-06-22KNFTheo de Raadt
2001-06-22KNFTheo de Raadt
2001-06-22re-select default router on linklayer addrss changes. sync with kame.Jun-ichiro itojun Hagino
2001-06-22KNFTheo de Raadt
2001-06-22build it static; nateTheo de Raadt
2001-06-22cleanup COMPAT_RFC1885 case, for icmp6 echoback packet size considerationJun-ichiro itojun Hagino
(obsolete). sync with kame
2001-06-22do not forward packet back into point-to-point link, if the packet hasJun-ichiro itojun Hagino
destination address that matches the p2p interface. this would lead us to pingpong (= chews bandwidth, can be attacked from remote).
2001-06-21Canonicalize panic messageNiklas Hallqvist
2001-06-21Panic if we free stuff not in malloc region. (ifdef DIAGNOSTIC)Niklas Hallqvist
2001-06-21Add support for the Cyclades-Z multiport serial cards.Nathan Binkert
This has not been thoroughly tested yet, so it's not going into GENERIC now. From NetBSD.
2001-06-21Do not FREE() stuff allocated in a poolNiklas Hallqvist
2001-06-21Finish what Theo started (a char * to void * conversion)Niklas Hallqvist
2001-06-21syncTheo de Raadt
2001-06-21shortenTheo de Raadt
2001-06-21translate LINUX_AF_INET6 (10) into AF_INET6.Jun-ichiro itojun Hagino
2001-06-20Fix PR1826. tsleep in lf_setlock can return 0 if process was ptrace'd,Grigoriy Orlov
but not wakeup'ed. In this case one entry can be placed twice at list of blocked locks. As a result block list contain an entry which points to itself. lf_wakelock can't remove such an entry and system livelocks trying to remove a bad entry from block list. Other changes include: - repair debug functions and make vfs_lockf.c compilable with LOCKF_DEBUG - simplify debug printing and remove useless debugging - remove unnecessary casting, replace NOLOCKF with NULL - free -> FREE (use one form over the file) - convert list of blocked locks to use TAILQ_* macroses - lf_addblock() -> TAILQ_INSERT_TAIL - Fix bug in lf_findoverlap(): in old code if (end == -1) && (lf->lf_end == -1) && (lf->lf_start <= start) then lf_findoverlap() return 4 instead of 2 - work more carefully with pointers (probably fix one or two bugs) - use wakeup_one() - KNF
2001-06-20Comment spelling fix, and remove static regardless ofNiklas Hallqvist
CBB_DEBUG setting
2001-06-20syncTheo de Raadt
2001-06-20new gdtTheo de Raadt
2001-06-20fix array filling; alaric@MIT.EDUTheo de Raadt
2001-06-20comment typo. from jsyn@nthought.comNiklas Hallqvist
2001-06-19revert parts that were meant to be committed (June 12th commit)jasoni
- ok angelos@
2001-06-19do not attach at i2o-configured adapter; pointed out by ad@netbsd.orgMichael Shalayeff
2001-06-19no way, you are on drugs. last commit revoked because it broke setuid majorlyTheo de Raadt
2001-06-19mop up after angelosTheo de Raadt
2001-06-18Close PR 1864, Mhz should be written as MHz.Dale Rahn
2001-06-18more more microcode (so it does not end up installed in includes, for one)Theo de Raadt
2001-06-18move microcodeTheo de Raadt
2001-06-18Check is sugid is allowed where we set the P_SUGID* flags.Artur Grabowski
Remove the ugly hack added in last revision.
2001-06-18Add proc_cansugid used to check if a process should be allowedArtur Grabowski
to raise its privileges in exec.
2001-06-18keep track of the txform/thash, and make sure that non-blocksizeTheo de Raadt
requests do not get passed to device drivers, because some like the ubsec(4) will do really nasty things like DMA to completely random locations in memory when you do so
2001-06-18kill a debug message that makes UBSEC_DEBUG uselessTheo de Raadt
2001-06-18trace_req is not used anymore (was a nop).Artur Grabowski
2001-06-18trace_req is a nop.Artur Grabowski
rename stop -> proc_stop (stop is not a good function name).
2001-06-18oops, backwards checkTheo de Raadt
2001-06-18split PT_DETACH handling, so that pc cannot be set by it; art okTheo de Raadt
2001-06-18incorrect panic messageTheo de Raadt
2001-06-18copyright notices; noted missing by nateTheo de Raadt
2001-06-17spelling: Asymetric -> AsymmetricPeter Valchev
2001-06-17Add -Wno-uninitialized.Hugh Graham
2001-06-17Don't pciaddr_do_resource_allocate if device is AGP to avoid conflict.Michael Shalayeff
from Masanori Kanaoka <kanaoka@netbsd.org>
2001-06-17Set the delta for the particular source so telling mixerctl to decrease theMichael Shalayeff
volume (using --) adjusts it far enough to stick. from Eric Haszlakiewicz <erh@netbsd.org>