Re: [PATCH] tty_io.c: s/suser/capable/, check get_user

From: Tigran Aivazian (tigran@veritas.com)
Date: Sun Aug 27 2000 - 10:32:41 EST


On Sat, 26 Aug 2000, Arnaldo Carvalho de Melo wrote:
> - if ((current->tty != tty) && !suser())
> + if ((current->tty != tty) && !capable(CAP_SYS_ADMIN))

how about fixing mtrr driver to use capabilities as well? Last time I
tried it, Richard objected (well, I put a lot of unnecessary stuff at the
time so he objected to the entire patch, suser was a small part
thereof) but perhaps now we can sneak it in and he won't notice :)

Regards,
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:19 EST