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_4_BASE


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile  1.35   11 years  deraadt   the unused palm code goes away.
[TXT] clock_subr.c  1.3   10 years  guenther   Cast to time_t before the final multiplication to prevent overflow in 2038. Thi...
[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.29   11 years  miod   Remove no longer used struct emul extern declarations.
[TXT] exec_elf.c  1.93   10 years  tedu   now that free(null) is safe, delete checks
[TXT] exec_script.c  1.28   12 years  guenther   Add struct proc * argument to FRELE() and FILE_SET_MATURE() in anticipation of f...
[TXT] exec_subr.c  1.30   11 years  matthew   Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZE segments t...
[TXT] genassym.sh  1.11   20 years  miod   Grok union like struct in genassym.cf. Will be needed shortly.
[TXT] init_main.c  1.189   11 years  guenther   Convert some internal APIs to use timespecs instead of timevals ok matthew@ der...
[TXT] init_sysent.c  1.145   11 years  miod   regen
[TXT] kern_acct.c  1.27   11 years  guenther   Convert some internal APIs to use timespecs instead of timevals ok matthew@ der...
[TXT] kern_bufq.c  1.25   11 years  guenther   Fix various glitches in queue macro usage. ok millert@
[TXT] kern_clock.c  1.81   11 years  matthew   Add tstohz(9) as the timespec analog to tvtohz(9). ok miod
[TXT] kern_descrip.c  1.102   10 years  sf   Format string fixes: f_count is long ok kettenis@ Change esm_sensor_map.arg to...
[TXT] kern_event.c  1.50   11 years  yasuoka   On NOTE_EXIT event of EVFILT_PROC, store the exit status in kn_data. ok guenthe...
[TXT] kern_exec.c  1.135   10 years  guenther   branches: 1.135.2; Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME...
[TXT] kern_exit.c  1.125   11 years  tedu   factor out pid allocation to functions. add a small cache of recently exited pid...
[TXT] kern_fork.c  1.152   11 years  tedu   convert some easy bcopy to memcpy and clean up fdexpand a bit. ok kettenis
[TXT] kern_kthread.c  1.32   11 years  deraadt   do not include machine/cpu.h from a .c file; it is the responsibility of .h file...
[TXT] kern_ktrace.c  1.60   11 years  tedu   always implement stub utrace syscall, but keep the body #ifdef KTRACE ok guenthe...
[TXT] kern_lock.c  1.42   11 years  tedu   restore original gangster lockstatus return values for compat
[TXT] kern_malloc.c  1.102   10 years  tedu   permit free(NULL) to work. 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.50   11 years  miod   Comment out recently added __attribute__((__format__(__kprintf__))) annotations ...
[TXT] kern_prot.c  1.56   11 years  tedu   rthreads are always enabled. remove the sysctl. ok deraadt guenther kettenis mat...
[TXT] kern_resource.c  1.42   11 years  guenther   Convert some internal APIs to use timespecs instead of timevals ok matthew@ der...
[TXT] kern_rwlock.c  1.20   11 years  tedu   restore original gangster lockstatus return values for compat
[TXT] kern_sched.c  1.30   11 years  haesbaert   Prevent idle thread from being stolen on startup. There is a race condition whi...
[TXT] kern_sensors.c  1.25   11 years  deraadt   sys/param.h gets you sys/types.h automatically
[TXT] kern_sig.c  1.152   11 years  tedu   some small style changes that are distracting me from seeing a real bug
[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.106   11 years  tedu   cleanup and consolidate the spinlock_lock (what a name!) code. it's now atomic_l...
[TXT] kern_sysctl.c  1.240   10 years  beck   back out the cache flipper temporarily to work out of tree. will come back soon....
[TXT] kern_tc.c  1.20   11 years  guenther   Convert some internal APIs to use timespecs instead of timevals ok matthew@ der...
[TXT] kern_time.c  1.80   10 years  guenther   Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options, including ...
[TXT] kern_timeout.c  1.35   12 years  guenther   Delete diagnostic code that reports timeout adjustments on resume. It was useful...
[TXT] kern_watchdog.c  1.9   11 years  deraadt   Swap arguments to wdog_register() since it is nicer, and prepare wdog_shutdown()...
[TXT] kern_xxx.c  1.23   11 years  guenther   Move the common bits of syscall invocation and return handling into an MI file, ...
[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.33   11 years  guenther   Convert some internal APIs to use timespecs instead of timevals ok matthew@ der...
[TXT] spec_vnops.c  1.74   10 years  beck   branches: 1.74.2; back out the cache flipper temporarily to work out of tree. w...
[TXT] subr_autoconf.c  1.68   11 years  deraadt   Enforce ca_activate tree-walks over the entire heirarchy for all events, cleanin...
[TXT] subr_disk.c  1.150   10 years  sf   don't use empty format string this is necessary to enable -Wformat or -Wno-erro...
[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.47   11 years  miod   Comment out recently added __attribute__((__format__(__kprintf__))) annotations ...
[TXT] subr_hibernate.c  1.59   11 years  mlarkin   Work around stack smash protector getting confused because we switched stacks ...
[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_poison.c  1.5   11 years  deraadt   unfortunately the sparc pagesize handling also requires uvm_extern.h
[TXT] subr_pool.c  1.122   11 years  tedu   blow up sooner rather than later for double pool_put ok deraadt
[TXT] subr_prf.c  1.78   10 years  sf   add support for %td for ptrdiff_t in kernel printf this also adds support in gc...
[TXT] subr_prof.c  1.25   11 years  deraadt   do not include machine/cpu.h from a .c file; it is the responsibility of .h file...
[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.13   11 years  deraadt   do not include machine/cpu.h from a .c file; it is the responsibility of .h file...
[TXT] sys_generic.c  1.81   11 years  tedu   always implement stub utrace syscall, but keep the body #ifdef KTRACE ok guenthe...
[TXT] sys_pipe.c  1.63   12 years  mikeb   take a file descriptor table lock after allocating pipe structures and buffers; ...
[TXT] sys_process.c  1.57   12 years  kettenis   For now, direct the kill signal sent by PT_KILL to the thread that made us stop,...
[TXT] sys_socket.c  1.16   11 years  tedu   remove some obsolete casts
[TXT] syscalls.c  1.146   11 years  miod   regen
[TXT] syscalls.master  1.133   11 years  miod   Constify the mib argument of sysctl(). ok matthew@ millert@
[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.26   11 years  deraadt   sys/param.h gets you sys/types.h automatically
[TXT] sysv_sem.c  1.44   11 years  beck   Fix problem reported by Nathan Weeks <weeks@iastate.edu> where a userland progra...
[TXT] sysv_shm.c  1.55   12 years  ariane   New vmmap implementation. no oks (it is really a pain to review properly) exten...
[TXT] tty.c  1.99   11 years  guenther   Switch from timeval to timespec introduced format error; fix by prepping for big...
[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.59   11 years  millert   Fix a bug in ptcwrite() that could result in up to 100 lost bytes when we block ...
[TXT] tty_subr.c  1.26   12 years  nicm   A couple of trivial spacing and comment fixes. ok miod blambert
[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.173   11 years  dlg   replace bcopy with memcpy in m_defrag. this is safe because the memory we're cop...
[TXT] uipc_mbuf2.c  1.37   11 years  dlg   return ENOBUFS on failure from m_defrag and m_tag_copy_chain. m_foo functions t...
[TXT] uipc_proto.c  1.6   12 years  matthew   Implement SOCK_SEQPACKET for UNIX sockets. ok claudio@
[TXT] uipc_socket.c  1.118   11 years  tedu   remove some obsolete casts
[TXT] uipc_socket2.c  1.56   11 years  tedu   remove some obsolete casts
[TXT] uipc_syscalls.c  1.88   11 years  tedu   remove some obsolete casts
[TXT] uipc_usrreq.c  1.71   11 years  tedu   remove some obsolete casts
[TXT] vfs_bio.c  1.151   10 years  beck   back out the cache flipper temporarily to work out of tree. will come back soon....
[TXT] vfs_biomem.c  1.28   10 years  beck   back out the cache flipper temporarily to work out of tree. will come back soon....
[TXT] vfs_cache.c  1.35   11 years  tedu   rename NCHNAMLEN to NAMECACHE_MAXLEN. easier to read, easier to type. ok beck de...
[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.20   11 years  tedu   arguments to bcopy/memmove are reversed. put on thinking cap, then commit.
[TXT] vfs_init.c  1.32   11 years  tedu   changes for isc fuse support. not enabled. ok beck deraadt. from Sylvestre Gallo...
[TXT] vfs_lockf.c  1.17   12 years  guenther   POSIX locks should track the process's pid and not the thread's id
[TXT] vfs_lookup.c  1.46   11 years  guenther   Return ENOTDIR if an *at() syscall is passed a relative path and a fd to resolve...
[TXT] vfs_subr.c  1.204   10 years  beck   Manipulating buffers after sleeping is dangerous. Instead of attempting to cheat...
[TXT] vfs_sync.c  1.51   10 years  guenther   Use time_t for storing time_t values, duh ok deraadt@
[TXT] vfs_syscalls.c  1.193   11 years  guenther   Move FHASLOCK from f_flag to f_iflags, freeing up a bit for passing O_* flags an...
[TXT] vfs_vnops.c  1.73   11 years  guenther   Move FHASLOCK from f_flag to f_iflags, freeing up a bit for passing O_* flags an...
[TXT] vfs_vops.c  1.8   10 years  beck   back out the cache flipper temporarily to work out of tree. will come back soon....
[TXT] exec_aout.c (in the Attic) [Hide]  1.11   11 years  miod   When running a.out OMAGIC binaries, be sure to round ep_daddr to a page boundary...
[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.31   10 years  syl   allow kernel to compile with MALLOC_DEBUG. ok miod@
[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.17   11 years  guenther   Some compat options require snapshot coordination
[TXT] vfs_cluster.c (in the Attic) [Hide]  1.39   11 years  deraadt   final removal of daddr64_t. daddr_t has been 64 bit for a long enough test peri...