Re: [PATCH 1/2] net: socket.h structures documentation

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

 



On 08/01/14 14:31, Karoly Kemeny wrote:
> Signed-off-by: Karoly Kemeny <karoly.kemeny@xxxxxxxxx>
> ---
>  include/linux/socket.h | 78 ++++++++++++++++++++++++++++++++++++--------------
>  1 file changed, 57 insertions(+), 21 deletions(-)
> 
> diff --git a/include/linux/socket.h b/include/linux/socket.h
> index ec538fc..18c225a 100644
> --- a/include/linux/socket.h
> +++ b/include/linux/socket.h

> @@ -131,6 +163,10 @@ static inline struct cmsghdr * cmsg_nxthdr (struct msghdr *__msg, struct cmsghdr
>  #define SCM_CREDENTIALS 0x02		/* rw: struct ucred		*/
>  #define SCM_SECURITY	0x03		/* rw: security label		*/
>  
> +/**
> + *  struct ucred - credentials represented an a struct in the ancilliary message

                                              as

and then add:
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> + */
> +
>  struct ucred {
>  	__u32	pid;
>  	__u32	uid;
> 


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux