Commit Graph

12 Commits

Author SHA1 Message Date
Sebastian Lackner
20286952db Fix a build failure on MacOS caused by using of strndup in the server-Inherited_ACLs patchset. 2015-03-17 01:06:45 +01:00
Sebastian Lackner
7a419c031a Make definition files optional, move revision numbers to corresponding .patch files. 2014-11-15 10:33:43 +01:00
Sebastian Lackner
41b4bc29a0 server-Inherited_ACLs: One more small fix to ensure we don't dereference a NULL pointer. 2014-09-06 04:07:11 +02:00
Sebastian Lackner
1d0979cb9b server-Inherited_ACLs: Fix leaking combined security descriptor and parent_sd. 2014-09-06 04:00:58 +02:00
Sebastian Lackner
b91cca8e61 server-Inherited_ACLs: More bugfixes (easy ones). 2014-09-06 03:10:50 +02:00
Sebastian Lackner
130fbbe654 server-Inherited_ACLs: Remove unused flag. 2014-09-06 00:34:40 +02:00
Sebastian Lackner
e536c2d707 server-ACL_Compat/server-Inherited_ACLs: Avoid creating unnecessary file object for checking the parent SDs. 2014-09-06 00:02:39 +02:00
Sebastian Lackner
6c26951aae server-Inherited_ACLs: Added check for return value of strndup, improve detection of parent directory.
This is the same method that is used to traverse the path in kernel32.dll. Its still not perfect, because
the wineserver will easily get confused by symlinks. In this case the attributes should be inherited
from the real parent directory, not from the directory that contains the symlink.
2014-09-05 22:53:25 +02:00
Sebastian Lackner
4ff0b53021 server-Inherited_ACLs: Avoid using different sizes for mem_alloc and memcpy, some style cleanup.
It is a bit risky to use two different values for mem_alloc and memcpy - under some circumstances
these values probably don't match, leading to an invalid memory access. As the ACLs are accessed
without any special checks this shows that we'll also need additional protection in one of the
earlier patches.
2014-08-29 03:58:31 +02:00
Sebastian Lackner
04d674d9b6 server-Stored_ACLs: Minor cleanup.
We can avoid some variable declarations in the regular code, and only need them for ACL_Compat.
2014-08-29 03:37:44 +02:00
Erich E. Hoover
fa92b283ed Added patch to implement DOS hidden/system file attributes. 2014-08-20 19:22:07 -06:00
Erich E. Hoover
2c3efe2faa Split 02-ACL_Extended_Attributes into server-Stored_ACLs, server-Inherited_ACLs, shell32-Default_Folder_ACLs, and server-ACL_Compat. 2014-07-25 18:33:58 -06:00