summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
1999-08-09unique panic messagesTheo de Raadt
1999-08-09make panic messages uniqueTheo de Raadt
1999-08-09Stop profiling (see profil(2)) when we execve() a new process; ross@netbsd.orgTodd C. Miller
1999-08-08From NetBSD; new device detaching infrastructure.Niklas Hallqvist
1999-08-08From NetBSD; vdevgone, used for revoking access to device nodes when theyNiklas Hallqvist
disappear (detach is coming).
1999-08-08regenNiklas Hallqvist
1999-08-08compat_22 was never usedNiklas Hallqvist
1999-08-05From NetBSD; config_defer to defer configuration of a device until after allNiklas Hallqvist
other siblings.
1999-08-04optimize poll() for small nfds, by avoiding mallocTheo de Raadt
1999-07-30do not permit regular users to chflags/fchflags on chr or blk devices --Theo de Raadt
even if they happen to own them at the moment.
1999-07-23Remove obsolete detach logic in preparation of a newer oneNiklas Hallqvist
1999-07-20correct os_mask handling for OLF; pefoTheo de Raadt
1999-07-18on exec, clear P_NOCLDWAIT; ambrisko@whistle.comTheo de Raadt
1999-07-18ugly CTheo de Raadt
1999-07-17correct fork statistics for UVMArtur Grabowski
1999-07-15Don't destroy sysvshm if the vmspace is shared (only affects uvm)Artur Grabowski
1999-07-15vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_tArtur Grabowski
1999-07-13introduce fdremove() to mark a file descriptor as unused. fdremove makesNiels Provos
sure that the fd_freefile hints stay in sync, otherwise free file descriptors might not be overlooked by fdalloc(); ok millert@
1999-07-09rename SIMPLELOCK_DEBUG to LOCKDEBUGArtur Grabowski
clean up the debug functions add simple_lock_assert
1999-07-08Non UVM vaddr_t/paddr_t fixupTobias Weingartner
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'