I have created an aarch64 jail on an amd64 server using
make installworld/make dustribution/binmiscctl.
When starting the jail 'sh /etc/rc' stops with EPERM when
calling 'limits -C daemon <command>' from rc.subr.
Same with sudo: 'setrlimit(rlimit_stack): Operation not permitted'
I did not find any setting for jail.conf that helped.
Host system is FreeBSD 13.0