]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
CIFS: Add new mount option to set owner uid and gid from special sids in acl
authorSteve French <smfrench@gmail.com>
Fri, 23 Sep 2016 06:36:34 +0000 (01:36 -0500)
committerSteve French <smfrench@gmail.com>
Fri, 14 Oct 2016 19:22:01 +0000 (14:22 -0500)
commit9593265531fa66177a0547e63abd99907ec0a687
tree81350498ef2188029c0555163b60899ee029e372
parentde74025052ef63852d80a444ea19f2bdd7bec63f
CIFS: Add new mount option to set owner uid and gid from special sids in acl

Add "idsfromsid" mount option to indicate to cifs.ko that it should
try to retrieve the uid and gid owner fields from special sids in the
ACL if present.  This first patch just adds the parsing for the mount
option.

Signed-off-by: Steve French <steve.french@primarydata.com>
Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/cifs_fs_sb.h
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/connect.c