r3545: initial support for using extended attributes to hold extended dos attributes...
authorAndrew Tridgell <tridge@samba.org>
Fri, 5 Nov 2004 07:29:02 +0000 (07:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:05:30 +0000 (13:05 -0500)
commit9fe5fa11d637252f1fbe79c7baf778e2d3cdade2
tree40f628c02dcc23d3ec4724e43cb9a6fcdeb5c548
parent0a8dff9e475aea5312ecc4bc283e8007ee653185
r3545: initial support for using extended attributes to hold extended dos attributes of files.

I decided to use IDL/NDR to encode the attribute, as it gives us a
simple way to describe and extend the saved attributes.

The xattr code needs to hook into quite a few more places in the pvfs
code, but this at least gets the basics done. I will start encoding
alternate data streams streams, DOS EAs etc soon using the same basic
mechanism.

I'll probably stick to "version 1" for the xattr.idl for quite a while
even though it will be changing, as I don't expect anyone to be
deploying this in production just yet. Once we have production users
we will need to keep compatibility by supporting all the old version
numbers in xattr.idl.
(This used to be commit c54253ed1b7dce1d14f43e747da61089aea87094)
15 files changed:
source4/build/m4/rewrite.m4
source4/libcli/util/errormap.c
source4/librpc/config.m4
source4/librpc/config.mk
source4/librpc/idl/xattr.idl [new file with mode: 0644]
source4/librpc/ndr/ndr.c
source4/ntvfs/posix/config.m4
source4/ntvfs/posix/config.mk
source4/ntvfs/posix/pvfs_fileinfo.c
source4/ntvfs/posix/pvfs_open.c
source4/ntvfs/posix/pvfs_resolve.c
source4/ntvfs/posix/pvfs_setfileinfo.c
source4/ntvfs/posix/pvfs_xattr.c [new file with mode: 0644]
source4/ntvfs/posix/vfs_posix.c
source4/ntvfs/posix/vfs_posix.h