mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
b08a9e2953
On 32bit arm systems, starting with glibc 2.33, the fstatat64 syscall is used to fix a y2038 bug and statx is also called for 64bit->32bit datastructure conversion. See this upstream glibc 2.33 commit range for more details: d892723830..aa03f722f3. Example failures (only on 32bit arm): type=SECCOMP comm="mtpd" exe="/usr/sbin/mtpd" sig=0 arch=40000028 syscall=327 code=0x7ffc0000 type=SECCOMP comm="mtpd" exe="/usr/sbin/mtpd" sig=0 arch=40000028 syscall=397 code=0x7ffc0000 BUG=b:187795855 TEST=Local builds; CQ. Change-Id: I003feeaa75552770920cdf9969a393940c5e997b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3113972 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
26 lines
527 B
Text
26 lines
527 B
Text
# Copyright 2018 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.
|
|
|
|
@include /usr/share/policy/crosvm/common_device.policy
|
|
|
|
fallocate: 1
|
|
fdatasync: 1
|
|
fstat64: 1
|
|
fstatat64: 1
|
|
fsync: 1
|
|
ftruncate64: 1
|
|
_llseek: 1
|
|
open: return ENOENT
|
|
openat: return ENOENT
|
|
pread64: 1
|
|
preadv: 1
|
|
pwrite64: 1
|
|
pwritev: 1
|
|
statx: 1
|
|
timerfd_create: 1
|
|
timerfd_gettime: 1
|
|
timerfd_gettime64: 1
|
|
timerfd_settime: 1
|
|
timerfd_settime64: 1
|
|
prctl: arg0 == PR_SET_NAME
|