mosys: whitelist prlimit64 in seccomp

This whitelist prlimit64 in seccomp because coreutils is calling this
system call. The api for prlimit is
int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
 struct rlimit *old_limit);
To block setrlimit, we need to allow calls where *new_limit is NULL.

TEST=no crash on coreutils

Change-Id: I8c6aff7dd7106846d88e7142350b6b6fbca51667
Commit-Ready: Yunlian Jiang <>
Tested-by: Yunlian Jiang <>
Reviewed-by: Mike Frysinger <>
2 files changed