summaryrefslogtreecommitdiff
path: root/lib/common/BoxPlatform.h
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2006-01-06 16:23:32 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2006-01-06 16:23:32 +0000
commit4236badf30da3ebff007ad72d91fd10e32f5c345 (patch)
treea0099674f09f3d396811d85deaa47592b4d25d3d /lib/common/BoxPlatform.h
parent18d03eb51a36ad7d31edace38cff956e90f3fa19 (diff)
Fixes for xattr on Linux
- A very unlikely failure where getxattr returns an error code the first time but succeeds the second time could cause buffer overrun and corruption. Affecting the tests only: - On Linux (and presumably Irix) normal users can only modify attributes in the 'user.' namespace. - Some filesystems can have strict limits on value size (eg. 1024 bytes on ext3 depending on block size) - ENOATTR is defined in xattr/xattr.h. This file is an optional install and is not needed for the rest of box to use extended attributes. Provide it ourselves if not present.
Diffstat (limited to 'lib/common/BoxPlatform.h')
0 files changed, 0 insertions, 0 deletions