On Wed, 30 Aug 2000, Arnaldo Carvalho de Melo wrote: > - if ( !suser () ) return -EPERM; > + if ( !capable(CAP_SYS_ADMIN) ) return -EPERM; no, it should be CAP_SYS_RAWIO. I thought that is the convention for accessing chipset-specific io features. E.g. see arch/i386/kernel/microcode.c. Regards, Tigran - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] mtrr: s/suser/capable/ Richard Gooch
- Re: [PATCH] mtrr: s/suser/capable/ Arnaldo Carvalho de Melo
- Re: [PATCH] mtrr: s/suser/capable/ Richard Gooch
- Re: [PATCH] mtrr: s/suser/capable/ Tigran Aivazian
- Re: [PATCH] mtrr: s/suser/capable/ Matthew Kirkwood
- Re: [PATCH] mtrr: s/suser/capable/ Tigran Aivazian
- Re: [PATCH] mtrr: s/suser/capable/ Chris Evans
- Re: [PATCH] mtrr: s/suser/capable/ Richard Gooch
- Re: [PATCH] mtrr: s/suser/capabl... Jamie Lokier
- Re: [PATCH] mtrr: s/suser/c... Richard Gooch
- Re: [PATCH] mtrr: s/suser/capable/ Tigran Aivazian
- Re: [PATCH] mtrr: s/suser/capable/ Matthew Kirkwood
- Re: [PATCH] mtrr: s/suser/capable/ Andi Kleen
- Re: [PATCH] mtrr: s/suser/capable/ Alan Cox
- Re: [PATCH] mtrr: s/suser/capable/ Andi Kleen
- Re: [PATCH] mtrr: s/suser/capabl... Matthew Kirkwood
- Re: [PATCH] mtrr: s/suser/c... Chris Evans
- Re: [PATCH] mtrr: s/sus... Tigran Aivazian
- Re: [PATCH] mtrr: s/sus... Alan Cox
- Re: [PATCH] mtrr: s/suser/capabl... Tigran Aivazian
- Re: [PATCH] mtrr: s/suser/capabl... Alan Cox