[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: [PATCH] SCM_CREDS support

From: Svante Signell
Subject: Re: RFC: [PATCH] SCM_CREDS support
Date: Sat, 21 Feb 2015 16:09:46 +0100

On Fri, 2013-12-06 at 00:18 +0100, Svante Signell wrote:
> On Thu, 2013-10-24 at 18:24 +0200, Svante Signell wrote:
> > On Thu, 2013-10-24 at 18:15 +0200, Samuel Thibault wrote:
> New patches attached, this time using the auth_user_authenticate() and
> auth_server_authenticate() pair to get the credentials: *uid, *gid and
> groups. For PID checks, proc_getallpids() and proc_getprocinfo() are
> used, until proc_user_authenticate() proc_server_authenticate() is
> implemented (if needed?).
> With these patches gamin and glib2.0 work (including tests), Emacs in X,
> several Window Managers and browsers work and the test code sent in
> http://lists.gnu.org/archive/html/bug-hurd/2013-11/msg00346.html
> works. Several rights srtuctures are supported but only one credentials
> structure request is supported as implemented, but can be extended to
> more is needed (is more than one reasonable!?) 
> Comments/bugs/issues

New patches attached (with changelog). Open issues are which error codes
to return, see the patch. Desktops tried so far and working: xfce4 and

Most glib2.0 and dbus tests pass (after bootstrapping). And no fakeroot
passing wrong credentials (as in the current versions of hurd/glibc: a
BUG). Test code almost the same as submitted in November 2013.


Attachment: scm_creds+rights.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]