David Powell wrote:
>
> As of Solaris 10, we use resource controls to limit the amount of
> shared memory users can allocate. The above no longer gives
> meaningful results. Instead use (as any user):
>
> $ prctl -n project.max-shm-memory $$
>
> and note that the limit is a limit on the total amount of shared
> memory a project can allocate (i.e. it is no longer a system-wide
> limit on individual segment sizes).
>
> See http://www.opensolaris.org/os/project/rm/rctls/sysv/ for more
> information on this change.
Interesting. So for Solaris, the X server process starts life as euid root
but after the user logs into the desktop, euid is switched to the user.
If I login as a non-root, which privilege category will the Xorg process
get for shm?