OpenBSD CVS

src/sys/kern/


Click on a directory to enter that directory. Click on a file to display its revision history and to get a chance to display diffs between revisions.

Current directory: [local] / src / sys / kern

Current tag: OPENBSD_5_1


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile  1.33   12 years  tedu   change the default target to print a warning, so stray make commands don't regen...
[TXT] clock_subr.c  1.2   17 years  jmc   grammar, spelling, and style fixes from bret lambert; kern_descrip.c change ok d...
[TXT] dma_alloc.c  1.9   12 years  ariane   Make mbufs and dma_alloc be contig allocations. Requested by dlg@ ok oga@
[TXT] exec_conf.c  1.28   12 years  tedu   remove compat_svr4 support. ok deraadt
[TXT] exec_elf.c  1.85   12 years  guenther   Recommit the reverted sigacts change now that the NFS use-after-free problem has...
[TXT] exec_script.c  1.26   12 years  matthew   Add new syscall entries to support the openat(2) family of functions added in PO...
[TXT] exec_subr.c  1.29   12 years  tedu   ansi with a little knf. ok deraadt jsg
[TXT] genassym.sh  1.11   20 years  miod   Grok union like struct in genassym.cf. Will be needed shortly.
[TXT] init_main.c  1.181   12 years  fgsch   copyright++
[TXT] init_sysent.c  1.132   12 years  guenther   Reimplement mutexes, condvars, and rwlocks to eliminate bugs, particularly the "...
[TXT] kern_acct.c  1.23   13 years  guenther   Correct the links between threads, processes, pgrps, and sessions, so that the p...
[TXT] kern_bufq.c  1.19   13 years  dlg   thib insists i take responsibility too
[TXT] kern_clock.c  1.72   13 years  guenther   The scheduling 'nice' value is per-process, not per-thread, so move it into stru...
[TXT] kern_descrip.c  1.88   12 years  matthew   Add F_DUPFD_CLOEXEC. "Sure" deraadt@
[TXT] kern_event.c  1.41   12 years  nicm   kqueue attach functions should return an errno or 0, not a plain 1. Fix the obvi...
[TXT] kern_exec.c  1.122   12 years  guenther   Handle rthreads consistently in ktrace by moving the flags and vnode into struct...
[TXT] kern_exit.c  1.106   12 years  guenther   Reimplement mutexes, condvars, and rwlocks to eliminate bugs, particularly the "...
[TXT] kern_fork.c  1.133   12 years  guenther   Handle rthreads consistently in ktrace by moving the flags and vnode into struct...
[TXT] kern_kthread.c  1.31   12 years  guenther   Change fork1() and kthread_create() to match the rest of the tree and use curp v...
[TXT] kern_ktrace.c  1.56   12 years  guenther   Handle rthreads consistently in ktrace by moving the flags and vnode into struct...
[TXT] kern_lock.c  1.38   12 years  guenther   lockmgr() wants to use a different address for the wchan when draining the lock,...
[TXT] kern_malloc.c  1.90   12 years  jsing   Improve kernel malloc type checking. ok deraadt@
[TXT] kern_physio.c  1.39   12 years  matthew   Revert vnd(4) to its older less strict behavior. Verified by deraadt@ to fix di...
[TXT] kern_proc.c  1.47   12 years  miod   %, is not a valid format specifier
[TXT] kern_prot.c  1.51   12 years  guenther   "TLS-lite": add kernel support for a per-thread userspace pointer, for pointing ...
[TXT] kern_resource.c  1.37   13 years  guenther   The scheduling 'nice' value is per-process, not per-thread, so move it into stru...
[TXT] kern_rwlock.c  1.17   12 years  weingart   Replace expanded version of RW_PROC() with the macro. ok oga@
[TXT] kern_sched.c  1.24   12 years  miod   Remove all MD diagnostics in cpu_switchto(), and move them to MI code if they ap...
[TXT] kern_sensors.c  1.24   14 years  deraadt   Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handled by returni...
[TXT] kern_sig.c  1.133   12 years  guenther   A signal handled by __thrsigdivert() shouldn't be marked pending for the thread ...
[TXT] kern_subr.c  1.34   13 years  deraadt   remove the powerhook code. All architectures now use the ca_activate tree trave...
[TXT] kern_synch.c  1.99   12 years  guenther   Reimplement mutexes, condvars, and rwlocks to eliminate bugs, particularly the "...
[TXT] kern_sysctl.c  1.212   12 years  guenther   Make the KERN_FILE2 sysctl() report ENOMEM as documented in sysctl(3). ok mille...
[TXT] kern_tc.c  1.16   13 years  deraadt   useless store
[TXT] kern_time.c  1.71   13 years  tedu   lots of SCARG simplification. ok matthew
[TXT] kern_timeout.c  1.33   13 years  dlg   tweak timeout_del so it can tell the caller if it actually did remove a timeout ...
[TXT] kern_watchdog.c  1.8   14 years  tedu   remove proc.h include from uvm_map.h. This has far reaching effects, as sysctl....
[TXT] kern_xxx.c  1.21   12 years  guenther   Revert art@'s moving around of the KERNEL_LOCK()/KERNEL_UNLOCK() calls, as it ca...
[TXT] makesyscalls.sh  1.11   16 years  art   Add possibility to add flags to syscalls in syscalls.master to mark syscalls as ...
[TXT] sched_bsd.c  1.27   12 years  guenther   Functions used in files other than where they are defined should be declared in ...
[TXT] spec_vnops.c  1.68   12 years  jsing   When using rthreads, the thread that calls exit will be the last one to actually...
[TXT] subr_autoconf.c  1.66   12 years  matthew   Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing that's eve...
[TXT] subr_disk.c  1.143   12 years  phessler   DUIDs are only valid when booting off of a disk, so make sure we are actually do...
[TXT] subr_evcount.c  1.10   13 years  matthew   Get rid of evcount's support for arranging counters in a tree hierarchy. Everyt...
[TXT] subr_extent.c  1.45   13 years  fgsch   use __func__ where possible. shaves 4k and makes indentation much better. ketten...
[TXT] subr_hibernate.c  1.32   12 years  deraadt   ready this for big-endian support later on ok mlarkin
[TXT] subr_log.c  1.17   12 years  nicm   kqueue attach functions should return an errno or 0, not a plain 1. Fix the obvi...
[TXT] subr_pool.c  1.111   12 years  dlg   block interrupts while pool_reclaim_all is grubbing around in every pools intern...
[TXT] subr_prf.c  1.76   13 years  drahn   Allow kernel printfs to go to console if in ddb instead of being redirected to x...
[TXT] subr_prof.c  1.19   13 years  deraadt   need sysctl.h to compile with GPROF; Luis Henriques
[TXT] subr_userconf.c  1.37   13 years  matthew   Kill the nearly-15-years-dead cf_ivstubs field from struct cfdata. ok miod@, de...
[TXT] subr_xxx.c  1.12   13 years  miod   Implement a per-cpu held mutex counter if DIAGNOSTIC on all non-x86 platforms, t...
[TXT] sys_generic.c  1.73   12 years  guenther   Document a non-obvious reason why something can't overflow. Discussed with deraa...
[TXT] sys_pipe.c  1.61   12 years  tedu   keep the fdplock around copyout in pipe. ok matthew
[TXT] sys_process.c  1.48   13 years  guenther   Move P_SUGID and P_SUGIDEXEC from struct proc to struct process, so that you can...
[TXT] sys_socket.c  1.14   15 years  otto   fix PR 6082: do not create more fd's than will fit in the message on the receivi...
[TXT] syscalls.c  1.133   12 years  guenther   Reimplement mutexes, condvars, and rwlocks to eliminate bugs, particularly the "...
[TXT] syscalls.master  1.120   12 years  guenther   Reimplement mutexes, condvars, and rwlocks to eliminate bugs, particularly the "...
[TXT] sysv_ipc.c  1.6   16 years  millert   Update access(2) to have modern semantics with respect to X_OK and the superuser...
[TXT] sysv_msg.c  1.25   12 years  blambert   Fix SysV message queue identifiers. Found and diagnosed by Alexis Fouilhe hyjia...
[TXT] sysv_sem.c  1.42   12 years  bluhm   Replace the only occurrence of the obscure macro SLIST_FOREACH_PREVPTR. No binar...
[TXT] sysv_shm.c  1.54   12 years  robert   Allow segments to be used even after they were marked for deletion with the IPC_...
[TXT] tty.c  1.93   12 years  guenther   Recommit the reverted sigacts change now that the NFS use-after-free problem has...
[TXT] tty_conf.c  1.16   13 years  tedu   remove the compat43 ifdef around some code. in effect, it's always been in comp...
[TXT] tty_endrun.c  1.3   14 years  tedu   Some of the line disciplines want to check for suser. Better to pass them a pro...
[TXT] tty_msts.c  1.16   14 years  tedu   Some of the line disciplines want to check for suser. Better to pass them a pro...
[TXT] tty_nmea.c  1.39   14 years  sthen   Switch the signal status "percent" sensor, which is currently hardcoded(!), over...
[TXT] tty_pty.c  1.57   12 years  guenther   Recommit the reverted sigacts change now that the NFS use-after-free problem has...
[TXT] tty_subr.c  1.23   13 years  miod   Kill unused cinit(), and skip some diagnostic printf if option DIAGNOSTIC is not...
[TXT] tty_tty.c  1.12   12 years  mikeb   Introduce a kqfilter wrapper for the controlling tty device entry which allows a...
[TXT] uipc_domain.c  1.32   12 years  henning   begone, fucking rotten appletalk shit. ok room
[TXT] uipc_mbuf.c  1.165   12 years  dlg   dont put MAXMCLBYTES in the mclsizes array with a comment saying its 64k when th...
[TXT] uipc_mbuf2.c  1.35   12 years  dlg   this diff introduces the MAXMCLBYTES macro to describe the largest cluster the g...
[TXT] uipc_proto.c  1.6   12 years  matthew   Implement SOCK_SEQPACKET for UNIX sockets. ok claudio@
[TXT] uipc_socket.c  1.95   12 years  bluhm   iPrevent that a socket splicing timeout error in one direction is also added to ...
[TXT] uipc_socket2.c  1.52   13 years  claudio   Correctly inherit and set the watermarks on socketbuffers. This fixes the NFS pr...
[TXT] uipc_syscalls.c  1.84   12 years  fgsch   add support for MSG_NOSIGNAL. linux bits compiled on i386 by sebastia@, mikeb@ o...
[TXT] uipc_usrreq.c  1.55   12 years  matthew   Implement SOCK_SEQPACKET for UNIX sockets. ok claudio@
[TXT] vfs_bio.c  1.134   12 years  beck   clean up buffer cache statistics somewhat to remove some now useless statistics,...
[TXT] vfs_biomem.c  1.18   12 years  beck   clean up buffer cache statistics somewhat to remove some now useless statistics,...
[TXT] vfs_cache.c  1.34   12 years  beck   Fix use after free in cache_lookup() - found by Pedro fix is to manipulate the...
[TXT] vfs_default.c  1.39   12 years  deraadt   move the specfs code to a place people can see it; ok guenther thib krw
[TXT] vfs_getcwd.c  1.18   12 years  nicm   Add new KERN_PROC_CWD sysctl to get the current working directory of a process. ...
[TXT] vfs_init.c  1.29   13 years  thib   merge vfs_conf.c and vfs_init.c and retire vfs_conf.c; The contents belong toga...
[TXT] vfs_lockf.c  1.16   13 years  tedu   correct some minor style violations
[TXT] vfs_lookup.c  1.45   12 years  matthew   Doh, fix a memory leak when an invalid file descriptor is passed to a *at(2) fun...
[TXT] vfs_subr.c  1.195   12 years  deraadt   move the specfs code to a place people can see it; ok guenther thib krw
[TXT] vfs_sync.c  1.50   13 years  thib   Every single vop_default is set to eopnotsupp, so retire it and return EOPNOTSUP...
[TXT] vfs_syscalls.c  1.180   12 years  guenther   Negative offsets to pread/pwrite-family are only legal for character devices. P...
[TXT] vfs_vnops.c  1.70   12 years  guenther   When checking for offset wrap around in vn_read(), compare against LLONG_MAX ins...
[TXT] vfs_vops.c  1.4   12 years  thib   rename VFSDEBUG to VFLCKDEBUG; prompted by tedu@
[TXT] exec_aout.c (in the Attic) [Hide]  1.10   18 years  jsg   ansi. No binary change.
[TXT] exec_ecoff.c (in the Attic) [Hide]  1.10   18 years  jsg   ansi. No binary change.
[TXT] exec_elf32.c (in the Attic) [Hide]  1.2   22 years  art   branches: 1.2.2; Every file must have a license blob, even if the blob is large...
[TXT] exec_elf64.c (in the Attic) [Hide]  1.20   22 years  art   Every file must have a license blob, even if the blob is larger than the file.
[TXT] kern_lkm.c (in the Attic) [Hide]  1.46   14 years  schwarze   fix typos in comments, no code changes; from Brad Tilley <brad at 16systems dot ...
[TXT] kern_malloc_debug.c (in the Attic) [Hide]  1.28   12 years  mcbride   Kill integer from pointer warning when compiling with MALLOC_DEBUG. ok kettenis
[TXT] kern_workq.c (in the Attic) [Hide]  1.12   13 years  dlg   fix two problems identified by matthew@: 1. though shalt not hold a mutex while...
[TXT] kgdb_stub.c (in the Attic) [Hide]  1.9   13 years  tedu   don't abuse lvalues, reported by Amit Kulkarni. (actually using KGDB remains as ...
[TXT] syscalls.conf (in the Attic) [Hide]  1.14   12 years  matthew   Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option to GENERIC...
[TXT] vfs_cluster.c (in the Attic) [Hide]  1.38   12 years  tedu   bread does nothing with its ucred argument. remove it. ok matthew