<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/kern/sys_process.c, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-02-24T05:45:17Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>urn:sha1:a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
</entry>
<entry>
<title> - Fix from pr kern/115469; Don't redeliver a signal once it has been</title>
<updated>2007-10-09T00:03:39Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2007-10-09T00:03:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8753688f03fb5d2808c5c76207b32e63479ef05c'/>
<id>urn:sha1:8753688f03fb5d2808c5c76207b32e63479ef05c</id>
<content type='text'>
   handled by the target process.

Contributed by:	Tijl Coosemans &lt;tijl@ulyssis.org&gt;
Approved by:	re
</content>
</entry>
<entry>
<title> - Move all of the PS_ flags into either p_flag or td_flags.</title>
<updated>2007-09-17T05:31:39Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2007-09-17T05:31:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b61ce5b0e6aad0a00038c9c40f29a7de3646e3fe'/>
<id>urn:sha1:b61ce5b0e6aad0a00038c9c40f29a7de3646e3fe</id>
<content type='text'>
 - p_sflag was mostly protected by PROC_LOCK rather than the PROC_SLOCK or
   previously the sched_lock.  These bugs have existed for some time.
 - Allow swapout to try each thread in a process individually and then
   swapin the whole process if any of these fail.  This allows us to move
   most scheduler related swap flags into td_flags.
 - Keep ki_sflag for backwards compat but change all in source tools to
   use the new and more correct location of P_INMEM.

Reported by:	pho
Reviewed by:	attilio, kib
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Commit 14/14 of sched_lock decomposition.</title>
<updated>2007-06-05T00:00:57Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2007-06-05T00:00:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=982d11f836278f1e95ae1ae398aa4d1d07a19006'/>
<id>urn:sha1:982d11f836278f1e95ae1ae398aa4d1d07a19006</id>
<content type='text'>
 - Use thread_lock() rather than sched_lock for per-thread scheduling
   sychronization.
 - Use the per-process spinlock rather than the sched_lock for per-process
   scheduling synchronization.

Tested by:      kris, current@
Tested on:      i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc.
Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each)
</content>
</entry>
<entry>
<title>Remove 'MPSAFE' annotations from the comments above most system calls: all</title>
<updated>2007-03-04T22:36:48Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-03-04T22:36:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0c14ff0eb52ddc7fdbacc5c8645d79afcaf73e3a'/>
<id>urn:sha1:0c14ff0eb52ddc7fdbacc5c8645d79afcaf73e3a</id>
<content type='text'>
system calls now enter without Giant held, and then in some cases, acquire
Giant explicitly.

Remove a number of other MPSAFE annotations in the credential code and
tweak one or two other adjacent comments.
</content>
</entry>
<entry>
<title>Make KSE a kernel option, turned on by default in all GENERIC</title>
<updated>2006-10-26T21:42:22Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>2006-10-26T21:42:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8460a577a4b4ec185bd813188a5b188893b8c140'/>
<id>urn:sha1:8460a577a4b4ec185bd813188a5b188893b8c140</id>
<content type='text'>
kernel configs except sun4v (which doesn't process signals properly
with KSE).

Reviewed by:	davidxu@
</content>
</entry>
<entry>
<title>Move sigqueue_take() call into proc_reparent(), this fixed bugs where</title>
<updated>2006-10-25T06:18:04Z</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2006-10-25T06:18:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ff7668079fdacf89d093376f9dbfa9c9b1a6f912'/>
<id>urn:sha1:ff7668079fdacf89d093376f9dbfa9c9b1a6f912</id>
<content type='text'>
proc_reparent() is called but sigqueue_take() is forgotten.
</content>
</entry>
<entry>
<title>Close a race condition where num can be larger than tmp, giving the user</title>
<updated>2006-10-14T10:30:14Z</updated>
<author>
<name>Tom Rhodes</name>
<email>trhodes@FreeBSD.org</email>
</author>
<published>2006-10-14T10:30:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f51bf07af8359023762905e15e7b6b37c9ddc1d2'/>
<id>urn:sha1:f51bf07af8359023762905e15e7b6b37c9ddc1d2</id>
<content type='text'>
too large of a boundary.

Reported by:	Ilja Van Sprundel
</content>
</entry>
<entry>
<title>Fix a signedness bug.</title>
<updated>2006-08-20T10:29:08Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2006-08-20T10:29:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=23a28f3a0deb18c6355e90367fc103121c40e0d9'/>
<id>urn:sha1:23a28f3a0deb18c6355e90367fc103121c40e0d9</id>
<content type='text'>
MFC after:	3 days
Security:	Local DoS
</content>
</entry>
<entry>
<title>Close some races between procfs/ptrace and exit(2):</title>
<updated>2006-02-22T18:57:50Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2006-02-22T18:57:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=06ad42b2f7280372512d6a36361c33c49f40b960'/>
<id>urn:sha1:06ad42b2f7280372512d6a36361c33c49f40b960</id>
<content type='text'>
- Reorder the events in exit(2) slightly so that we trigger the S_EXIT
  stop event earlier.  After we have signalled that, we set P_WEXIT and
  then wait for any processes with a hold on the vmspace via PHOLD to
  release it.  PHOLD now KASSERT()'s that P_WEXIT is clear when it is
  invoked, and PRELE now does a wakeup if P_WEXIT is set and p_lock drops
  to zero.
- Change proc_rwmem() to require that the processing read from has its
  vmspace held via PHOLD by the caller and get rid of all the junk to
  screw around with the vmspace reference count as we no longer need it.
- In ptrace() and pseudofs(), treat a process with P_WEXIT set as if it
  doesn't exist.
- Only do one PHOLD in kern_ptrace() now, and do it earlier so it covers
  FIX_SSTEP() (since on alpha at least this can end up calling proc_rwmem()
  to clear an earlier single-step simualted via a breakpoint).  We only
  do one to avoid races.  Also, by making the EINVAL error for unknown
  requests be part of the default: case in the switch, the various
  switch cases can now just break out to return which removes a _lot_ of
  duplicated PRELE and proc unlocks, etc.  Also, it fixes at least one bug
  where a LWP ptrace command could return EINVAL with the proc lock still
  held.
- Changed the locking for ptrace_single_step(), ptrace_set_pc(), and
  ptrace_clear_single_step() to always be called with the proc lock
  held (it was a mixed bag previously).  Alpha and arm have to drop
  the lock while the mess around with breakpoints, but other archs
  avoid extra lock release/acquires in ptrace().  I did have to fix a
  couple of other consumers in kern_kse and a few other places to
  hold the proc lock and PHOLD.

Tested by:	ps (1 mostly, but some bits of 2-4 as well)
MFC after:	1 week
</content>
</entry>
</feed>
