Home | History | Annotate | Download | only in sepolicy
      1 # socket ioctls
      2 define(`RMNET_IOCTL_SET_LLP_ETHERNET', `0x000089F1')
      3 define(`RMNET_IOCTL_EXTENDED', `0x000089FD')
      4 
      5 # gpu_device ioctls defined in the kernel in include/uapi/linux/msm_kgsl.h
      6 define(`IOCTL_KGSL_DEVICE_GETPROPERTY', `0x00000902')
      7 define(`IOCTL_KGSL_DEVICE_WAITTIMESTAMP', `0x00000906')
      8 define(`IOCTL_KGSL_DEVICE_WAITTIMESTAMP_CTXTID', `0x00000907')
      9 define(`IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS', `0x00000910')
     10 define(`IOCTL_KGSL_CMDSTREAM_READTIMESTAMP', `0x00000911')
     11 define(`IOCTL_KGSL_CMDSTREAM_FREEMEMONTIMESTAMP', `0x00000912')
     12 define(`IOCTL_KGSL_DRAWCTXT_CREATE', `0x00000913')
     13 define(`IOCTL_KGSL_DRAWCTXT_DESTROY', `0x00000914')
     14 define(`IOCTL_KGSL_MAP_USER_MEM', `0x00000915')
     15 define(`IOCTL_KGSL_CMDSTREAM_READTIMESTAMP_CTXTID', `0x00000916')
     16 define(`IOCTL_KGSL_CMDSTREAM_FREEMEMONTIMESTAMP_CTXTID', `0x00000917')
     17 define(`IOCTL_KGSL_SHAREDMEM_FROM_PMEM', `0x00000920')
     18 define(`IOCTL_KGSL_SHAREDMEM_FREE', `0x00000921')
     19 define(`IOCTL_KGSL_DRAWCTXT_BIND_GMEM_SHADOW', `0x00000922')
     20 define(`IOCTL_KGSL_SHAREDMEM_FROM_VMALLOC', `0x00000923')
     21 define(`IOCTL_KGSL_SHAREDMEM_FLUSH_CACHE', `0x00000924')
     22 define(`IOCTL_KGSL_DRAWCTXT_SET_BIN_BASE_OFFSET', `0x00000925')
     23 define(`IOCTL_KGSL_CMDWINDOW_WRITE', `0x0000092e')
     24 define(`IOCTL_KGSL_GPUMEM_ALLOC', `0x0000092f')
     25 define(`IOCTL_KGSL_CFF_SYNCMEM', `0x00000930')
     26 define(`IOCTL_KGSL_CFF_USER_EVENT', `0x00000931')
     27 define(`IOCTL_KGSL_SETPROPERTY', `0x00000932')
     28 define(`IOCTL_KGSL_TIMESTAMP_EVENT', `0x00000933')
     29 define(`IOCTL_KGSL_GPUMEM_ALLOC_ID', `0x00000934')
     30 define(`IOCTL_KGSL_GPUMEM_FREE_ID', `0x00000935')
     31 define(`IOCTL_KGSL_GPUMEM_GET_INFO', `0x00000936')
     32 define(`IOCTL_KGSL_GPUMEM_SYNC_CACHE', `0x00000937')
     33 define(`IOCTL_KGSL_PERFCOUNTER_GET', `0x00000938')
     34 define(`IOCTL_KGSL_PERFCOUNTER_PUT', `0x00000939')
     35 define(`IOCTL_KGSL_PERFCOUNTER_QUERY', `0x0000093a')
     36 define(`IOCTL_KGSL_PERFCOUNTER_READ', `0x0000093b')
     37 define(`IOCTL_KGSL_GPUMEM_SYNC_CACHE_BULK', `0x0000093c')
     38 define(`IOCTL_KGSL_SUBMIT_COMMANDS', `0x0000093d')
     39 define(`IOCTL_KGSL_SYNCSOURCE_CREATE', `0x00000940')
     40 define(`IOCTL_KGSL_SYNCSOURCE_DESTROY', `0x00000941')
     41 define(`IOCTL_KGSL_SYNCSOURCE_CREATE_FENCE', `0x00000942')
     42 define(`IOCTL_KGSL_SYNCSOURCE_SIGNAL_FENCE', `0x00000943')
     43 define(`IOCTL_KGSL_CFF_SYNC_GPUOBJ', `0x00000944')
     44 define(`IOCTL_KGSL_GPUOBJ_ALLOC', `0x00000945')
     45 define(`IOCTL_KGSL_GPUOBJ_FREE', `0x00000946')
     46 define(`IOCTL_KGSL_GPUOBJ_INFO', `0x00000947')
     47 define(`IOCTL_KGSL_GPUOBJ_IMPORT', `0x00000948')
     48 define(`IOCTL_KGSL_GPUOBJ_SYNC', `0x00000949')
     49 define(`IOCTL_KGSL_GPU_COMMAND', `0x0000094a')
     50 define(`IOCTL_KGSL_PREEMPTIONCOUNTER_QUERY', `0x0000094b')
     51 define(`IOCTL_KGSL_GPUOBJ_SET_INFO', `0x0000094c')
     52 
     53 # socket ioctls defined in the kernel in include/uapi/linux/msm_ipc.h
     54 define(`IPC_ROUTER_IOCTL_GET_VERSION', `0x0000c300')
     55 define(`IPC_ROUTER_IOCTL_GET_MTU', `0x0000c301')
     56 define(`IPC_ROUTER_IOCTL_LOOKUP_SERVER', `0x0000c302')
     57 define(`IPC_ROUTER_IOCTL_GET_CURR_PKT_SIZE', `0x0000c303')
     58 define(`IPC_ROUTER_IOCTL_BIND_CONTROL_PORT', `0x0000c304')
     59 define(`IPC_ROUTER_IOCTL_CONFIG_SEC_RULES', `0x0000c305')
     60