Home | History | Annotate | Download | only in procfs
History log of /src/sys/miscfs/procfs/procfs_mem.c
RevisionDateAuthorComments
 1.37  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.36  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.35  11-Dec-2005  christos branches: 1.35.20; 1.35.22;
merge ktrace-lwp.
 1.34  07-Aug-2003  agc branches: 1.34.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.33  29-Jun-2003  fvdl branches: 1.33.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.32  28-Jun-2003  darrenr Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
 1.31  09-May-2002  thorpej Move code shared by procfs and the kernel proper out of procfs and
into the kernel proper (renaming functions from procfs_* to process_*).
 1.30  12-Jan-2002  christos When checking for permissions, include the P_INEXEC test and return
EAGAIN if the process is exec'ing.
 1.29  10-Nov-2001  lukem add RCSIDs
 1.28  06-Nov-2001  simonb In procfs_domem() the addr variable is only needed if PMAP_NEED_PROCWR is
defined.
 1.27  24-Nov-2000  chs branches: 1.27.2; 1.27.4; 1.27.8;
remove dead code and other misc cleanup.
 1.26  26-Sep-2000  thorpej PHOLD/PRELE around uvm_io() to user address space is unnecessary. There
is nothing in the U-area that we need.
 1.25  28-Jun-2000  mrg <vm/vm.h> -> <uvm/uvm_extern.h>
 1.24  26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.23  25-Mar-1999  sommerfe branches: 1.23.2; 1.23.8; 1.23.18;
Disallow tracing of processes unless tracer's root directory is at or
above tracee's root directory.
 1.22  24-Mar-1999  mrg completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
 1.21  13-Mar-1999  thorpej Expose procfs_rwmem(). (This function will go away entirely when we
delete Mach VM.)
 1.20  25-Feb-1999  is Machine independent part of fix for PR 6152 (gdb doesn't work on machines
with UVM and seperate I&D-Cache). Mostly by Michael Hitch, but pass struct
proc * instead of the pmap. Reason: said machine will need a method to do
the syncing operation for "curproc", too; this way more code can be shared.
 1.19  13-Aug-1998  eeh Merge paddr_t changes into the main branch.
 1.18  10-Feb-1998  mrg branches: 1.18.2;
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
 1.17  05-Feb-1998  mrg initial import of the new virtual memory system, UVM, into -current.

UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the rest of the MI portion changes.

this will be KNF'd shortly. :-)
 1.16  13-Sep-1997  enami Use the same indentation as other two place, sys_ptrace() and
procfs_control().

Ok'ed by Jason R. Thorpe.
 1.15  10-Sep-1997  christos PR/4098: Alan Barrett: Fix diagnostic printf formatting.
 1.14  27-Aug-1997  thorpej Fix a reversed argument which caused procfs_checkioperm() to always return
"OK". Add a few comments to avoid further confusion.
 1.13  13-Aug-1997  explorer Move procfs_checkioperm() from procvs_subr.c to procfs_mem.c, since _subr is
not included in a kernel without procfs, and it seems wrong to pull
all of procfs_subr.c in for just that one function. Perhaps this
should go into a new file instead?
 1.12  12-Aug-1997  thorpej Fix the procfs hole described on current-users, similar to a fix for
FreeBSD by Sean Eric Fagan, but a bit different. This makes the checks
in the same places as sef's FreeBSD patch, but does not hardcode the
"kmem" group into the kernel, and also does a check identical to the
(3) and (4) checks in the NetBSD ptrace(2):

(1) it's not owned by you, or is set-id on exec (unless
you're root), or

(2) it's init, which controls the security level of the
entire system, and the system was not compiled with
permanently insecure mode turned on.
 1.11  13-Oct-1996  christos branches: 1.11.10;
backout previous kprintf changes
 1.10  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.9  11-Jun-1996  mycroft Add a missing PHOLD()/PRELE() pair.
 1.8  09-Feb-1996  christos branches: 1.8.4;
miscfs prototype changes
 1.7  05-Jan-1995  chopps initialize variable as pointed out by David Jones <dej@qpoint.torfree.net>
this should fix pr #699
 1.6  29-Jun-1994  cgd New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.5  15-Jun-1994  mycroft Minor update from JSP after merging my changes.
 1.4  08-Jun-1994  mycroft Update to 4.4-Lite fs code, with local changes.
 1.3  17-Mar-1994  briggs PG_COW -> PG_COPYONWRITE to match earlier changes in vm_page.h.
 1.2  05-Jan-1994  cgd make it compile (cleanly) for us
 1.1  05-Jan-1994  cgd branches: 1.1.1;
add new procfs code, from Jan-Simon Pendry, jsp@sequent.com.
This is pretty-much "virgin", so that diffs can be done later.
 1.1.1.2  01-Mar-1998  fvdl Import 4.4BSD-Lite2
 1.1.1.1  01-Mar-1998  fvdl Import 4.4BSD-Lite for reference
 1.8.4.1  10-Dec-1996  mycroft From trunk:
Add a missing PHOLD()/PRELE() pair.
 1.11.10.3  16-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.11.10.2  28-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.11.10.1  23-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.18.2.1  30-Jul-1998  eeh Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
 1.23.18.1  14-Jan-2002  he Pull up revision 1.30 (requested by christos):
Fix a ptrace/execve race condition which could be used to modify
the child process' image during execve. This would be a security
issue due to setuid programs.
 1.23.8.2  08-Dec-2000  bouyer Sync with HEAD.
 1.23.8.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.23.2.1  14-Jan-2002  he Pull up revision 1.30 (requested by he):
Fix a ptrace/execve race condition which could be used to modify
the child process' image during execve. This would be a security
issue due to setuid programs.
 1.27.8.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.27.4.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.27.4.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.27.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.27.2.7  12-Jul-2002  nathanw No longer need to pull in lwp.h; proc.h pulls it in for us.
 1.27.2.6  20-Jun-2002  nathanw Catch up to -current.
 1.27.2.5  01-Apr-2002  nathanw Missed l => p conversion in previous.
 1.27.2.4  01-Apr-2002  nathanw procfs_domem() should take proc *, proc *; not proc *, lwp *.
 1.27.2.3  28-Feb-2002  nathanw Catch up to -current.
 1.27.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.27.2.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.33.2.5  24-Feb-2005  skrll Reduce diff to HEAD
 1.33.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.33.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.33.2.2  03-Aug-2004  skrll Sync with HEAD
 1.33.2.1  02-Jul-2003  darrenr Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
 1.34.16.2  30-Dec-2006  yamt sync with head.
 1.34.16.1  21-Jun-2006  yamt sync with head.
 1.35.22.2  10-Dec-2006  yamt sync with head.
 1.35.22.1  22-Oct-2006  yamt sync with head
 1.35.20.1  18-Nov-2006  ad Sync with head.

RSS XML Feed