<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/kernel, branch v2.6.15.6</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/kernel?h=v2.6.15.6</id>
<link rel='self' href='https://git.amat.us/linux/atom/kernel?h=v2.6.15.6'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-03-01T22:36:35Z</updated>
<entry>
<title>[PATCH] fix zap_thread's ptrace related problems</title>
<updated>2006-03-01T22:36:35Z</updated>
<author>
<name>Oleg Nesterov</name>
<email>oleg@tv-sign.ru</email>
</author>
<published>2006-02-15T19:50:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=80a16577362b3eafa2f390d5e1ffb268464ccedb'/>
<id>urn:sha1:80a16577362b3eafa2f390d5e1ffb268464ccedb</id>
<content type='text'>
1. The tracee can go from ptrace_stop() to do_signal_stop()
   after __ptrace_unlink(p).

2. It is unsafe to __ptrace_unlink(p) while p-&gt;parent may wait
   for tasklist_lock in ptrace_detach().

Signed-off-by: Oleg Nesterov &lt;oleg@tv-sign.ru&gt;
Cc: Roland McGrath &lt;roland@redhat.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] do_sigaction: cleanup -&gt;sa_mask manipulation</title>
<updated>2006-03-01T22:36:34Z</updated>
<author>
<name>Oleg Nesterov</name>
<email>oleg@tv-sign.ru</email>
</author>
<published>2006-02-09T19:41:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d5ab647575aac6b58a3bfb1d670caf4c7c8d47c2'/>
<id>urn:sha1:d5ab647575aac6b58a3bfb1d670caf4c7c8d47c2</id>
<content type='text'>
Clear unblockable signals beforehand.

Signed-off-by: Oleg Nesterov &lt;oleg@tv-sign.ru&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] sys_signal: initialize -&gt;sa_mask</title>
<updated>2006-03-01T22:36:34Z</updated>
<author>
<name>Oleg Nesterov</name>
<email>oleg@tv-sign.ru</email>
</author>
<published>2006-02-09T19:41:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5e617b803260b4890a345f21d01790203e9dbde6'/>
<id>urn:sha1:5e617b803260b4890a345f21d01790203e9dbde6</id>
<content type='text'>
Pointed out by Linus Torvalds.

sys_signal() forgets to initialize -&gt;sa_mask.

( I suspect arch/ia64/ia32/ia32_signal.c:sys32_signal()
  also needs this fix )

Signed-off-by: Oleg Nesterov &lt;oleg@tv-sign.ru&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix workqueue oops during cpu offline</title>
<updated>2006-01-15T06:15:28Z</updated>
<author>
<name>Nathan Lynch</name>
<email>ntl@pobox.com</email>
</author>
<published>2006-01-08T09:05:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4e5ae24c6485ea49e61bdafb3e4d4d598bf5b1dc'/>
<id>urn:sha1:4e5ae24c6485ea49e61bdafb3e4d4d598bf5b1dc</id>
<content type='text'>
Use first_cpu(cpu_possible_map) for the single-thread workqueue case.  We
used to hardcode 0, but that broke on systems where !cpu_possible(0) when
workqueue_struct-&gt;cpu_workqueue_struct was changed from a static array to
alloc_percpu.

