Bug#893605: warning: #warning "Consider adding the right mmap() syscall definitions here!" [-Wcpp]

James Cowgill jcowgill at jcowgill.uk
Thu Mar 22 11:31:00 GMT 2018


Control: forwarded -1 https://github.com/systemd/systemd/pull/8547

Hi,

On 20/03/18 11:14, Mathieu Malaterre wrote:
> Source: systemd
> Version: 238-2
> Severity: important
> User: debian-mips at lists.debian.org
> Usertags: mips mipsel mipsel64
> 
> There seems to be a missing code block to handle mmap/mmap2 on
> mips/mipsel & mipsel64:
> 
>  % ninja
> [263/1470] Compiling C object
> 'src/shared/systemd-shared-238 at sta/seccomp-util.c.o'.
> ../src/shared/seccomp-util.c: In function 'seccomp_memory_deny_write_execute':
> ../src/shared/seccomp-util.c:1478:2: warning: #warning "Consider
> adding the right mmap() syscall definitions here!" [-Wcpp]
>  #warning "Consider adding the right mmap() syscall definitions here!"
>   ^~~~~~~
> 
> 
> I am not comfortable providing a patch (not clear about mmap2 + o32
> for instance), hopefully someone from debian-mips at l.d.o could provide
> one. Thanks.

I sent a patch upstream (see above).

Also, please use X-Debbugs-CC in the future.

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20180322/12e78ed4/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list