[PATCH] Solaris: Use VT_SET_CONSUSER ioctl to set Console User rights profile

Adam Jackson ajax at nwnk.net
Fri May 21 08:04:39 PDT 2010


On Thu, 2010-05-20 at 17:56 -0700, Alan Coopersmith wrote:
> From: Aaron Zang <Aaron.Zang at Sun.COM>
> 
> When Xorg is started on display :0, this ioctl is called to grant the
> user the rights traditionally associated with /dev/console (before VT
> support was added), such as access to local peripheral devices.
> 
> Also adds a Solaris-specific -C flag to force starting on /dev/console
> instead of /dev/vt*, allowing programs like xterm -C to access the
> console device.
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Curious API.

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100521/5501e0ae/attachment.pgp>


More information about the xorg-devel mailing list