[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH hurd 11/30] auth: add a payload-aware intrans function
From: |
Samuel Thibault |
Subject: |
Re: [PATCH hurd 11/30] auth: add a payload-aware intrans function |
Date: |
Tue, 2 Dec 2014 01:04:04 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Thu 27 Nov 2014 14:18:51 +0100, a écrit :
> * auth/mig-mutate.h: Add mutator.
> * auth/mig-decls.h (auth_payload_to_handle): New function.
Ack.
> ---
> auth/mig-decls.h | 6 ++++++
> auth/mig-mutate.h | 1 +
> 2 files changed, 7 insertions(+)
>
> diff --git a/auth/mig-decls.h b/auth/mig-decls.h
> index 09c7c70..fa7b06d 100644
> --- a/auth/mig-decls.h
> +++ b/auth/mig-decls.h
> @@ -32,6 +32,12 @@ auth_port_to_handle (mach_port_t auth)
> return ports_lookup_port (auth_bucket, auth, authhandle_portclass);
> }
>
> +static inline struct authhandle * __attribute__ ((unused))
> +auth_payload_to_handle (unsigned long payload)
> +{
> + return ports_lookup_payload (auth_bucket, payload, authhandle_portclass);
> +}
> +
> static inline void __attribute__ ((unused))
> end_using_authhandle (struct authhandle *auth)
> {
> diff --git a/auth/mig-mutate.h b/auth/mig-mutate.h
> index ea40c70..5cc8914 100644
> --- a/auth/mig-mutate.h
> +++ b/auth/mig-mutate.h
> @@ -20,5 +20,6 @@
> /* CPP definitions for MiG processing of auth.defs for auth server. */
>
> #define AUTH_INTRAN authhandle_t auth_port_to_handle (auth_t)
> +#define AUTH_INTRAN_PAYLOAD authhandle_t auth_payload_to_handle
> #define AUTH_DESTRUCTOR end_using_authhandle (authhandle_t)
> #define AUTH_IMPORTS import "mig-decls.h";
> --
> 2.1.3
>
--
Samuel
<c> xlnt comme sujet de stage je peux essayer de donner une description
formelle de automake
-+- #ens-mim -+-
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH hurd 11/30] auth: add a payload-aware intrans function,
Samuel Thibault <=