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_3_BASE


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.29   11 years  miod   Remove no longer used struct emul extern declarations.
[TXT] exec_elf.c  1.90   11 years  deraadt   Slice & dice coredump write requests into MAXPHYS blocks, and yield between oper...
[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.186   11 years  jasper   copyright++;
[TXT] init_sysent.c  1.138   11 years  deraadt   sync
[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.23   11 years  beck   use wakeup here, not wakeup_one - avoids problem of not waking up writers when t...
[TXT] kern_clock.c  1.78   11 years  mpi   Back out per-CPU kernel profiling, it shouldn't modify a public header at this m...
[TXT] kern_descrip.c  1.99   11 years  guenther   To protect assumptions inside systrace, don't let systrace fds be shared between...
[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.132   11 years  guenther   Apply profiling to all threads instead of just the thread that called profil() b...
[TXT] kern_exit.c  1.119   11 years  kettenis   Plug a race where we're trying to kill a traced process while it is aleady exiti...
[TXT] kern_fork.c  1.143   11 years  guenther   If uvm_km_kmemalloc_pla() fails when just creating a thread (and not a process),...
[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.94   11 years  miod   Comment out recently added __attribute__((__format__(__kprintf__))) annotations ...
[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.55   11 years  guenther   Make groupmember() check the effective gid too, so that the checks are consisten...
[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.148   11 years  guenther   Insufficient levels of hops in the local brew led to Theo and I mucking up the V...
[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.104   11 years  haesbaert   Stop "inlining" setrunnable() we already had two bugs because of it. This also m...
[TXT] kern_sysctl.c  1.231   11 years  mpi   When information about threads are not requested sum the '%cpu' of all threads i...
[TXT] kern_tc.c  1.18   11 years  miod   unifdef -D __HAVE_TIMECOUNTER
[TXT] kern_time.c  1.76   11 years  miod   unifdef -D __HAVE_TIMECOUNTER
[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.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.67   11 years  deraadt   Revamp the sequences for suspend/hibernate -> resume so that the code paths are ...
[TXT] subr_disk.c  1.147   11 years  miod   Comment out recently added __attribute__((__format__(__kprintf__))) annotations ...
[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.50   11 years  pirofti   Style, no functional changes. Discussed with 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.114   11 years  miod   Comment out recently added __attribute__((__format__(__kprintf__))) annotations ...
[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.23   11 years  mpi   Back out per-CPU kernel profiling, it shouldn't modify a public header at this m...
[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.15   11 years  bluhm   Changing the socket buffer flags sb_flags was not interrupt safe as |= and &= ar...
[TXT] syscalls.c  1.139   11 years  deraadt   sync
[TXT] syscalls.master  1.126   11 years  deraadt   compat_o48_sys_getdirentries can die; ok guenther
[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.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.96   11 years  deraadt   Ensure the tty hiwat is less than the size of the ring buffer (since we do not g...
[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.170   11 years  miod   Comment out recently added __attribute__((__format__(__kprintf__))) annotations ...
[TXT] uipc_mbuf2.c  1.36   11 years  mikeb   convert mbuf tags to use pool(9) as a backend storage; ok markus claudio haesbae...
[TXT] uipc_proto.c  1.6   12 years  matthew   Implement SOCK_SEQPACKET for UNIX sockets. ok claudio@
[TXT] uipc_socket.c  1.114   11 years  bluhm   Fix a bug in udp socket splicing in case a packet gets diverted and spliced and ...
[TXT] uipc_socket2.c  1.55   11 years  bluhm   Changing the socket buffer flags sb_flags was not interrupt safe as |= and &= ar...
[TXT] uipc_syscalls.c  1.87   11 years  guenther   In sys_accept(), don't sleep between pulling the new socket from the queue and c...
[TXT] uipc_usrreq.c  1.69   11 years  guenther   For consistency with other OSes and ease of porting, make get{sock,peer}name() b...
[TXT] vfs_bio.c  1.146   11 years  miod   Comment out recently added __attribute__((__format__(__kprintf__))) annotations ...
[TXT] vfs_biomem.c  1.23   11 years  beck   oops. this kassert should have gone with the B_NOTMAPPED commit
[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.30   11 years  deraadt   kill nnpfs dead
[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.202   11 years  miod   Comment out recently added __attribute__((__format__(__kprintf__))) annotations ...
[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.190   11 years  matthew   In doreadlinkat(), only access auio.uio_resid if it's already been initialized. ...
[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.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.30   11 years  miod   Comment out recently added __attribute__((__format__(__kprintf__))) annotations ...
[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