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_2


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile  1.34   11 years  matthew   Delete some more SUBDIR += mac68k.
[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.86   12 years  ariane   New vmmap implementation. no oks (it is really a pain to review properly) exten...
[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.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.183   11 years  ariane   Expose reaperproc. I need this for my diffs. ok guenther@
[TXT] init_sysent.c  1.136   11 years  guenther   Regenerate
[TXT] kern_acct.c  1.26   11 years  guenther   Use IO_NOLIMIT instead of munging the process's limits ok beck@
[TXT] kern_bufq.c  1.19   13 years  dlg   thib insists i take responsibility too
[TXT] kern_clock.c  1.74   12 years  guenther   On resume, run forward the monotonic and realtimes clocks instead of jumping jus...
[TXT] kern_descrip.c  1.98   11 years  guenther   Revert the blocked FIFO open fix, as there's either a race in the ref-count hand...
[TXT] kern_event.c  1.48   11 years  guenther   kevent(EV_DELETE) shouldn't be calling closef(), as that releases POSIX file loc...
[TXT] kern_exec.c  1.131   12 years  guenther   Correct the error path in execve when there's a race to single thread the proces...
[TXT] kern_exit.c  1.117   11 years  guenther   exit1(EXIT_THREAD) needs to call single_thread_check() so that it can be suspend...
[TXT] kern_fork.c  1.141   11 years  guenther   __tfork() needs to set the stack address of the new thread in the kernel, so tha...
[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.58   12 years  mikeb   Add a start record to the ktrace and use a special magic string "KTR" to identif...
[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.92   12 years  pirofti   Expand the panic to show the malloc type and size. Okay 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.48   12 years  guenther   Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimit coun...
[TXT] kern_prot.c  1.54   12 years  mikeb   move accounting flags to struct process; idea and ok guenther
[TXT] kern_resource.c  1.40   12 years  guenther   Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimit coun...
[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.27   11 years  kettenis   Make sure that we don't schedule processes on CPUs that we havetaken out of the ...
[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.143   11 years  guenther   exit1(EXIT_THREAD) needs to call single_thread_check() so that it can be suspend...
[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.103   11 years  haesbaert   We should only call need_resched() if the priority is lower than the priority of...
[TXT] kern_sysctl.c  1.226   12 years  guenther   Committed the wrong version (an earlier try) of the KERN_FILE2 vs rthreads fix. ...
[TXT] kern_tc.c  1.17   12 years  guenther   On resume, run forward the monotonic and realtimes clocks instead of jumping jus...
[TXT] kern_time.c  1.75   12 years  guenther   On resume, run forward the monotonic and realtimes clocks instead of jumping jus...
[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.8   14 years  tedu   remove proc.h include from uvm_map.h. This has far reaching effects, as sysctl....
[TXT] kern_xxx.c  1.22   11 years  deraadt   In reboot, no need to sched_peg_curproc() to the primary, because sched_stop_sec...
[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.30   11 years  haesbaert   Tedu old comment concerning cpu affinity which does not apply anymore. ok blamb...
[TXT] spec_vnops.c  1.69   11 years  matthew   branches: 1.69.4; Cleanup our filesystem pathconf() code a little bit to make i...
[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.145   12 years  krw   Tweak FAT detection/usage. Recognize 'bare' FAT media that lacks the 0x55aa sign...
[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.46   11 years  deraadt   say that we are unhibernating..
[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.20   12 years  guenther   Make rusage totals, itimers, and profile settings per-process instead of per-rth...
[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.78   11 years  claudio   Print the fd_set used by select in kdump. OK guenther@ and deraadt@
[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.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.137   11 years  guenther   Regenerate
[TXT] syscalls.master  1.124   11 years  guenther   __tfork() needs to set the stack address of the new thread in the kernel, so tha...
[TXT] sysv_ipc.c  1.6   15 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.43   12 years  naddy   SLIST_REMOVE_NEXT -> SLIST_REMOVE_AFTER for better consistency and compatibility...
[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.95   12 years  matthew   Reset t_column to 0 when initializing a tty. ok deraadt@
[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.58   12 years  guenther   Add struct proc * argument to FRELE() and FILE_SET_MATURE() in anticipation of f...
[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.166   12 years  deraadt   unneccessary casts to unsigned; ok claudio
[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.104   11 years  guenther   unp_dispose() walks not just the mbuf chain (m_next) but also the packet chain (...
[TXT] uipc_socket2.c  1.53   12 years  deraadt   unneccessary casts to unsigned; ok claudio
[TXT] uipc_syscalls.c  1.86   12 years  matthew   Change accept(), recvfrom(), recvmsg(), getsockname(), and getpeername() to retu...
[TXT] uipc_usrreq.c  1.66   12 years  matthew   Cleanup unp_bind() a little: - Require sun_family to be set to AF_UNIX (also ...
[TXT] vfs_bio.c  1.136   12 years  miod   Fix a few issues in the pressure logic when the available buffers run low: - mak...
[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.17   12 years  guenther   POSIX locks should track the process's pid and not the thread's id
[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.197   11 years  deraadt   oops, need sys/acct.h too
[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.187   11 years  guenther   Revert the blocked FIFO open fix, as there's either a race in the ref-count hand...
[TXT] vfs_vnops.c  1.71   11 years  guenther   If the current offset is strictly less than the process filesize rlimit, then a ...
[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.15   11 years  guenther   __tfork() needs to set the stack address of the new thread in the kernel, so tha...
[TXT] vfs_cluster.c (in the Attic) [Hide]  1.38   12 years  tedu   bread does nothing with its ucred argument. remove it. ok matthew