Diomidis Spinellis 66eb91c1e0 Document that read(2) can also return EPERM
See e.g. nfsclient/nfs_vnops.c

static int
nfs_read(struct vop_read_args *ap)
{
        struct vnode *vp = ap->a_vp;

        if (vp->v_type != VREG)
                return (EPERM);
        return (nfs_bioread(vp, ap->a_uio, ap->a_ioflag, ap->a_cred));
}

Approved by:	schweikh (mentor)
MFC after:	6 weeks
2003-08-30 07:59:05 +00:00
..
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
2003-06-14 19:32:52 +00:00
2003-07-01 15:07:01 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
Use
2003-06-06 13:46:55 +00:00
2003-06-08 10:34:00 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
Use
2003-06-06 13:46:55 +00:00
2003-08-18 15:25:39 +00:00
2003-06-08 10:34:00 +00:00
Use
2003-06-06 13:46:55 +00:00
2002-09-28 00:25:32 +00:00
2003-08-18 15:25:39 +00:00
2002-09-28 00:25:32 +00:00
2003-08-18 15:25:39 +00:00
2003-06-01 19:41:49 +00:00
2003-05-22 13:02:28 +00:00
2003-08-18 15:25:39 +00:00
2002-09-28 00:25:32 +00:00
2003-08-18 15:25:39 +00:00
2002-09-28 00:25:32 +00:00