Commit id bce61dd49d6ba7799be2de17c772e4c701558f14 ("Fix hardcoded cpu=0 in
workqueue for per_cpu_ptr() calls") fixed that for Ben's funky sparc64
system, but it regressed my Power5.  Offlining cpu 0 oopses upon the next
call to queue_work for a single-thread workqueue, because now we try to
manipulate per_cpu_ptr(wq-&gt;cpu_wq, 1), which is uninitialized.

So we need to establish an unchanging "slot" for single-thread workqueues
which will have a valid percpu allocation.  Since alloc_percpu keys off of
cpu_possible_map, which must not change after initialization, make this
slot == first_cpu(cpu_possible_map).

Signed-off-by: Nathan Lynch &lt;ntl@pobox.com&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>sysctl: make sure to terminate strings with a NUL</title>
<updated>2006-01-01T01:00:29Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2006-01-01T01:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=de9e007d9105bf8fa613a89810feff32a43add03'/>
<id>urn:sha1:de9e007d9105bf8fa613a89810feff32a43add03</id>
<content type='text'>
This is a slightly more complete fix for the previous minimal sysctl
string fix.  It always terminates the returned string with a NUL, even
if the full result wouldn't fit in the user-supplied buffer.

The returned length is the full untruncated length, so that you can
tell when truncation has occurred.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Fix false old value return of sysctl</title>
<updated>2005-12-31T01:22:08Z</updated>
<author>
<name>Yi Yang</name>
<email>yang.y.yi@gmail.com</email>
</author>
<published>2005-12-30T08:37:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=82c9df820112c6286a8e8fbe482e94b65b49062c'/>
<id>urn:sha1:82c9df820112c6286a8e8fbe482e94b65b49062c</id>
<content type='text'>
For the sysctl syscall, if the user wants to get the old value of a
sysctl entry and set a new value for it in the same syscall, the old
value is always overwritten by the new value if the sysctl entry is of
string type and if the user sets its strategy to sysctl_string.  This
issue lies in the strategy being run twice if the strategy is set to
sysctl_string, the general strategy sysctl_string always returns 0 if
success.

Such strategy routines as sysctl_jiffies and sysctl_jiffies_ms return 1
because they do read and write for the sysctl entry.

The strategy routine sysctl_string return 0 although it actually read
and write the sysctl entry.

According to my analysis, if a strategy routine do read and write, it
should return 1, if it just does some necessary check but not read and
write, it should return 0, for example sysctl_intvec.

Signed-off-by: Yi Yang &lt;yang.y.yi@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>sysctl: don't overflow the user-supplied buffer with '\0'</title>
<updated>2005-12-31T01:18:53Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-12-31T01:18:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8febdd85adaa41fa1fc1cb31286210fc2cd3ed0c'/>
<id>urn:sha1:8febdd85adaa41fa1fc1cb31286210fc2cd3ed0c</id>
<content type='text'>
If the string was too long to fit in the user-supplied buffer,
the sysctl layer would zero-terminate it by writing past the
end of the buffer. Don't do that.

Noticed by Yi Yang &lt;yang.y.yi@gmail.com&gt;

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Fix memory ordering problem in wake_futex()</title>
<updated>2005-12-24T20:13:27Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2005-12-24T03:54:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8e31108b9f41069d55cb9b019ac8262c55fd2616'/>
<id>urn:sha1:8e31108b9f41069d55cb9b019ac8262c55fd2616</id>
<content type='text'>
Fix a memory ordering problem that occurs on IA64. The "store" to q-&gt;lock_ptr
in wake_futex() can become visible before wake_up_all() clears the lock in the
futex_q.

Signed-off-by: Jack Steiner &lt;steiner@sgi.com&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kernel/params.c: fix sysfs access with CONFIG_MODULES=n</title>
<updated>2005-12-20T18:31:33Z</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2005-12-20T14:21:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9e28393998d3d0733097306762f6d1c083fc92c6'/>
<id>urn:sha1:9e28393998d3d0733097306762f6d1c083fc92c6</id>
<content type='text'>
All the work was done to setup the file and maintain the file handles but
the access functions were zeroed out due to the #ifdef.  Removing the
#ifdef allows full access to all the parameters when CONFIG_MODULES=n.

akpm: put it back again, but use CONFIG_SYSFS instead.

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kprobes: increment kprobe missed count for multiprobes</title>
<updated>2005-12-12T16:57:45Z</updated>
<author>
<name>Keshavamurthy Anil S</name>
<email>anil.s.keshavamurthy@intel.com</email>
</author>
<published>2005-12-12T08:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bf8d5c52c3b6b27061e3b7d779057fd9a6cac164'/>
<id>urn:sha1:bf8d5c52c3b6b27061e3b7d779057fd9a6cac164</id>
<content type='text'>
When multiple probes are registered at the same address and if due to some
recursion (probe getting triggered within a probe handler), we skip calling
pre_handlers and just increment nmissed field.

The below patch make sure it walks the list for multiple probes case.
Without the below patch we get incorrect results of nmissed count for
multiple probe case.

Signed-off-by: Anil S Keshavamurthy &lt;anil.s.keshavamurthy@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
