server: Pass the security descriptor into create_file, if one is specified, and set the initial mode for the file appropriately.
diff --git a/server/protocol.def b/server/protocol.def
index 1ecc886..5d8acde 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -848,6 +848,7 @@
int create; /* file create action */
unsigned int options; /* file options */
unsigned int attrs; /* file attributes for creation */
+ VARARG(objattr,object_attributes); /* object attributes */
VARARG(filename,string); /* file name */
@REPLY
obj_handle_t handle; /* handle to the file */