[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Source: systemd
Version: 238-2
Severity: important
User: debian-mips@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@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@l.d.o could provide
one. Thanks.


Reply to: