[PATCH] tests: fix missing SHM_NORESERVE for mips

Dmitry V. Levin ldv at altlinux.org
Sat Nov 9 23:12:11 UTC 2019


On Sat, Nov 09, 2019 at 09:08:32AM +0100, Paul Chaignon wrote:
> * tests/ipc_shm.c (SHM_NORESERVE): Define.
> 
> Signed-off-by: Paul Chaignon <paul.chaignon at gmail.com>
> ---
>  tests/ipc_shm.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/ipc_shm.c b/tests/ipc_shm.c
> index 76c19d8d..f4d11fcb 100644
> --- a/tests/ipc_shm.c
> +++ b/tests/ipc_shm.c
> @@ -25,6 +25,10 @@
>  # define SHM_STAT_ANY 15
>  #endif
>  
> +#ifndef SHM_NORESERVE
> +# define SHM_NORESERVE 010000
> +#endif
> +
>  #include "xlat.h"
>  #include "xlat/shm_resource_flags.h"
>  

I wonder why it hasn't been an issue before, but applied anyway.
Thanks!


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20191110/dcea7913/attachment.bin>


More information about the Strace-devel mailing list