Print this page
Bring back LX zones.


3160         case LDSMAP:    /* Obsolete */
3161         case DIOCSETP:
3162         case I_FLUSH:
3163         case I_SRDOPT:
3164         case I_SETSIG:
3165         case I_SWROPT:
3166         case I_FLUSHBAND:
3167         case I_SETCLTIME:
3168         case I_SERROPT:
3169         case I_ESETSIG:
3170         case FIONBIO:
3171         case FIOASYNC:
3172         case FIOSETOWN:
3173         case JBOOT:     /* Obsolete */
3174         case JTERM:     /* Obsolete */
3175         case JTIMOM:    /* Obsolete */
3176         case JZOMBOOT:  /* Obsolete */
3177         case JAGENT:    /* Obsolete */
3178         case JTRUN:     /* Obsolete */
3179         case JXTPROTO:  /* Obsolete */

3180                 return (JCSETP);
3181         }
3182 
3183         return (JCGETP);
3184 }
3185 
3186 /*
3187  * ioctl for streams
3188  */
3189 int
3190 strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag,
3191     cred_t *crp, int *rvalp)
3192 {
3193         struct stdata *stp;
3194         struct strcmd *scp;
3195         struct strioctl strioc;
3196         struct uio uio;
3197         struct iovec iov;
3198         int access;
3199         mblk_t *mp;




3160         case LDSMAP:    /* Obsolete */
3161         case DIOCSETP:
3162         case I_FLUSH:
3163         case I_SRDOPT:
3164         case I_SETSIG:
3165         case I_SWROPT:
3166         case I_FLUSHBAND:
3167         case I_SETCLTIME:
3168         case I_SERROPT:
3169         case I_ESETSIG:
3170         case FIONBIO:
3171         case FIOASYNC:
3172         case FIOSETOWN:
3173         case JBOOT:     /* Obsolete */
3174         case JTERM:     /* Obsolete */
3175         case JTIMOM:    /* Obsolete */
3176         case JZOMBOOT:  /* Obsolete */
3177         case JAGENT:    /* Obsolete */
3178         case JTRUN:     /* Obsolete */
3179         case JXTPROTO:  /* Obsolete */
3180         case TIOCSETLD:
3181                 return (JCSETP);
3182         }
3183 
3184         return (JCGETP);
3185 }
3186 
3187 /*
3188  * ioctl for streams
3189  */
3190 int
3191 strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag,
3192     cred_t *crp, int *rvalp)
3193 {
3194         struct stdata *stp;
3195         struct strcmd *scp;
3196         struct strioctl strioc;
3197         struct uio uio;
3198         struct iovec iov;
3199         int access;
3200         mblk_t *mp;