• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 The ChromiumOS Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5@include /usr/share/policy/crosvm/common_device.policy
6
7stat64: 1
8lstat64: 1
9getdents64: 1
10name_to_handle_at: 1
11access: 1
12faccessat: 1
13faccessat2: 1
14timerfd_create: 1
15timerfd_settime: 1
16getsockname: 1
17pipe: 1
18setsockopt: 1
19bind: 1
20socket: arg0 == AF_NETLINK
21stat: 1
22statx: 1
23# The following ioctls are:
24# 0x4004550d == USBDEVFS_REAPURBNDELAY32
25# 0x550b     == USBDEVFS_DISCARDURB
26# 0x8004550f == USBDEVFS_CLAIMINTERFACE
27# 0x80045510 == USBDEVFS_RELEASEINTERFACE
28# 0x80045515 == USBDEVFS_CLEAR_HALT
29# 0x8004551a == USBDEVFS_GET_CAPABILITIES
30# 0x802c550a == USBDEVFS_SUBMITURB
31# 0xc0105500 == USBDEVFS_CONTROL
32# 0x5514 == USBDEVFS_RESET
33# 0x80045505 == USBDEVFS_SETCONFIGURATION
34# 0x8108551b == USBDEVFS_DISCONNECT_CLAIM
35# 0x40085511 == USBDEVFS_CONNECTINFO
36# 0x80185520 == USBDEVFS_CONNINFO_EX
37# 0x551f == USBDEVFS_GET_SPEED
38# 0x8008551c == USBDEVFS_ALLOC_STREAMS
39# 0x8008551d == USBDEVFS_FREE_STREAMS
40# 0x80085504 == USBDEVFS_SETINTERFACE
41# 0x80044801 == HIDIOCGRDESCSIZE
42# 0x90044802 == HIDIOCGRDESC
43ioctl: arg1 == 0xc0105500 || arg1 == 0x802c550a || arg1 == 0x8004551a || arg1 == 0x4004550d || arg1 == 0x8004550f || arg1 == 0x80045510 || arg1 == 0x80045515 || arg1 == 0x550b || arg1 == 0x5514 || arg1 == 0x80045505 || arg1 == 0x8108551b || arg1 == 0x40085511 || arg1 == 0x80185520 || arg1 == 0x551f || arg1 == 0x8008551c || arg1 == 0x8008551d || arg1 == 0x80085504 || arg1 == 0x80044801 || arg1 == 0x90044802
44fstat: 1
45fstat64: 1
46fstatat64: 1
47getrandom: 1
48getdents: 1
49open: return ENOENT
50openat: 1
51prctl: arg0 == PR_SET_NAME
52