bug-hurd
[Top][All Lists]
Advanced

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

Re: RFC: [PATCH] SCM_CREDS support 1(2)


From: Samuel Thibault
Subject: Re: RFC: [PATCH] SCM_CREDS support 1(2)
Date: Wed, 16 Oct 2013 18:37:40 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Svante Signell, le Wed 16 Oct 2013 11:26:29 +0200, a écrit :
> > All of them. Everything that is provided in cmsgcred is supposed to have
> > been checked by the operating system as being correct.
> 
> How to handle case where not all ancillary data is sent, e.g. groups
> missing?

Well, you can still fill them as long as there is room for it.

>    By BSD
>    convention, this is included only when a sender on a AF_LOCAL socket
>    sends cmsg data of this type and size; the sender's structure is
>    ignored, and the system fills in the various IDs of the sender
> process.  */
> 
> Should we follow the BSD convention and completely ignore sent ancillary
> data as kFreeBSD does?

I guess so.

Samuel



reply via email to

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