diff options
author | Gerald Carter <jerry@samba.org> | 2006-02-03 22:19:41 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-02-03 22:19:41 +0000 |
commit | 5831715049f2d460ce42299963a5defdc160891b (patch) | |
tree | 19a0c31c817c9bc26fd53485b5348ab4af127a23 /source/lib/secdesc.c | |
parent | e24ac859e7964714ed3b543300aadf77955af5bf (diff) | |
download | samba-5831715049f2d460ce42299963a5defdc160891b.tar.gz samba-5831715049f2d460ce42299963a5defdc160891b.tar.xz samba-5831715049f2d460ce42299963a5defdc160891b.zip |
r13316: Let the carnage begin....
Sync with trunk as off r13315
Diffstat (limited to 'source/lib/secdesc.c')
-rw-r--r-- | source/lib/secdesc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/lib/secdesc.c b/source/lib/secdesc.c index ace0aee8664..273bf0f0a3f 100644 --- a/source/lib/secdesc.c +++ b/source/lib/secdesc.c @@ -23,6 +23,15 @@ #include "includes.h" +/* Map generic permissions to file object specific permissions */ + +struct generic_mapping file_generic_mapping = { + FILE_GENERIC_READ, + FILE_GENERIC_WRITE, + FILE_GENERIC_EXECUTE, + FILE_GENERIC_ALL +}; + /******************************************************************* Works out the linearization size of a SEC_DESC. ********************************************************************/ @@ -520,3 +529,4 @@ void init_sec_access(SEC_ACCESS *t, uint32 mask) t->mask = mask; } + |