blob: e101712b4f65733008bc2bdc70b4eba88e96da19 [file] [log] [blame]
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
access: 1
brk: 1
close: 1
exit: 1
exit_group: 1
fcntl64: 1
fstat64: 1
futex: 1
getdents64: 1
getegid32: 1
geteuid32: 1
getgid32: 1
getpid: 1
getuid32: 1
lstat: 1
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mremap: 1
munmap: 1
newfstatat: 1
# Restrict open flags. O_DIRECTORY (0x10000), O_LARGEFILE (0x8000),
# and O_CLOEXEC (0x80000) aren't symbols minijail knows, so are
# specified directly.
open: arg1 in O_RDONLY|O_NONBLOCK|0x10000|0x8000|0x80000
openat: arg2 in O_RDONLY|O_NONBLOCK|0x10000|0x8000|0x80000
open: 1
openat: 1
read: 1
stat64: 1
uname: 1
write: 1