Hi,
I tried to run my snap on focal/arm64, but the getrlimit calls are blocked by seccomp. The snap works well on focal/amd64.
May 04 18:17:12 ubuntu audit[5830]: SECCOMP auid=4294967295 uid=0 gid=0 ses=4294967295 pid=5830 comm="lighttpd" exe="/snap/adsb-box/259/usr/sbin/lighttpd" sig=0 arch=c00000b7 syscall=163 compat=0 ip=0xffffabc48d08 code=0x50000
May 04 18:17:12 ubuntu audit[5830]: SECCOMP auid=4294967295 uid=0 gid=0 ses=4294967295 pid=5830 comm="lighttpd" exe="/snap/adsb-box/259/usr/sbin/lighttpd" sig=0 arch=c00000b7 syscall=163 compat=0 ip=0xffffabc48d08 code=0x50000
May 04 18:17:12 ubuntu adsb-box.lighttpd[5830]: 2020-05-04 18:17:12: (server.c.738) couldn't get 'max filedescriptors' Operation not permitted
May 04 18:17:12 ubuntu systemd[1]: snap.adsb-box.lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
$ snappy-debug.scmp-sys-resolver -a aarch64 163
getrlimit
I did a quick search and found it seems only docker-support
allows getrlimit calls. I wonder if there is any other interface or solution?