Nothing good, probably. Same story as /proc/apm, which only
hits BIOS instead (and it's debateable what is better).
> Security: don't you want CAP_RAW_IO or something before executing any of
> these ioctls?
Perhaps it's mode 600 in their distro...
> bug: you can't hold a spinlock while you are sleeping in copy_from_user
Yep... I meant to check for it but forgot.
-- Pete
-
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/