<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux, branch v2.6.16.10</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/?h=v2.6.16.10</id>
<link rel='self' href='https://git.amat.us/linux/atom/?h=v2.6.16.10'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-04-24T17:07:37Z</updated>
<entry>
<title>Linux 2.6.16.10</title>
<updated>2006-04-24T17:07:37Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2006-04-24T17:07:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=834f514019e01f87657a257dae0fbbae1006ec2a'/>
<id>urn:sha1:834f514019e01f87657a257dae0fbbae1006ec2a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[PATCH] IPC: access to unmapped vmalloc area in grow_ary()</title>
<updated>2006-04-24T16:56:05Z</updated>
<author>
<name>Alexey Kuznetsov</name>
<email>kuznet@ms2.inr.ac.ru</email>
</author>
<published>2006-04-18T03:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1fca16492a85f69fbdd498fdd66156f7de44262d'/>
<id>urn:sha1:1fca16492a85f69fbdd498fdd66156f7de44262d</id>
<content type='text'>
grow_ary() should not copy struct ipc_id_ary (it copies new-&gt;p, not
new). Due to this, memcpy() src pointer could hit unmapped vmalloc page
when near page boundary.

Found during OpenVZ stress testing

Signed-off-by: Alexey Kuznetsov &lt;kuznet@ms2.inr.ac.ru&gt;
Signed-off-by: Kirill Korotaev &lt;dev@openvz.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Add more prevent_tail_call()</title>
<updated>2006-04-24T16:56:05Z</updated>
<author>
<name>OGAWA Hirofumi</name>
<email>hirofumi@mail.parknet.co.jp</email>
</author>
<published>2006-04-19T23:59:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7517f43bef6016c58c007446f882ecf98a5e287b'/>
<id>urn:sha1:7517f43bef6016c58c007446f882ecf98a5e287b</id>
<content type='text'>
Those also break userland regs like following.

   00000000 &lt;sys_chown16&gt;:
      0:	0f b7 44 24 0c       	movzwl 0xc(%esp),%eax
      5:	83 ca ff             	or     $0xffffffff,%edx
      8:	0f b7 4c 24 08       	movzwl 0x8(%esp),%ecx
      d:	66 83 f8 ff          	cmp    $0xffffffff,%ax
     11:	0f 44 c2             	cmove  %edx,%eax
     14:	66 83 f9 ff          	cmp    $0xffffffff,%cx
     18:	0f 45 d1             	cmovne %ecx,%edx
     1b:	89 44 24 0c          	mov    %eax,0xc(%esp)
     1f:	89 54 24 08          	mov    %edx,0x8(%esp)
     23:	e9 fc ff ff ff       	jmp    24 &lt;sys_chown16+0x24&gt;

where the tailcall at the end overwrites the incoming stack-frame.

Signed-off-by: OGAWA Hirofumi &lt;hirofumi@mail.parknet.co.jp&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] alim15x3: ULI M-1573 south Bridge support</title>
<updated>2006-04-24T16:56:05Z</updated>
<author>
<name>KAI.HSU</name>
<email>windsboy@gmail.com</email>
</author>
<published>2006-04-19T17:01:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ccc182530680032711743be0e5533e6117e30139'/>
<id>urn:sha1:ccc182530680032711743be0e5533e6117e30139</id>
<content type='text'>
&gt;From http://bugzilla.kernel.org/show_bug.cgi?id=6358

The alim15x3.c havn't been update for 3 years.  Recently when we use this
"ULI M1573" south bridge chip found that can't mount CDROM(VCD) smoothly,
must waiting for a long time.  After I check the "ULI M1573" south bridge
datasheet, I found the reason.  The reason is the "ULI M1573" version in
the Linux is "0xC7" not "0xC4" anymore So I was modified the source than it
was successed.

Cc: Bartlomiej Zolnierkiewicz &lt;B.Zolnierkiewicz@elka.pw.edu.pl&gt;
Acked-by: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] apm: fix Armada laptops again</title>
<updated>2006-04-24T16:56:05Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2006-04-19T17:00:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1ae48cacc64223063693f2a94cc264e680fb1964'/>
<id>urn:sha1:1ae48cacc64223063693f2a94cc264e680fb1964</id>
<content type='text'>
Fix the "apm: set display: Interface not engaged" error on Armada laptops
again.

Jordan said:

  I think this is fine.  It seems to me that this may be the fault of one or
  both of the APM solutions handling this situation in a non-standard way, but
  since APM is used very little on the Geode, and I have direct access to our
  BIOS folks, if this problem comes up with a customer again, we'll solve it
  from the firmware.

