[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#349765: linux-2.6.14-2-alpha-generic: please support the prctl syscall



Package: linux-2.6
Version: 2.6.14-7

So unaligned traps in kernel logs are a frequent complaint on debian-alpha,
and it's a PITA to turn these into real bug reports against the programs
responsible because there's no tool in the archive to let you change the
kernel handling of the unaligned traps; instead, people end up passing
around C snippets that do the job.

Having seen the nice prctl package, which is currently ia64-only, I decided
to see if I could get it to compile on alpha.  Lo and behold, it seems that
/usr/include/linux/prctl.h (from linux-kernel-headers) is a nice, generic
header that defines a nice, generic prctl() syscall that can be used for
adjusting unaligned trap handling.  Hurray!

But, um... it doesn't work.

prctl(0x5, 0x11fd45610, 0x120001bb2, 0x1200122b8, 0) = -1 EINVAL (Invalid argument)

So please make it work; knowing this exists and should be supported, I'm not
willing to hack up prctl's source to use __NR_osf_setsysinfo instead. :)

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: