[lkml]   [2000]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] tty_io.c: s/suser/capable/, check get_user
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 :)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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