mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
CIFS: Add support for setting owner info, dos attributes, and create time
This is needed for backup/restore scenarios among others. Add extended attribute "system.cifs_ntsd" (and alias "system.smb3_ntsd") to allow for setting owner and DACL in the security descriptor. This is in addition to the existing "system.cifs_acl" and "system.smb3_acl" attributes that allow for setting DACL only. Add support for setting creation time and dos attributes using set_file_info() calls to complement the existing support for getting these attributes via query_path_info() calls. Signed-off-by: Boris Protopopov <bprotopopov@hotmail.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
c4985c3d99
commit
438471b679
1 changed files with 117 additions and 11 deletions
128
fs/cifs/xattr.c
128
fs/cifs/xattr.c
Loading…
Add table
Add a link
Reference in a new issue