reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
   53   _(FIOGETOWN, WRITE, sizeof(int));
   57   _(SIOCATMARK, WRITE, sizeof(int));
   59   _(SIOCGPGRP, WRITE, sizeof(int));
   65   _(TIOCGETD, WRITE, sizeof(int));
   66   _(TIOCGPGRP, WRITE, pid_t_sz);
   67   _(TIOCGWINSZ, WRITE, struct_winsize_sz);
   70   _(TIOCMGET, WRITE, sizeof(int));
   74   _(TIOCOUTQ, WRITE, sizeof(int));
   85   _(SIOCGIFADDR, WRITE, struct_ifreq_sz);
   86   _(SIOCGIFBRDADDR, WRITE, struct_ifreq_sz);
   87   _(SIOCGIFDSTADDR, WRITE, struct_ifreq_sz);
   88   _(SIOCGIFFLAGS, WRITE, struct_ifreq_sz);
   89   _(SIOCGIFMETRIC, WRITE, struct_ifreq_sz);
   90   _(SIOCGIFMTU, WRITE, struct_ifreq_sz);
   91   _(SIOCGIFNETMASK, WRITE, struct_ifreq_sz);
  102   _(SIOCGETSGCNT, WRITE, struct_sioc_sg_req_sz);
  103   _(SIOCGETVIFCNT, WRITE, struct_sioc_vif_req_sz);
  117   _(BLKGETSIZE, WRITE, sizeof(uptr));
  118   _(BLKRAGET, WRITE, sizeof(int));
  120   _(BLKROGET, WRITE, sizeof(int));
  125   _(CDROMMULTISESSION, WRITE, struct_cdrom_multisession_sz);
  134   _(CDROMREADTOCENTRY, WRITE, struct_cdrom_tocentry_sz);
  135   _(CDROMREADTOCHDR, WRITE, struct_cdrom_tochdr_sz);
  141   _(CDROMSUBCHNL, WRITE, struct_cdrom_subchnl_sz);
  143   _(CDROMVOLREAD, WRITE, struct_cdrom_volctrl_sz);
  144   _(CDROM_GET_UPC, WRITE, 8);
  145   _(EVIOCGABS, WRITE, struct_input_absinfo_sz); // fixup
  146   _(EVIOCGBIT, WRITE, struct_input_id_sz); // fixup
  147   _(EVIOCGEFFECTS, WRITE, sizeof(int));
  148   _(EVIOCGID, WRITE, struct_input_id_sz);
  149   _(EVIOCGKEY, WRITE, 0);
  150   _(EVIOCGKEYCODE, WRITE, sizeof(int) * 2);
  151   _(EVIOCGLED, WRITE, 0);
  152   _(EVIOCGNAME, WRITE, 0);
  153   _(EVIOCGPHYS, WRITE, 0);
  155   _(EVIOCGREP, WRITE, sizeof(int) * 2);
  156   _(EVIOCGSND, WRITE, 0);
  157   _(EVIOCGSW, WRITE, 0);
  158   _(EVIOCGUNIQ, WRITE, 0);
  159   _(EVIOCGVERSION, WRITE, sizeof(int));
  171   _(FDGETDRVPRM, WRITE, struct_floppy_drive_params_sz);
  172   _(FDGETDRVSTAT, WRITE, struct_floppy_drive_struct_sz);
  173   _(FDGETDRVTYP, WRITE, 16);
  174   _(FDGETFDCSTAT, WRITE, struct_floppy_fdc_state_sz);
  175   _(FDGETMAXERRS, WRITE, struct_floppy_max_errors_sz);
  176   _(FDGETPRM, WRITE, struct_floppy_struct_sz);
  179   _(FDPOLLDRVSTAT, WRITE, struct_floppy_drive_struct_sz);
  180   _(FDRAWCMD, WRITE, struct_floppy_raw_cmd_sz);
  188   _(FDWERRORGET, WRITE, struct_floppy_write_errors_sz);
  189   _(HDIO_DRIVE_CMD, WRITE, sizeof(int));
  190   _(HDIO_GETGEO, WRITE, struct_hd_geometry_sz);
  191   _(HDIO_GET_32BIT, WRITE, sizeof(int));
  192   _(HDIO_GET_DMA, WRITE, sizeof(int));
  193   _(HDIO_GET_IDENTITY, WRITE, struct_hd_driveid_sz);
  194   _(HDIO_GET_KEEPSETTINGS, WRITE, sizeof(int));
  195   _(HDIO_GET_MULTCOUNT, WRITE, sizeof(int));
  196   _(HDIO_GET_NOWERR, WRITE, sizeof(int));
  197   _(HDIO_GET_UNMASKINTR, WRITE, sizeof(int));
  204   _(MTIOCGET, WRITE, struct_mtget_sz);
  205   _(MTIOCPOS, WRITE, struct_mtpos_sz);
  207   _(PPPIOCGASYNCMAP, WRITE, sizeof(int));
  208   _(PPPIOCGDEBUG, WRITE, sizeof(int));
  209   _(PPPIOCGFLAGS, WRITE, sizeof(int));
  210   _(PPPIOCGUNIT, WRITE, sizeof(int));
  211   _(PPPIOCGXASYNCMAP, WRITE, sizeof(int) * 8);
  222   _(SIOCGARP, WRITE, struct_arpreq_sz);
  223   _(SIOCGIFENCAP, WRITE, sizeof(int));
  224   _(SIOCGIFHWADDR, WRITE, struct_ifreq_sz);
  225   _(SIOCGIFMAP, WRITE, struct_ifreq_sz);
  226   _(SIOCGIFMEM, WRITE, struct_ifreq_sz);
  229   _(SIOCGRARP, WRITE, struct_arpreq_sz);
  230   _(SIOCGSTAMP, WRITE, timeval_sz);
  239   _(SNDCTL_COPR_HALT, WRITE, struct_copr_debug_buf_sz);
  241   _(SNDCTL_COPR_RCODE, WRITE, struct_copr_debug_buf_sz);
  242   _(SNDCTL_COPR_RCVMSG, WRITE, struct_copr_msg_sz);
  243   _(SNDCTL_COPR_RDATA, WRITE, struct_copr_debug_buf_sz);
  245   _(SNDCTL_COPR_RUN, WRITE, struct_copr_debug_buf_sz);
  249   _(SNDCTL_DSP_GETBLKSIZE, WRITE, sizeof(int));
  250   _(SNDCTL_DSP_GETFMTS, WRITE, sizeof(int));
  254   _(SNDCTL_DSP_SETFMT, WRITE, sizeof(int));
  255   _(SNDCTL_DSP_SETFRAGMENT, WRITE, sizeof(int));
  256   _(SNDCTL_DSP_SPEED, WRITE, sizeof(int));
  257   _(SNDCTL_DSP_STEREO, WRITE, sizeof(int));
  258   _(SNDCTL_DSP_SUBDIVIDE, WRITE, sizeof(int));
  262   _(SNDCTL_MIDI_INFO, WRITE, struct_midi_info_sz);
  263   _(SNDCTL_MIDI_PRETIME, WRITE, sizeof(int));
  264   _(SNDCTL_SEQ_CTRLRATE, WRITE, sizeof(int));
  265   _(SNDCTL_SEQ_GETINCOUNT, WRITE, sizeof(int));
  266   _(SNDCTL_SEQ_GETOUTCOUNT, WRITE, sizeof(int));
  267   _(SNDCTL_SEQ_NRMIDIS, WRITE, sizeof(int));
  268   _(SNDCTL_SEQ_NRSYNTHS, WRITE, sizeof(int));
  277   _(SNDCTL_SYNTH_INFO, WRITE, struct_synth_info_sz);
  278   _(SNDCTL_SYNTH_MEMAVL, WRITE, sizeof(int));
  280   _(SNDCTL_TMR_SELECT, WRITE, sizeof(int));
  281   _(SNDCTL_TMR_SOURCE, WRITE, sizeof(int));
  282   _(SNDCTL_TMR_TEMPO, WRITE, sizeof(int));
  283   _(SNDCTL_TMR_TIMEBASE, WRITE, sizeof(int));
  284   _(SOUND_MIXER_READ_ALTPCM, WRITE, sizeof(int));
  285   _(SOUND_MIXER_READ_BASS, WRITE, sizeof(int));
  286   _(SOUND_MIXER_READ_CAPS, WRITE, sizeof(int));
  287   _(SOUND_MIXER_READ_CD, WRITE, sizeof(int));
  288   _(SOUND_MIXER_READ_DEVMASK, WRITE, sizeof(int));
  289   _(SOUND_MIXER_READ_ENHANCE, WRITE, sizeof(int));
  290   _(SOUND_MIXER_READ_IGAIN, WRITE, sizeof(int));
  291   _(SOUND_MIXER_READ_IMIX, WRITE, sizeof(int));
  292   _(SOUND_MIXER_READ_LINE, WRITE, sizeof(int));
  293   _(SOUND_MIXER_READ_LINE1, WRITE, sizeof(int));
  294   _(SOUND_MIXER_READ_LINE2, WRITE, sizeof(int));
  295   _(SOUND_MIXER_READ_LINE3, WRITE, sizeof(int));
  296   _(SOUND_MIXER_READ_MIC, WRITE, sizeof(int));
  297   _(SOUND_MIXER_READ_OGAIN, WRITE, sizeof(int));
  298   _(SOUND_MIXER_READ_PCM, WRITE, sizeof(int));
  299   _(SOUND_MIXER_READ_RECLEV, WRITE, sizeof(int));
  300   _(SOUND_MIXER_READ_RECMASK, WRITE, sizeof(int));
  301   _(SOUND_MIXER_READ_RECSRC, WRITE, sizeof(int));
  302   _(SOUND_MIXER_READ_SPEAKER, WRITE, sizeof(int));
  303   _(SOUND_MIXER_READ_STEREODEVS, WRITE, sizeof(int));
  304   _(SOUND_MIXER_READ_SYNTH, WRITE, sizeof(int));
  305   _(SOUND_MIXER_READ_TREBLE, WRITE, sizeof(int));
  306   _(SOUND_MIXER_READ_VOLUME, WRITE, sizeof(int));
  307   _(SOUND_MIXER_WRITE_ALTPCM, WRITE, sizeof(int));
  308   _(SOUND_MIXER_WRITE_BASS, WRITE, sizeof(int));
  309   _(SOUND_MIXER_WRITE_CD, WRITE, sizeof(int));
  310   _(SOUND_MIXER_WRITE_ENHANCE, WRITE, sizeof(int));
  311   _(SOUND_MIXER_WRITE_IGAIN, WRITE, sizeof(int));
  312   _(SOUND_MIXER_WRITE_IMIX, WRITE, sizeof(int));
  313   _(SOUND_MIXER_WRITE_LINE, WRITE, sizeof(int));
  314   _(SOUND_MIXER_WRITE_LINE1, WRITE, sizeof(int));
  315   _(SOUND_MIXER_WRITE_LINE2, WRITE, sizeof(int));
  316   _(SOUND_MIXER_WRITE_LINE3, WRITE, sizeof(int));
  317   _(SOUND_MIXER_WRITE_MIC, WRITE, sizeof(int));
  318   _(SOUND_MIXER_WRITE_OGAIN, WRITE, sizeof(int));
  319   _(SOUND_MIXER_WRITE_PCM, WRITE, sizeof(int));
  320   _(SOUND_MIXER_WRITE_RECLEV, WRITE, sizeof(int));
  321   _(SOUND_MIXER_WRITE_RECSRC, WRITE, sizeof(int));
  322   _(SOUND_MIXER_WRITE_SPEAKER, WRITE, sizeof(int));
  323   _(SOUND_MIXER_WRITE_SYNTH, WRITE, sizeof(int));
  324   _(SOUND_MIXER_WRITE_TREBLE, WRITE, sizeof(int));
  325   _(SOUND_MIXER_WRITE_VOLUME, WRITE, sizeof(int));
  326   _(SOUND_PCM_READ_BITS, WRITE, sizeof(int));
  327   _(SOUND_PCM_READ_CHANNELS, WRITE, sizeof(int));
  328   _(SOUND_PCM_READ_FILTER, WRITE, sizeof(int));
  329   _(SOUND_PCM_READ_RATE, WRITE, sizeof(int));
  330   _(SOUND_PCM_WRITE_CHANNELS, WRITE, sizeof(int));
  331   _(SOUND_PCM_WRITE_FILTER, WRITE, sizeof(int));
  333   _(TCGETA, WRITE, struct_termio_sz);
  334   _(TCGETS, WRITE, struct_termios_sz);
  344   _(TIOCGLCKTRMIOS, WRITE, struct_termios_sz);
  345   _(TIOCGSOFTCAR, WRITE, sizeof(int));
  346   _(TIOCINQ, WRITE, sizeof(int));
  349   _(TIOCSERGETLSR, WRITE, sizeof(int));
  350   _(TIOCSERGWILD, WRITE, sizeof(int));
  356   _(VT_GETMODE, WRITE, struct_vt_mode_sz);
  357   _(VT_GETSTATE, WRITE, struct_vt_stat_sz);
  358   _(VT_OPENQRY, WRITE, sizeof(int));
  369   _(CYGETDEFTHRESH, WRITE, sizeof(int));
  370   _(CYGETDEFTIMEOUT, WRITE, sizeof(int));
  371   _(CYGETMON, WRITE, struct_cyclades_monitor_sz);
  372   _(CYGETTHRESH, WRITE, sizeof(int));
  373   _(CYGETTIMEOUT, WRITE, sizeof(int));
  378   _(EQL_EMANCIPATE, WRITE, struct_ifreq_sz);
  379   _(EQL_ENSLAVE, WRITE, struct_ifreq_sz);
  380   _(EQL_GETMASTRCFG, WRITE, struct_ifreq_sz);
  381   _(EQL_GETSLAVECFG, WRITE, struct_ifreq_sz);
  382   _(EQL_SETMASTRCFG, WRITE, struct_ifreq_sz);
  383   _(EQL_SETSLAVECFG, WRITE, struct_ifreq_sz);
  384   _(EVIOCGKEYCODE_V2, WRITE, struct_input_keymap_entry_sz);
  385   _(EVIOCGPROP, WRITE, 0);
  387   _(FS_IOC_GETFLAGS, WRITE, sizeof(int));
  388   _(FS_IOC_GETVERSION, WRITE, sizeof(int));
  391   _(GIO_CMAP, WRITE, 48);
  392   _(GIO_FONT, WRITE, 8192);
  393   _(GIO_SCRNMAP, WRITE, e_tabsz);
  394   _(GIO_UNIMAP, WRITE, struct_unimapdesc_sz);
  395   _(GIO_UNISCRNMAP, WRITE, sizeof(short) * e_tabsz);
  400   _(KDGETKEYCODE, WRITE, struct_kbkeycode_sz);
  401   _(KDGETLED, WRITE, 1);
  402   _(KDGETMODE, WRITE, sizeof(int));
  403   _(KDGKBDIACR, WRITE, struct_kbdiacrs_sz);
  404   _(KDGKBENT, WRITE, struct_kbentry_sz);
  405   _(KDGKBLED, WRITE, sizeof(int));
  406   _(KDGKBMETA, WRITE, sizeof(int));
  407   _(KDGKBMODE, WRITE, sizeof(int));
  408   _(KDGKBSENT, WRITE, struct_kbsentry_sz);
  409   _(KDGKBTYPE, WRITE, 1);
  428   _(LPGETIRQ, WRITE, sizeof(int));
  429   _(LPGETSTATUS, WRITE, sizeof(int));
  434   _(MTIOCGETCONFIG, WRITE, struct_mtconfiginfo_sz);
  445   _(SNDCTL_DSP_GETISPACE, WRITE, struct_audio_buf_info_sz);
  446   _(SNDCTL_DSP_GETOSPACE, WRITE, struct_audio_buf_info_sz);
  447   _(TIOCGSERIAL, WRITE, struct_serial_struct_sz);
  448   _(TIOCSERGETMULTI, WRITE, struct_serial_multiport_struct_sz);
  548       desc->type = ioctl_desc::WRITE;
  573       (desc->type == ioctl_desc::READWRITE || desc->type == ioctl_desc::WRITE ||
  596   if (desc->type == ioctl_desc::WRITE || desc->type == ioctl_desc::READWRITE) {