Bug#389673: linux-kernel-headers: Old version of asm-i386/unistd.h in source tarball (hides _syscall* macros)

2006-09-27 Thread Bastian Blank
On Wed, Sep 27, 2006 at 01:39:10PM +1000, Ted Percival wrote:
 The linux-kernel-headers 2.6.18 source tarball contains an old version
 of include/asm-i386/unistd.h. This old version has the _syscall*
 macros hidden inside an #ifdef __KERNEL__ so userspace cannot use them.

The _syscall macros are not save to use on most architectures. Use the
syscall wrapper.

 The ifdef is on line 327. The source file was fixed in the following
 patch:
 http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=386dcafaacd212ef4a8aeed67a7db3ffbb44c7b2

This was reverted in e5fa6d70318e4a6a644edbb7d574059e5b326de1.

 According to the Changelog
 (http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.18) it was
 fixed between 2.6.18-rc5 and 2.6.18-rc6. I checked a couple of more
 recent commits in include/asm-i386 and they are up-to-date in the source
 tarball.

It is the state of the 2.6.18 release.

Bastian

-- 
Each kiss is as the first.
-- Miramanee, Kirk's wife, The Paradise Syndrome,
   stardate 4842.6


signature.asc
Description: Digital signature


Bug#389673: linux-kernel-headers: Old version of asm-i386/unistd.h in source tarball (hides _syscall* macros)

2006-09-26 Thread Ted Percival
Package: linux-kernel-headers
Version: 2.6.18-1
Severity: important

The linux-kernel-headers 2.6.18 source tarball contains an old version
of include/asm-i386/unistd.h. This old version has the _syscall*
macros hidden inside an #ifdef __KERNEL__ so userspace cannot use them.

The ifdef is on line 327. The source file was fixed in the following
patch:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=386dcafaacd212ef4a8aeed67a7db3ffbb44c7b2

According to the Changelog
(http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.18) it was
fixed between 2.6.18-rc5 and 2.6.18-rc6. I checked a couple of more
recent commits in include/asm-i386 and they are up-to-date in the source
tarball.

-Ted

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-686
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]