On 08/04/06 18:00, Garrett D'Amore wrote:
I propose that /dev/openprom be changed to be mode 644, allowing any user to access it. This would allow ordinary users to run prtconf -vp (as well as a few other things like prtconf -F and prtconf -V) without becoming root.
Last I knew there was a dirty great big mutex around all entry to the OBP. And at least some drivers dive into the OBP repeatedly to retrieve properties again and again (dma properties for some HBA I think) which itself is bad if things are serialized, but userland access would allow a simple userland loop to affect all IO threads on the domain. That may be stale information now; my point is that we need to be careful here. Cheers Gavin _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
