Home
last modified time | relevance | path

Searched refs:ioctl (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/system/sepolicy/prebuilts/api/26.0/
Dnonplat_sepolicy.cil1741 (allow bootanim_26_0 gpu_device_26_0 (chr_file (ioctl read write getattr lock append open)))
1743 (allow bootanim_26_0 oemfs_26_0 (file (ioctl read getattr lock open)))
1744 (allow bootanim_26_0 audio_device_26_0 (dir (ioctl read getattr lock search open)))
1745 (allow bootanim_26_0 audio_device_26_0 (chr_file (ioctl read write getattr lock append open)))
1748 (allow bootanim_26_0 ion_device_26_0 (chr_file (ioctl read write getattr lock append open)))
1751 (allow bootanim_26_0 proc_26_0 (dir (ioctl read getattr lock search open)))
1752 (allow bootanim_26_0 proc_26_0 (file (ioctl read getattr lock open)))
1753 (allow bootanim_26_0 proc_26_0 (lnk_file (ioctl read getattr lock open)))
1754 (allow bootanim_26_0 proc_meminfo_26_0 (file (ioctl read getattr lock open)))
1755 (allow bootanim_26_0 sysfs_26_0 (dir (ioctl read getattr lock search open)))
[all …]
/system/sepolicy/prebuilts/api/27.0/
Dnonplat_sepolicy.cil1961 (allow bootanim_27_0 gpu_device_27_0 (chr_file (ioctl read write getattr lock append map open)))
1963 (allow bootanim_27_0 oemfs_27_0 (file (ioctl read getattr lock map open)))
1964 (allow bootanim_27_0 audio_device_27_0 (dir (ioctl read getattr lock search open)))
1965 (allow bootanim_27_0 audio_device_27_0 (chr_file (ioctl read write getattr lock append map open)))
1968 (allow bootanim_27_0 ion_device_27_0 (chr_file (ioctl read write getattr lock append map open)))
1971 (allow bootanim_27_0 proc_27_0 (dir (ioctl read getattr lock search open)))
1972 (allow bootanim_27_0 proc_27_0 (file (ioctl read getattr lock map open)))
1973 (allow bootanim_27_0 proc_27_0 (lnk_file (ioctl read getattr lock map open)))
1974 (allow bootanim_27_0 proc_meminfo_27_0 (file (ioctl read getattr lock map open)))
1975 (allow bootanim_27_0 sysfs_27_0 (dir (ioctl read getattr lock search open)))
[all …]
/system/sepolicy/prebuilts/api/28.0/
Dplat_pub_versioned.cil3049 (allow appdomain zygote_exec_28_0 (file (ioctl read getattr lock map execute execute_no_trans open)…
3052 (allow appdomain cgroup_28_0 (file (ioctl read write getattr lock append map open)))
3054 (allow appdomain dalvikcache_data_file_28_0 (file (ioctl read getattr lock map open)))
3055 (allow base_typeattr_43_28_0 rootfs_28_0 (lnk_file (ioctl read getattr lock map open)))
3056 (allow base_typeattr_43_28_0 tmpfs_28_0 (lnk_file (ioctl read getattr lock map open)))
3057 (allow appdomain tmpfs_28_0 (dir (ioctl read getattr lock search open)))
3063 (allow appdomain devpts_28_0 (chr_file (ioctl read write getattr)))
3065 (allow appdomain system_server_28_0 (fifo_file (ioctl read write getattr lock append map open)))
3068 (allow appdomain appdomain (fifo_file (ioctl read write getattr lock append map open)))
3070 (allow base_typeattr_43_28_0 app_data_file_28_0 (dir (ioctl read write create getattr setattr lock …
[all …]
/system/sepolicy/prebuilts/api/31.0/private/compat/27.0/
D27.0.compat.cil3 (allowx vendordomain dev_type (ioctl blk_file ((range 0x0000 0xffff))))
4 (allowx vendordomain file_type (ioctl file ((range 0x0000 0xffff))))
8 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
9 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
10 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
11 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/sepolicy/prebuilts/api/31.0/private/compat/28.0/
D28.0.compat.cil3 (allowx vendordomain dev_type (ioctl blk_file ((range 0x0000 0xffff))))
4 (allowx vendordomain file_type (ioctl file ((range 0x0000 0xffff))))
8 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
9 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
10 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
11 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/sepolicy/prebuilts/api/31.0/private/compat/26.0/
D26.0.compat.cil3 (allowx vendordomain dev_type (ioctl blk_file ((range 0x0000 0xffff))))
4 (allowx vendordomain file_type (ioctl file ((range 0x0000 0xffff))))
8 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
9 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
10 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
11 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/sepolicy/private/compat/28.0/
D28.0.compat.cil3 (allowx vendordomain dev_type (ioctl blk_file ((range 0x0000 0xffff))))
4 (allowx vendordomain file_type (ioctl file ((range 0x0000 0xffff))))
8 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
9 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
10 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
11 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/sepolicy/vendor/
Dhal_can_socketcan.te13 allow hal_can_socketcan self:udp_socket { create ioctl };
14 allowxperm hal_can_socketcan self:udp_socket ioctl {
19 allow hal_can_socketcan self:can_socket { bind create read write ioctl setopt };
20 allowxperm hal_can_socketcan self:can_socket ioctl {
30 allow hal_can_socketcan usb_serial_device:chr_file { ioctl read write open };
31 allowxperm hal_can_socketcan usb_serial_device:chr_file ioctl {
/system/sepolicy/private/compat/26.0/
D26.0.compat.cil3 (allowx vendordomain dev_type (ioctl blk_file ((range 0x0000 0xffff))))
4 (allowx vendordomain file_type (ioctl file ((range 0x0000 0xffff))))
8 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
9 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
10 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
11 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/sepolicy/private/compat/27.0/
D27.0.compat.cil3 (allowx vendordomain dev_type (ioctl blk_file ((range 0x0000 0xffff))))
4 (allowx vendordomain file_type (ioctl file ((range 0x0000 0xffff))))
8 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
9 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
10 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
11 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/sepolicy/private/compat/29.0/
D29.0.compat.cil6 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
7 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
8 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
9 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/sepolicy/prebuilts/api/31.0/private/compat/29.0/
D29.0.compat.cil6 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
7 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
8 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
9 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/extras/tests/framebuffer/
Drefresh.c45 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in main()
49 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in main()
60 if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) { in main()
66 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in main()
111 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in main()
150 ioctl(fd, FBIOPUT_VSCREENINFO, &info); in main()
154 err = ioctl(fd, FBIOPUT_VSCREENINFO, &info); in main()
/system/sepolicy/prebuilts/api/30.0/public/
Dsgdisk.te10 allowxperm sgdisk vold_device:blk_file ioctl { HDIO_GETGEO };
14 # using the BLKGETSIZE ioctl as it is useless for devices over
17 allowxperm sgdisk vold_device:blk_file ioctl { BLKGETSIZE };
19 allowxperm sgdisk vold_device:blk_file ioctl { BLKRRPART };
21 allowxperm sgdisk vold_device:blk_file ioctl { BLKPBSZGET };
24 allow sgdisk devpts:chr_file { read write ioctl getattr };
/system/sepolicy/prebuilts/api/31.0/public/
Dsgdisk.te10 allowxperm sgdisk vold_device:blk_file ioctl { HDIO_GETGEO };
14 # using the BLKGETSIZE ioctl as it is useless for devices over
17 allowxperm sgdisk vold_device:blk_file ioctl { BLKGETSIZE };
19 allowxperm sgdisk vold_device:blk_file ioctl { BLKRRPART };
21 allowxperm sgdisk vold_device:blk_file ioctl { BLKPBSZGET };
24 allow sgdisk devpts:chr_file { read write ioctl getattr };
/system/sepolicy/public/
Dsgdisk.te10 allowxperm sgdisk vold_device:blk_file ioctl { HDIO_GETGEO };
14 # using the BLKGETSIZE ioctl as it is useless for devices over
17 allowxperm sgdisk vold_device:blk_file ioctl { BLKGETSIZE };
19 allowxperm sgdisk vold_device:blk_file ioctl { BLKRRPART };
21 allowxperm sgdisk vold_device:blk_file ioctl { BLKPBSZGET };
24 allow sgdisk devpts:chr_file { read write ioctl getattr };
/system/apex/apexd/
Dapexd_loop.cpp83 if (ioctl(device_fd.get(), LOOP_CLR_FD) == -1) { in MaybeCloseBad()
144 int ret = ioctl(ctl_fd.get(), LOOP_CTL_ADD, id); in PreAllocateLoopDevices()
175 if (ioctl(device_fd, LOOP_CONFIGURE, &config) == -1 && errno == EBADF) { in ConfigureLoopDevice()
224 if (ioctl(device_fd, LOOP_CONFIGURE, &config) == -1) { in ConfigureLoopDevice()
230 if (ioctl(device_fd, LOOP_SET_FD, target_fd.get()) == -1) { in ConfigureLoopDevice()
234 if (ioctl(device_fd, LOOP_SET_STATUS64, &li) == -1) { in ConfigureLoopDevice()
238 if (ioctl(device_fd, BLKFLSBUF, 0) == -1) { in ConfigureLoopDevice()
262 if (ioctl(device_fd, LOOP_SET_BLOCK_SIZE, 4096) == -1) { in ConfigureLoopDevice()
314 int num = ioctl(ctl_fd.get(), LOOP_CTL_GET_FREE); in CreateLoopDevice()
349 if (ioctl(fd.get(), LOOP_GET_STATUS64, &li) < 0) { in DestroyLoopDevice()
[all …]
/system/sepolicy/prebuilts/api/31.0/private/compat/30.0/
D30.0.compat.cil7 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
8 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
9 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
10 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/sepolicy/private/compat/30.0/
D30.0.compat.cil7 (allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open…
8 (allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map…
9 (allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename …
10 (allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append…
/system/sepolicy/prebuilts/api/29.0/public/
Dsgdisk.te10 allowxperm sgdisk vold_device:blk_file ioctl { HDIO_GETGEO };
14 # using the BLKGETSIZE ioctl as it is useless for devices over
17 allowxperm sgdisk vold_device:blk_file ioctl { BLKGETSIZE };
19 allowxperm sgdisk vold_device:blk_file ioctl { BLKRRPART };
22 allow sgdisk devpts:chr_file { read write ioctl getattr };
Dhal_drm.te34 # only allow unprivileged socket ioctl commands
36 ioctl { unpriv_sock_ioctls unpriv_tty_ioctls };
46 # do not allow privileged socket ioctl commands
47 neverallowxperm hal_drm_server domain:{ rawip_socket tcp_socket udp_socket } ioctl priv_sock_ioctls;
/system/vold/
DLoop.cpp61 int num = ioctl(ctl_fd.get(), LOOP_CTL_GET_FREE); in create()
91 if (ioctl(device_fd.get(), LOOP_SET_FD, target_fd.get()) == -1) { in create()
99 if (ioctl(device_fd.get(), LOOP_SET_STATUS64, &li) == -1) { in create()
116 if (ioctl(device_fd, LOOP_CLR_FD, 0) < 0) { in destroyByDevice()
152 if (ioctl(fd.get(), LOOP_GET_STATUS64, &li) < 0) { in destroyAll()
163 if (ioctl(fd.get(), LOOP_CLR_FD, 0) < 0) { in destroyAll()
/system/core/fs_mgr/libdm/
Dloop_control.cpp65 if (int rc = ioctl(loop_fd, LOOP_SET_FD, file_fd); rc == 0) { in Attach()
93 int rc = ioctl(loop_fd, LOOP_CLR_FD, 0); in Detach()
102 int rc = ioctl(control_fd_, LOOP_CTL_GET_FREE); in FindFreeLoopDevice()
125 if (ioctl(fd, LOOP_SET_BLOCK_SIZE, 4096)) { in EnableDirectIo()
129 if (ioctl(fd, LOOP_SET_DIRECT_IO, 1)) { in EnableDirectIo()
/system/extras/sound/
Dplaywav.c56 if(ioctl(afd, AUDIO_GET_CONFIG, &config)) { in pcm_play()
63 if (ioctl(afd, AUDIO_SET_CONFIG, &config)) { in pcm_play()
82 ioctl(afd, AUDIO_START, 0); in pcm_play()
86 if (ioctl(afd, AUDIO_GET_STATS, &stats) == 0) in pcm_play()
232 if (ioctl(afd, AUDIO_GET_CONFIG, &cfg)) { in wav_rec()
239 if (ioctl(afd, AUDIO_SET_CONFIG, &cfg)) { in wav_rec()
244 if (ioctl(afd, AUDIO_GET_CONFIG, &cfg)) { in wav_rec()
256 if (ioctl(afd, AUDIO_START, 0)) { in wav_rec()
317 ioctl(afd, AUDIO_START, 0); in mp3_play()
/system/core/libnetutils/
Difc_utils.c186 r = ioctl(ifc_ctl_sock, SIOCGIFHWADDR, &ifr); in ifc_get_hwaddr()
199 r = ioctl(ifc_ctl_sock, SIOCGIFINDEX, &ifr); in ifc_get_ifindex()
211 if(ioctl(ifc_ctl_sock, SIOCGIFFLAGS, &ifr) < 0) return -1; in ifc_set_flags()
213 return ioctl(ifc_ctl_sock, SIOCSIFFLAGS, &ifr); in ifc_set_flags()
246 ret = ioctl(ifc_ctl_sock, SIOCSIFADDR, &ifr); in ifc_set_addr()
454 return ioctl(ifc_ctl_sock, SIOCSIFHWADDR, &ifr); in ifc_set_hwaddr()
465 ret = ioctl(ifc_ctl_sock, SIOCSIFNETMASK, &ifr); in ifc_set_mask()
480 return ioctl(ifc_ctl_sock, SIOCSIFNETMASK, &ifr); in ifc_set_prefixLength()
490 ret = ioctl(ifc_ctl_sock, SIOCGIFADDR, &ifr); in ifc_get_addr()
506 if(ioctl(ifc_ctl_sock, SIOCGIFADDR, &ifr) < 0) { in ifc_get_info()
[all …]

12345678910>>...20