Searched refs:IOCLEX (Results 1 – 6 of 6) sorted by relevance
567 shp->fdstatus[fd] |= IOCLEX; in io_preserve()596 shp->fdstatus[f2] = (shp->fdstatus[f1]&~IOCLEX); in sh_iorenumber()603 shp->fdstatus[f2] = (shp->fdstatus[f1]&~IOCLEX); in sh_iorenumber()794 sh.fdstatus[fdnew] = (sh.fdstatus[fdold]&~IOCLEX); in sh_iomovefd()839 int r, fd=sffileno(sp), close_exec = shp->fdstatus[fd]&IOCLEX; in io_patseek()842 shp->fdstatus[sffileno(sp)] |= IOCLEX; in io_patseek()867 shp->fdstatus[sffileno(sp)] &= ~IOCLEX; in io_patseek()1105 shp->fdstatus[fd] = (shp->fdstatus[dupfd]&~IOCLEX); in sh_redirect()1336 shp->fdstatus[fd] |= IOCLEX; in sh_redirect()1553 if(shp->fdstatus[origfd]&IOCLEX) in sh_iorestore()[all …]
1004 if((shp->fdstatus[fd]&IOCLEX)&&fd!=shp->infd) in sh_exec()2843 shp->fdstatus[fd] = (shp->fdstatus[outfd]&~IOCLEX); in coproc_init()2850 shp->fdstatus[shp->cpipe[0]] |= IOCLEX; in coproc_init()2854 shp->fdstatus[shp->cpipe[1]] |= IOCLEX; in coproc_init()2861 shp->fdstatus[shp->outpipe[0]] |= IOCLEX; in coproc_init()2924 if(sh.fdstatus[i]&IOCLEX && i!=pin && i!=pout) in run_subshell()2953 if(sh.fdstatus[i]&IOCLEX && i!=pin && i!=pout) in run_subshell()3046 shp->fdstatus[fd] |= IOCLEX; in sh_ntfork()3053 shp->fdstatus[shp->outpipe[0]] |= IOCLEX; in sh_ntfork()3092 shp->fdstatus[shp->inpipe[1]] &= ~IOCLEX; in sh_ntfork()
114 shp->fdstatus[fd] = shp->fdstatus[1]|IOCLEX; in sh_subtmpfile()628 shp->fdstatus[fd] = (shp->fdstatus[1]|IOCLEX); in sh_subshell()
405 shp->fdstatus[fno] |= IOCLEX; in exfile()
580 shp->fdstatus[fd] |= IOCLEX; in path_opentype()1241 if(shp->infd>0 && (shp->fdstatus[shp->infd]&IOCLEX)) in exscript()
51 #define IOCLEX 0100 macro