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

2006-09-26 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 . 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:
> 

This was reverted in e5fa6d70318e4a6a644edbb7d574059e5b326de1.

> According to the Changelog
> () 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 . 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:


According to the Changelog
() 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]