summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-23 14:34:31 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-23 14:34:31 +0000
commit411dd00bff1a7efe8789fa07d58e202794522a4a (patch)
treedb6137fea2958f252f6609afdef3ea42e6be295c /lib
parenta2864cf2df03798460f651cf5a8978161b9f6dc5 (diff)
Fix getattr and setattr.
- getattr now uses fo_stat from fileops to obtain information about the fd and translates it back to vattr. - setattr now uses getvnode to the get vnode from the fd and obeys MNT_RDONLY flag. - Do proper locking on setattr. - Don't allow setattr on directories because of possible deadlocks.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions