diff options
author | trasz <trasz@FreeBSD.org> | 2009-07-22 15:15:58 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-07-22 15:15:58 +0000 |
commit | 0157e2f2cfc09080663511252b25c1803a58271a (patch) | |
tree | d6b987c66a98d37b6c8853eed9f0f7a2a5dac827 /lib/libkvm/kvm_proc.c | |
parent | d00a1eab14e44b3e8b2d398cc1519dba8aa5ee68 (diff) | |
download | FreeBSD-src-0157e2f2cfc09080663511252b25c1803a58271a.zip FreeBSD-src-0157e2f2cfc09080663511252b25c1803a58271a.tar.gz |
Fix extattr_list_file(2) on ZFS in case the attribute directory
doesn't exist and user doesn't have write access to the file.
Without this fix, it returns bogus value instead of 0. For some
reason this didn't manifest on my kernel compiled with -O0.
PR: kern/136601
Submitted by: Jaakko Heinonen <jh at saunalahti dot fi>
Approved by: re (kib)
Diffstat (limited to 'lib/libkvm/kvm_proc.c')
0 files changed, 0 insertions, 0 deletions