[lkml]   [1998]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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 Steffen

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 13:45    [W:0.025 / U:2.076 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site