mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
57cc992e0f
This is an option for file systems that do not implement xattrs: in
lockdir/eas.tdb an array of xatts per inode is stored.
It can not solve the problem that xattrs might reappear if a posix-level
process deletes a file and happens to re-create it under the same name. On file
systems with birthtime we might have a chance to detect this, but not with
standard posix. A future version might put relief on file systems that do have
xattrs but where these are severely limited in size/speed/whatever: We can put
a simple marker as a native xattr, but the xattrs proper are stored in the tdb.
Volker
(This used to be commit 2036b4c5ad
)
24 lines
337 B
Plaintext
24 lines
337 B
Plaintext
#include "idl_types.h"
|
|
|
|
/*
|
|
IDL structures for xattrs
|
|
*/
|
|
|
|
[
|
|
pointer_default(unique)
|
|
]
|
|
interface xattr
|
|
{
|
|
/* xattrs for file systems that don't have any */
|
|
|
|
typedef [public] struct {
|
|
utf8string name;
|
|
DATA_BLOB value;
|
|
} tdb_xattr;
|
|
|
|
typedef [public] struct {
|
|
uint32 num_xattrs;
|
|
tdb_xattr xattrs[num_xattrs];
|
|
} tdb_xattrs;
|
|
}
|