lkml.org 
[lkml]   [1998]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: suser() -> capable() for linux/drivers
On Thu, 23 Apr 1998, Alexander Kjeldaas wrote:

> On Thu, Apr 23, 1998 at 01:08:52PM -0400, Richard B. Johnson wrote:
> > On Thu, 23 Apr 1998, Alexander Kjeldaas wrote:
> >
> > > This patch changes suser() to capable() in linux/drivers
> > >
> > [SNIPPED]
> > I hope that this won't break everything so nothing will work until
> > everybody completely reconfigures everything to use "capable" et-all.
> >
> > even init won't even be able to mount file-systems until it's modified.
> > I won't be able to use /bin/bash in place of init.
> >
> > Hopefully, this has been well though out. I would not like to have
> > to continue to use the present kernel forever.
>
> Try it. It changes nothing. The only effect is that if you look into
> /proc/self/status you'll see (as root):
>
> [...]
> CapInh: fffffeff
> CapPrm: fffffeff
> CapEff: fffffeff
>
> (the 'e' indicates that root doesn't have the CAP_SETPCAP capability).
>
> And as a normal user:
>
> [...]
> CapInh: fffffeff
> CapPrm: 00000000
> CapEff: 00000000
>
> astor

Very good.


Cheers,
Dick Johnson
***** FILE SYSTEM MODIFIED *****
Penguin : Linux version 2.1.92 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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