summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
1999-07-02Added a simple but potentially very useful new mbuf function, m_apply().cmetz
It applies the supplied function f(state, p, len) to every contiguous region in a mbuf, thus mostly handling all the mbuf-isms for you. It's used by my TCP MD5 signature implementation to run MD5 over the TCP payload data in a mbuf so that I don't have to spread mbufism-loops all over. It might also be useful for IPsec.
1999-06-29add sysctl kern.arandom to get a random integer. useful when chrooted withNiels Provos
no /dev/arandom.
1999-06-23Improved sysv shared memory. Works with UVM.Artur Grabowski
Original work done in FreeBSD, but this code was ported from NetBSD by Chuck Cranor.
1999-06-23apparently we need to have kmemstats in the kernel even if we don't use it.Artur Grabowski
vmstat will fail if we don't have symbol even when it doesn't need it. XXX
1999-06-15do not mangle retval, makes return value sane; problem found by millertTheo de Raadt
1999-06-11oopsNiels Provos
1999-06-08copy int sized objects, not register_t sized objects in pipe()Theo de Raadt
1999-06-08better fd leak preventionTheo de Raadt
1999-06-07need seperate sys_pipe() versions, for pipeclose() or soclose() callsTheo de Raadt
1999-06-07syncTheo de Raadt
1999-06-07replacement pipe() system call; copies data into place inside kernel, soTheo de Raadt
that EFAULT return value is possible
1999-06-07oops, premature commitTheo de Raadt
1999-06-07do not leak file descriptors if copyout() failsTheo de Raadt
1999-06-07store NULL in fd_ofilesTheo de Raadt
1999-06-06-Wall sucksTheo de Raadt
1999-06-06adjtime(2) did not return EFAULT for bad olddelta ptr; ↵Theo de Raadt
darrenr@merlin.reed.wattle.id.au
1999-06-03use __sparc__ just in caseTheo de Raadt
1999-06-03Also define memname if FFS_SOFTUPDATES is defined. FFS_SOFTUPDATES should ↵Todd C. Miller
really only use memname ifdef DIAGNOSTIC but that isn't feasible right now
1999-06-01Fix some mips -> __mips__ stuff.Per Fogelstrom
1999-06-01remove the "ifdef pmap_resident_count" hack and replace it with a macro.Artur Grabowski
change some &vm->vm_pmap to vm->vm_map.pmap
1999-05-31regenTodd C. Miller
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
1999-05-24correct return value of poll(); noted by d@Theo de Raadt
1999-05-22Sync syscalls.masterTobias Weingartner
1999-05-22Add swapctl(2) system call.Tobias Weingartner
1999-05-14OpenBSD has no ext_func, so that test is bogus.cmetz
1999-05-14m_zero will no longer zero the contents of a cluster if there's an alias to it.cmetz
(TCP uses cluster mbuf aliases for retransmission, and this would cause your data to get retransmitted zeroed-out)
1999-05-12Fix problem with data corruption for retransmitted TCP packetsHakan Olsson
in an IPSec ESP tunnel. OpenBSD PR 819.
1999-05-06put a sanity check behind DIAGNOSTIC and give it a better panic messageArtur Grabowski
1999-05-06factor out sync+wait code into vfa_syncwait() routine forMichael Shalayeff
applications in system like power management and such. art@ finally said `commit it'
1999-04-30in vput, simple_unlock the v_interlock before VOP_INACTIVE, not afterArtur Grabowski
1999-04-28add autoconfig_verbose toggling command to boot_configTheo de Raadt
1999-04-28zap the newhashinit hack.Artur Grabowski
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
1999-04-22we don't need to include buf.hArtur Grabowski
1999-04-22uvmspace_exec can change p_vmspace!Artur Grabowski
1999-04-22better panic messageArtur Grabowski
1999-04-21Improved ps formatting.Alex Feldman
1999-04-18incorrect range checking, output buf oflow; futatuki@fureai.or.jpTheo de Raadt
1999-04-16ln bug fixTheo de Raadt
1999-03-30make option IPSEC imply option KEYNiklas Hallqvist
1999-03-22in poll(), constrain nfds better, to avoid kvm starvation; alexTheo de Raadt
1999-03-12in scheduler, bias parents for child cpu usage; ross@ghs.comTheo de Raadt
1999-03-11backoutTheo de Raadt
1999-03-11back out unapproved changesTheo de Raadt
1999-03-11indentMichael Shalayeff
1999-03-11factor sync+wait operation out into a separate function.Michael Shalayeff
1999-03-03syncTheo de Raadt
1999-03-03not using inline functions saves about 120KTheo de Raadt
1999-03-03vnode_if syncTheo de Raadt
1999-03-03do not inline. this needs cleanup. from artTheo de Raadt