These entry points manipulate various attributes of a file or directory,
including file permissions, owner, group, size,
access time and modification time.
The arguments are:
vp
|
|
The vnode of the file.
|
vap
|
|
The attributes of the file.
|
cred
|
|
The user credentials of the calling process.
|
Attributes which are not being modified by
VOP_SETATTR()
should be set to the value
VNOVAL;
VATTR_NULL()
may be used to clear all the values, and should generally be used to reset
the contents of
*vap
prior to setting specific values.