[Bug 364430] [NEW] 2.6.15-54.76 Build failure at kernel/kexec.c
Tetsuo Handa
launchpad at I-love.SAKURA.ne.jp
Tue Apr 21 04:47:52 UTC 2009
Public bug reported:
Binary package hint: linux-source-2.6.15
$ wget 'https://launchpad.net/ubuntu/dapper/+source/linux-source-2.6.15/2.6.15-54.76/+files/linux-source-2.6.15_2.6.15.orig.tar.gz'
$ tar -zxf linux-source-2.6.15_2.6.15.orig.tar.gz
$ cd linux-source-2.6.15-2.6.15/
$ wget 'https://launchpad.net/ubuntu/dapper/+source/linux-source-2.6.15/2.6.15-54.76/+files/linux-source-2.6.15_2.6.15-54.76.diff.gz'
$ zcat linux-source-2.6.15_2.6.15-54.76.diff.gz | patch -sp1
$ grep -A 10 -B 10 SYSCALL kernel/kexec.c
/*
* A home grown binary mutex.
* Nothing can wait so this mutex is safe to use
* in interrupt context :)
*/
static int kexec_lock = 0;
asmlinkage long sys_kexec_load(unsigned long entry, unsigned long nr_segments,
struct kexec_segment __user *segments,
unsigned long flags)
SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments,
struct kexec_segment __user *, segments, unsigned long, flags)
{
struct kimage **dest_image, *image;
int locked;
int result;
/* We only trust the superuser with rebooting the system. */
if (!capable(CAP_SYS_BOOT))
return -EPERM;
These "sys_kexec_load" lines cause build failure.
Patch is available at https://lists.ubuntu.com/archives/kernel-team/2009-April/005265.html
** Affects: linux-source-2.6.15 (Ubuntu)
Importance: Undecided
Status: New
--
2.6.15-54.76 Build failure at kernel/kexec.c
https://bugs.launchpad.net/bugs/364430
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-source-2.6.15 in ubuntu.
More information about the kernel-bugs
mailing list