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

Mathieu Malaterre <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <CA+7wUszov7yOuo6MB_VyUQAjDLyvwkEr8xHWWxpi1+JHKQ4FGQ@mail.gmail.com>
Source: systemd
Version: 238-2
Severity: important
User: [email protected]
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@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 [email protected] could provide
one. Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.