As it is now, the setusercontext(3) call in gdm is missing a few flags. Attached patch fixes that by implicitly adding LOGIN_SETLOGINCLASS (neccessary for rctl resource limits), LOGIN_SETCPUMASK and LOGIN_SETMAC. Note that I've not been able to test the MAC part.
Fix: Patch attached with submission follows:
Over to maintainer (via the GNATS Auto Assign Tool)
It doesn't fix. It creates a bug. When I start GNOME with your patch and now
I get this: http://people.freebsd.org/~mezz/gdm_pr158174.jpg
Without your patch, GDM starts GNOME perfectly.
mezz 2011-06-25 14:52:19 UTC
FreeBSD ports repository
Before, the setusercontext(3) call in gdm is missing a few flags. Replace
those LOGIN_* to LOGIN_SETALL to enable all but not LOGIN_SETGROUP. It fixes
the rctl resource limits. Note that, the MAC framework is untest with it.
Bump the PORTREVISION.
Submitted by: trasz
Revision Changes Path
1.138 +1 -1 ports/x11/gdm/Makefile
1.5 +8 -11 ports/x11/gdm/files/patch-daemon_gdm-session-worker.c
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"