lkml.org 
[lkml]   [1997]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Process accounting question
   Date: 	Tue, 16 Sep 1997 22:55:37 +0100 (BST)
From: Chris Evans <chris@ferret.lmh.ox.ac.uk>

BSD process accounting has aq flag which notes whether a process has used
super user privs or not. Should it count if a process uses super user
privs to override file access permissions? Currently we don't take this
into account.

As long as everyone was careful to observe the convention that the
suser() test should be called at the *end* of logical OR or AND
statement, i.e.:

if ((current->euid != uid) && !suser())
return -EPERM;

.... then it would be a very simple matter of changing the suser()
command to set the "superuser privs used flag".

- Ted



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