mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 05:21:08 +01:00
Update the comment for fdesc_setattr to reflect that we no longer
actually setattr() on underlying vnodes.
This commit is contained in:
parent
908a81d424
commit
c1e15e06bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61173
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user