[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/8] include: add a payload-aware intran mutator for memory_o
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 6/8] include: add a payload-aware intran mutator for memory_object_t |
Date: |
Wed, 1 Oct 2014 01:17:55 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Ack.
Justus Winter, le Thu 18 Sep 2014 15:22:48 +0200, a écrit :
> * include/mach/mach_types.defs (memory_object_t): Add a payload-aware
> intran mutator.
> * include/mach/memory_object.defs: Likewise in the inlined type
> declarations.
> ---
> include/mach/mach_types.defs | 3 +++
> include/mach/memory_object.defs | 13 +++++++++++++
> 2 files changed, 16 insertions(+)
>
> diff --git a/include/mach/mach_types.defs b/include/mach/mach_types.defs
> index bfce6cb..85ad653 100644
> --- a/include/mach/mach_types.defs
> +++ b/include/mach/mach_types.defs
> @@ -139,6 +139,9 @@ type memory_object_t = mach_port_t
> #ifdef MEMORY_OBJECT_INTRAN
> intran: MEMORY_OBJECT_INTRAN
> #endif
> +#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
> + intranpayload: MEMORY_OBJECT_INTRAN_PAYLOAD
> +#endif
> #ifdef MEMORY_OBJECT_OUTTRAN
> outtran: MEMORY_OBJECT_OUTTRAN
> #endif
> diff --git a/include/mach/memory_object.defs b/include/mach/memory_object.defs
> index 1ae36aa..6372ded 100644
> --- a/include/mach/memory_object.defs
> +++ b/include/mach/memory_object.defs
> @@ -93,6 +93,10 @@ simpleroutine memory_object_terminate(
> #ifdef MEMORY_OBJECT_INTRAN
> intran: MEMORY_OBJECT_INTRAN
> #endif
> +#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
> + intranpayload:
> + MEMORY_OBJECT_INTRAN_PAYLOAD
> +#endif
> #ifdef MEMORY_OBJECT_DESTRUCTOR
> destructor: MEMORY_OBJECT_DESTRUCTOR
> #endif
> @@ -236,6 +240,9 @@ simpleroutine memory_object_lock_completed(
> #ifdef MEMORY_OBJECT_INTRAN
> intran: MEMORY_OBJECT_INTRAN
> #endif
> +#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
> + intranpayload: MEMORY_OBJECT_INTRAN_PAYLOAD
> +#endif
> #ifdef MEMORY_OBJECT_DESTRUCTOR
> destructor: MEMORY_OBJECT_DESTRUCTOR
> #endif
> @@ -274,6 +281,9 @@ simpleroutine memory_object_supply_completed(
> #ifdef MEMORY_OBJECT_INTRAN
> intran: MEMORY_OBJECT_INTRAN
> #endif
> +#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
> + intranpayload: MEMORY_OBJECT_INTRAN_PAYLOAD
> +#endif
> #ifdef MEMORY_OBJECT_DESTRUCTOR
> destructor: MEMORY_OBJECT_DESTRUCTOR
> #endif
> @@ -327,6 +337,9 @@ simpleroutine memory_object_change_completed(
> #ifdef MEMORY_OBJECT_INTRAN
> intran: MEMORY_OBJECT_INTRAN
> #endif
> +#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
> + intranpayload: MEMORY_OBJECT_INTRAN_PAYLOAD
> +#endif
> #ifdef MEMORY_OBJECT_DESTRUCTOR
> destructor: MEMORY_OBJECT_DESTRUCTOR
> #endif
> --
> 2.1.0
>
--
Samuel
mdiym42: note to self
mdiym42: make sure your cat is not sleeping in the bass drum before you start
playing them
- [PATCH 1/8] ipc: add protected payload, (continued)
- [PATCH 1/8] ipc: add protected payload, Justus Winter, 2014/09/18
- [PATCH 2/8] ipc: implement mach_port_{set,clear}_protected_payload, Justus Winter, 2014/09/18
- [PATCH 4/8] include: define MACH_MSG_TYPE_PROTECTED_PAYLOAD, Justus Winter, 2014/09/18
- [PATCH 3/8] include: add msgh_protected_payload to mach_msg_header_t, Justus Winter, 2014/09/18
- [PATCH 5/8] ipc: provide the protected payload in ipc_kmsg_copyout_header, Justus Winter, 2014/09/18
- [PATCH 6/8] include: add a payload-aware intran mutator for memory_object_t, Justus Winter, 2014/09/18
- Re: [PATCH 6/8] include: add a payload-aware intran mutator for memory_object_t,
Samuel Thibault <=
- [PATCH 7/8] include: add a payload-aware intran mutator for notify_port_t, Justus Winter, 2014/09/18
- [PATCH 8/8] include: add a payload-aware intran mutator for device_t, Justus Winter, 2014/09/18
- Re: [PATCH 1/8] ipc: add protected payload, Samuel Thibault, 2014/09/30
- Re: [PATCH 5/5] ipc: provide the protected payload in ipc_kmsg_copyout_header, Samuel Thibault, 2014/09/30