2021-11-10 19:45:32 +00:00
|
|
|
# Copyright 2021 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/gpu_common.policy
|
|
|
|
|
2021-12-11 01:27:43 +00:00
|
|
|
# allow fork() and waitid()
|
2021-11-10 19:45:32 +00:00
|
|
|
clone: 1
|
2021-12-11 01:27:43 +00:00
|
|
|
waitid: 1
|
2021-11-10 19:45:32 +00:00
|
|
|
|
2021-12-13 20:10:22 +00:00
|
|
|
# allow SOCK_STREAM and SOCK_DGRAM (syslog)
|
|
|
|
socket: arg0 == AF_UNIX && arg2 == 0
|
|
|
|
|
2021-11-10 19:45:32 +00:00
|
|
|
# allow socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC)
|
|
|
|
socketpair: arg0 == AF_UNIX && arg1 == SOCK_SEQPACKET|SOCK_CLOEXEC && arg2 == 0
|
2021-12-16 19:45:36 +00:00
|
|
|
|
|
|
|
# allow signalfd()
|
|
|
|
signalfd4: 1
|