<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/kern/sys_process.c, branch stable/4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2004-03-03T09:18:41Z</updated>
<entry>
<title>MFC:	kern_exit.c	1.221</title>
<updated>2004-03-03T09:18:41Z</updated>
<author>
<name>Don Lewis</name>
<email>truckman@FreeBSD.org</email>
</author>
<published>2004-03-03T09:18:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=67405fb56996cb9fc333258536fbe2a63f84f064'/>
<id>urn:sha1:67405fb56996cb9fc333258536fbe2a63f84f064</id>
<content type='text'>
	sys_process.c	1.116

    When reparenting a process to init, make sure that p_sigparent is
    set to SIGCHLD.
</content>
</entry>
<entry>
<title>MFC sys_process.c 1.113, spigot.c 1.60:</title>
<updated>2003-08-10T23:09:28Z</updated>
<author>
<name>Jacques Vidrine</name>
<email>nectar@FreeBSD.org</email>
</author>
<published>2003-08-10T23:09:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=687918a41c388be89e8a9d400a50ed1771e30007'/>
<id>urn:sha1:687918a41c388be89e8a9d400a50ed1771e30007</id>
<content type='text'>
Add or correct range checking of signal numbers in system calls and
ioctls.
</content>
</entry>
<entry>
<title>PT_{GET|SET}DDREGS are defined in i386 MD headers in STABLE.</title>
<updated>2003-01-08T03:06:45Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2003-01-08T03:06:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=db06a1562c657fe0efd44206738771f7e95fb6ea'/>
<id>urn:sha1:db06a1562c657fe0efd44206738771f7e95fb6ea</id>
<content type='text'>
Do not try to use them if they were not defined (i.e on Alpha).

Submitted by:	Rich Bud &lt;rbud@fortean.com&gt;
</content>
</entry>
<entry>
<title>MFC:	split ptrace(2) syscall into a wrapper doing copyin/copyout</title>
<updated>2003-01-02T20:39:13Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2003-01-02T20:39:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f9cdc9fc05d7f99c39765e5c8e274020f7860ff9'/>
<id>urn:sha1:f9cdc9fc05d7f99c39765e5c8e274020f7860ff9</id>
<content type='text'>
	operations and kern_ptrace implementation function.

This is required for an upcoming Linux/i386 emulator ptrace syscall.
</content>
</entry>
<entry>
<title>Prevent DoS: Do not allow one to trace an ancestor when one is being traced.</title>
<updated>2002-06-17T19:23:41Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-06-17T19:23:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=721740b1fc88f7fa851ec6d814b7dcfa5270efa8'/>
<id>urn:sha1:721740b1fc88f7fa851ec6d814b7dcfa5270efa8</id>
<content type='text'>
PR: kern/29741
MFC: 1.90
</content>
</entry>
<entry>
<title>Eliminate ptrace/exec race.</title>
<updated>2002-01-22T17:23:02Z</updated>
<author>
<name>Jacques Vidrine</name>
<email>nectar@FreeBSD.org</email>
</author>
<published>2002-01-22T17:23:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2b0bc2317e02d8627d355e7759a0e2f6c079f204'/>
<id>urn:sha1:2b0bc2317e02d8627d355e7759a0e2f6c079f204</id>
<content type='text'>
MFC 1.191 src/sys/sys/proc.h
MFC 1.44  src/sys/kern/kern_exec.c (execve)
   Add P_INEXEC flag to indicate that a process is currently exec'ing.

sys/kern/sys_process.c (ptrace)
sys/miscfs/procfs/...
   Do not allow debugging of a process during exec.

Submitted by:	tegge
Approved by:	re
</content>
</entry>
<entry>
<title>MFC: Initiate de-orbit burn for PT_READ_U/PT_WRITE_U.  These particularly</title>
<updated>2001-10-03T06:55:43Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2001-10-03T06:55:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=266faa3f7b8562792a6120d183326bdc3d50cddc'/>
<id>urn:sha1:266faa3f7b8562792a6120d183326bdc3d50cddc</id>
<content type='text'>
nasty interfaces should have been put to death long ago.  Nothing in the
tree uses them (and should not anyway since we have PT_GETREGS etc) and
as near as I can tell, no ports use it either.
</content>
</entry>
<entry>
<title>MFC: Rev 1.53  signal value check not needed for PT_STEP request.</title>
<updated>2000-10-26T04:34:41Z</updated>
<author>
<name>John W. De Boskey</name>
<email>jwd@FreeBSD.org</email>
</author>
<published>2000-10-26T04:34:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0db2cb64fda9e47484aa3aee691423cbdda8a108'/>
<id>urn:sha1:0db2cb64fda9e47484aa3aee691423cbdda8a108</id>
<content type='text'>
     Note: Rev 1.52 has is not MFC'd at this point.
</content>
</entry>
<entry>
<title>Introduce the new function</title>
<updated>1999-11-21T19:03:20Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-11-21T19:03:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9e0361b4ad80f0014d3c85720db964b135f65e6'/>
<id>urn:sha1:a9e0361b4ad80f0014d3c85720db964b135f65e6</id>
<content type='text'>
        p_trespass(struct proc *p1, struct proc *p2)
which returns zero or an errno depending on the legality of p1 trespassing
on p2.

Replace kern_sig.c:CANSIGNAL() with call to p_trespass() and one
extra signal related check.

Replace procfs.h:CHECKIO() macros with calls to p_trespass().

Only show command lines to process which can trespass on the target
process.
</content>
</entry>
<entry>
<title>useracc() the prequel:</title>
<updated>1999-10-29T18:09:36Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-10-29T18:09:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=923502ff91327138aa9ef1d59ea7044d2936e0ef'/>
<id>urn:sha1:923502ff91327138aa9ef1d59ea7044d2936e0ef</id>
<content type='text'>
Merge the contents (less some trivial bordering the silly comments)
of &lt;vm/vm_prot.h&gt; and &lt;vm/vm_inherit.h&gt; into &lt;vm/vm.h&gt;.  This puts
the #defines for the vm_inherit_t and vm_prot_t types next to their
typedefs.

This paves the road for the commit to follow shortly: change
useracc() to use VM_PROT_{READ|WRITE} rather than B_{READ|WRITE}
as argument.
</content>
</entry>
</feed>
