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:
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback 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 Modified files: x11/gdm Makefile x11/gdm/files patch-daemon_gdm-session-worker.c Log: 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. PR: ports/158174 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 _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed, thanks!