diff options
| -rw-r--r-- | sys/fs/fdescfs/fdesc_vnops.c | 2 | ||||
| -rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 19882d6c49b2..edfe10566020 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -401,7 +401,7 @@ fdesc_setattr(ap) return (EBADF); /* - * Can setattr the underlying vnode, but not sockets! + * Do not allow anybody to actually setattr anything. */ switch (fp->f_type) { case DTYPE_FIFO: diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index 19882d6c49b2..edfe10566020 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -401,7 +401,7 @@ fdesc_setattr(ap) return (EBADF); /* - * Can setattr the underlying vnode, but not sockets! + * Do not allow anybody to actually setattr anything. */ switch (fp->f_type) { case DTYPE_FIFO: |
