lkml.org 
[lkml]   [2004]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.4-mm1
Mickael Marchand <marchand@kde.org> wrote:
>
> Hi,
>
> on my config (opteron box) I need this patch to get it compiled :
>
> --- fs/compat_ioctl.c.orig 2004-03-11 08:57:49.472074584 +0000
> +++ fs/compat_ioctl.c 2004-03-11 08:57:01.770326352 +0000
> @@ -1604,7 +1604,7 @@
> * To have permissions to do most of the vt ioctls, we either have
> * to be the owner of the tty, or super-user.
> */
> - if (current->tty == tty || capable(CAP_SYS_ADMIN))
> + if (current->signal->tty == tty || capable(CAP_SYS_ADMIN))
> return 1;
> return 0;
> }

yup, thanks.

>
> while I am at it, I am running a 64 bits kernel with 32 bits debian testing and
> it seems some ioctl conversion fails
> that happened with all 2.6 I tried.
> here is the relevant kernel messages part :
> ioctl32(dmsetup:26199): Unknown cmd fd(3) cmd(c134fd00){01} arg(0804c0b0) on /dev/mapper/control

The device mapper version 1 ioctl interface was removed. Perhaps you need
to update your dm tools?

> ioctl32(fsck.reiserfs:201): Unknown cmd fd(4) cmd(80081272){00} arg(ffffdab8) on /dev/ide/host0/bus0/target0/lun0/part4

Is this something which 2.6 has always done, or is it new behaviour?

reiserfs ioctl translation appears to be incomplete...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.174 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site