Signed-off-by: Samuel Thibault &lt;samuel.thibault@ens-lyon.org&gt;
Cc: "Jordan Crouse" &lt;jordan.crouse@amd.com&gt;
Cc: Zachary Amsden &lt;zach@vmware.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] fbdev: Fix return error of fb_write</title>
<updated>2006-04-24T16:56:05Z</updated>
<author>
<name>Antonino A. Daplas</name>
<email>adaplas@gmail.com</email>
</author>
<published>2006-04-19T17:01:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fd9b012814bebde59160283a13487841ccdfcce5'/>
<id>urn:sha1:fd9b012814bebde59160283a13487841ccdfcce5</id>
<content type='text'>
Fix return code of fb_write():

If at least 1 byte was transferred to the device, return number of bytes,
otherwise:

    - return -EFBIG - if file offset is past the maximum allowable offset or
      size is greater than framebuffer length
    - return -ENOSPC - if size is greater than framebuffer length - offset

Signed-off-by: Antonino Daplas &lt;adaplas@pol.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Fix file lookup without ref</title>
<updated>2006-04-24T16:56:05Z</updated>
<author>
<name>Dipankar Sarma</name>
<email>dipankar@in.ibm.com</email>
</author>
<published>2006-04-19T17:00:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=95fb678bf90572414b1c2f239c6a44226049ba8a'/>
<id>urn:sha1:95fb678bf90572414b1c2f239c6a44226049ba8a</id>
<content type='text'>
There are places in the kernel where we look up files in fd tables and
access the file structure without holding refereces to the file.  So, we
need special care to avoid the race between looking up files in the fd
table and tearing down of the file in another CPU.  Otherwise, one might
see a NULL f_dentry or such torn down version of the file.  This patch
fixes those special places where such a race may happen.

Signed-off-by: Dipankar Sarma &lt;dipankar@in.ibm.com&gt;
Acked-by: "Paul E. McKenney" &lt;paulmck@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] m41t00: fix bitmasks when writing to chip</title>
<updated>2006-04-24T16:56:05Z</updated>
<author>
<name>David Barksdale</name>
<email>amatus@ocgnet.org</email>
</author>
<published>2006-04-19T16:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bd6b6027eacb8e5ef633aa0e1c2576dc5a464675'/>
<id>urn:sha1:bd6b6027eacb8e5ef633aa0e1c2576dc5a464675</id>
<content type='text'>
Fix the bitmasks used when writing to the M41T00 registers.

The original code used a mask of 0x7f when writing to each register,
this is incorrect and probably the result of a copy-paste error.  As a
result years from 1980 to 1999 will be read back as 2000 to 2019.

Signed-off-by: David Barksdale &lt;amatus@ocgnet.org&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Open IPMI BT overflow</title>
<updated>2006-04-24T16:56:04Z</updated>
<author>
<name>Heikki Orsila</name>
<email>shd@jolt.modeemi.cs.tut.fi</email>
</author>
<published>2006-04-19T17:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3696ee36c993baee282a7be6245c7e7df5db1f83'/>
<id>urn:sha1:3696ee36c993baee282a7be6245c7e7df5db1f83</id>
<content type='text'>
I was looking into random driver code and found a suspicious looking
memcpy() in drivers/char/ipmi/ipmi_bt_sm.c on 2.6.17-rc1:

	if ((size &lt; 2) || (size &gt; IPMI_MAX_MSG_LENGTH))
		return -1;
	...
	memcpy(bt-&gt;write_data + 3, data + 1, size - 1);

where sizeof bt-&gt;write_data is IPMI_MAX_MSG_LENGTH.  It looks like the
memcpy would overflow by 2 bytes if size == IPMI_MAX_MSG_LENGTH.  A patch
attached to limit size to (IPMI_MAX_LENGTH - 2).

Cc: Corey Minyard &lt;minyard@acm.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] x86: be careful about tailcall breakage for sys_open[at] too</title>
<updated>2006-04-24T16:56:04Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-04-18T20:59:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3e5a2e956fff9e975e1b76c4de314cd077c6ec87'/>
<id>urn:sha1:3e5a2e956fff9e975e1b76c4de314cd077c6ec87</id>
<content type='text'>
x86: be careful about tailcall breakage for sys_open[at] too

Came up through a quick grep for other cases similar to the ftruncate()
one in commit 0a489cb3b6a7b277030cdbc97c2c65905db94536.

Also, add a comment, so that people who read the code understand why we
do what looks like a no-op.

(Again, this won't actually matter to any sane user, since libc will
save and restore the register gcc stomps on, but it's still wrong to
stomp on it)

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
