> >>Under more restricted domains, root cannot bit-bang the interface.
> >>s/CAP_SYS_RAWIO/CAP_DEVICE_CMD/ for the raw cmd ioctl interface. Have
> >>
> >
> >Nobody uses capabilities these days, right?
>
> Actually, the NSA and HP secure linux products do, at the very least.
> And there is some ELF capabilities project out there IIRC, but I dunno
> if anybody's using it.
I did ELF capabilities ;-). And no, I do not think I had many users.
> commands. With the proper sequencing, you can even do power management
> of the drives in userspace. You don't want to do system suspend/resume
> that way, but you can certainly have a userspace policy daemon running,
> that powers-down and powers-up the drives, etc.
See noflushd, Hdparm is able to powersave disks well, already, and it
was in 2.2.X, too.
Pavel
-- (about SSSCA) "I don't say this lightly. However, I really think that the U.S. no longer is classifiable as a democracy, but rather as a plutocracy." --hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/