summaryrefslogtreecommitdiff
path: root/cifsacl.h
AgeCommit message (Collapse)AuthorFilesLines
2012-10-29cifs.idmap: make sure cifsacl structs are packedJeff Layton1-4/+4
The kernel equivalent definitions are defined with __attribute__((packed)), and the code seems to assume the userspace and kernel ones will be properly aligned. Fix the userspace definitions in a similar fashion. Given the way these structs are, there is probably not any padding between fields on most arches, but it's best to be safe here. Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Signed-off-by: Jeff Layton <jlayton@samba.org>
2011-08-25cifsacl: Add file cifsacl.h (try #2)Shirish Pargaonkar1-0/+136
Add defines and structures related to security descriptor, ACL, ACE, various fields within an ACE, and SID. Also define various file permissions and acess types. Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>