lkml.org 
[lkml]   [1998]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectAPM security question

I'm curious about a little segment of the APM code:

in do_ioctl:

if (!as->suser)
return -EPERM;

This means that only root can issue to the ioctl to suspend the machine.
That seems odd, since it overrides the file permissions on the character
device. I don't like the idea that any APM-aware program has to be suid-root
to suspend the machine, I'd rather be able to select who can and can't
twiddle with APM suspend using the permissions on /dev/apm_bios.

Russ
--
----------------------------------
Russ Steffen
rsteffen@ia.net


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

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.022 / U:2.636 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site