Sebastian Lackner
|
3d3c92782a
|
server: Avoid leaking file descriptor on error in create_file_for_fd.
|
2014-11-18 14:14:04 +09:00 |
|
Erich E. Hoover
|
d2e216f462
|
server: Create directories with the specified security attributes.
|
2013-11-21 19:44:45 +01:00 |
|
Dmitry Timoshkov
|
b29fbc4f00
|
server: Set the unix file write mode bit also for FILE_APPEND_DATA access.
|
2013-10-03 20:14:14 +02:00 |
|
Alexandre Julliard
|
62beef5a72
|
server: Add a helper function to compute an SID length.
|
2013-04-11 13:00:06 +02:00 |
|
Francois Gouget
|
c7cb3e6cb2
|
configure: Use errno.h instead of the non-standard sys/errno.h header.
|
2011-12-15 17:46:38 +01:00 |
|
Hans Leidekker
|
3321c45038
|
server: Include groups in file mode calculation if the security descriptor matches the current user.
|
2011-07-19 14:04:30 +02:00 |
|
Alexandre Julliard
|
f2b34dddfb
|
server: Set the fd user when duplicating a mapping file descriptor into a new file.
|
2011-04-22 17:51:29 +02:00 |
|
Alexandre Julliard
|
900352bc6b
|
server: Store a mapping instead of a file for process dlls.
|
2011-04-18 14:45:32 +02:00 |
|
Alexandre Julliard
|
eb2fe39d63
|
server: Add support for opening a new file handle from a mapping object.
|
2011-04-18 14:27:44 +02:00 |
|
Dmitry Timoshkov
|
f834d23197
|
server: FILE_OVERWRITE and FILE_OVERWRITE_IF need the FILE_WRITE_ATTRIBUTES permission.
|
2011-03-30 15:10:20 +02:00 |
|
Dmitry Timoshkov
|
1b5602e59c
|
server: Add excute permission when read file access is allowed.
|
2011-03-28 17:16:01 +02:00 |
|
Dmitry Timoshkov
|
da077956e1
|
server: Explicitly add FILE_DELETE_CHILD permission when file write access is allowed.
|
2011-03-16 16:31:56 +01:00 |
|
Alexandre Julliard
|
a2ca2ebd50
|
server: Change the removable fd flag to a cacheable flag to make it possible for fd users to set it dynamically.
|
2010-08-23 17:09:45 +02:00 |
|
Alexandre Julliard
|
80e844f713
|
server: Simplify computation of file modes from the security descriptor.
|
2009-12-11 17:47:30 +01:00 |
|
Ben Peddell
|
b419df1de4
|
server: Include user groups in file mode calculation when user is file owner.
|
2009-12-11 17:47:30 +01:00 |
|
Paul Chitescu
|
923524951a
|
server: Only check if permission bits changed before calling fchmod().
|
2009-12-08 17:42:32 +01:00 |
|
Alexandre Julliard
|
42806f32e9
|
server: Add support for opening files from a specified root directory.
|
2009-12-01 17:38:24 +01:00 |
|
Alexandre Julliard
|
62eda39fc1
|
server: Moved the create_temp_file function to mapping.c.
|
2009-11-23 16:30:00 +01:00 |
|
Alexandre Julliard
|
78d211b3bd
|
server: Move the functions to extend file to mapping.c since it's the only user.
|
2009-11-23 15:58:25 +01:00 |
|
Alexandre Julliard
|
da1784bb9e
|
server: Don't use the cached file mode when setting the security descriptor.
|
2009-08-17 17:26:51 +02:00 |
|
Alexandre Julliard
|
74a63029c7
|
server: Properly initialize mode and uid for file and directory objects.
|
2009-08-17 17:18:54 +02:00 |
|
Andrew Nguyen
|
270179a78f
|
server: Remap the EROFS errno value to STATUS_ACCESS_DENIED.
|
2009-07-13 12:25:41 +02:00 |
|
Paul Bryan Roberts
|
d87af3dfb2
|
server: Refactor server side implementation of GetFileSecurity().
|
2008-11-07 12:01:24 +01:00 |
|
Alexandre Julliard
|
8382eb01b2
|
server: Return correct object types in the get_directory_entry request.
|
2007-12-05 18:16:42 +01:00 |
|
Rob Shearman
|
ec8a27f573
|
server: Fix incorrect translation of the World SID to and from Unix file permissions.
The World SID now maps to user|group|other instead of just other.
|
2007-11-21 12:03:29 +01:00 |
|
Rob Shearman
|
6753fdc3b7
|
server: Fix a typo in the enumeration of the ACE's in sd_to_mode.
This caused only the first ACE to be examined, causing permissions to
always be set to ----???---.
|
2007-11-20 14:29:23 +01:00 |
|
Rob Shearman
|
5f5df83281
|
server: Pass the security descriptor into create_file, if one is specified, and set the initial mode for the file appropriately.
|
2007-10-30 14:18:27 +01:00 |
|
Rob Shearman
|
8d6093e624
|
server: Fix file_set_sd to handle NULL DACLs.
These mean that the file should have full permissions for everyone.
|
2007-10-22 12:36:08 +02:00 |
|
Alexandre Julliard
|
235532ce28
|
server: Use the file_pos_t type for file sizes and offsets in the protocol structures.
|
2007-10-10 14:06:25 +02:00 |
|
Rob Shearman
|
f5070b0511
|
server: Only call fchmod in file_set_fd if the mode actually changed.
|
2007-10-09 11:42:33 +02:00 |
|
Rob Shearman
|
f43d8b65c1
|
server: Remove an unnecessary check from file_set_fd.
|
2007-10-09 11:42:31 +02:00 |
|
Rob Shearman
|
cb124c9b12
|
server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions.
|
2007-10-04 12:30:52 +02:00 |
|
Rob Shearman
|
c1707d8938
|
server: Add get_sd and set_sd object operations to allow the security descriptor to be stored somewhere other than server memory, such as on disk.
|
2007-10-04 12:30:52 +02:00 |
|
Alexandre Julliard
|
24001e8ddc
|
server: Add a default access mapping function for files, and use it for devices too.
|
2007-10-02 14:20:15 +02:00 |
|
Dmitry Timoshkov
|
c75edd04c2
|
server: Map ETXTBSY to STATUS_SHARING_VIOLATION.
|
2007-09-11 11:49:43 +02:00 |
|
Dmitry Timoshkov
|
69025bafe7
|
server: Print a more informative message when file_set_error or sock_get_error can't map errno to a status code.
|
2007-09-10 15:29:46 +02:00 |
|
Alexandre Julliard
|
133b8bc3ed
|
server: Return a more correct fd type for anonymous files.
|
2007-04-23 15:13:22 +02:00 |
|
Alexandre Julliard
|
635714397f
|
server: Add infrastructure for ioctl server request.
|
2007-04-16 14:45:03 +02:00 |
|
Alexandre Julliard
|
7a9363a4d4
|
server: Rename the get_file_info function to get_fd_type and get rid of the flags.
|
2007-04-10 22:26:23 +02:00 |
|
Alexandre Julliard
|
f85437c57f
|
server: Store the opening options in the file descriptor instead of in the individual objects.
Allows moving the FD_FLAG_OVERLAPPED support to the generic
get_handle_fd request handling.
|
2007-04-10 22:25:07 +02:00 |
|
Alexandre Julliard
|
72bff2e445
|
server: Add support for restarting an async I/O when the client side couldn't finish it right away.
|
2007-04-10 17:07:27 +02:00 |
|
Alexandre Julliard
|
ba896e75d7
|
server: Fix the handling of the signaled status for file descriptors.
File handles are signaled when an I/O operation completes, and reset
when another operation is queued.
|
2007-04-04 19:39:29 +02:00 |
|
Alexandre Julliard
|
df651875ad
|
server: Remove the return value of the flush() method, it's not used.
|
2007-03-27 16:51:44 +02:00 |
|
Alexandre Julliard
|
7e71c1ddee
|
server: Add an open_file() function to the object operations.
|
2007-03-22 11:44:29 +01:00 |
|
Alexandre Julliard
|
5bd513640b
|
ntdll: Moved the check for removable file in load_dll to the server.
|
2007-01-12 14:42:43 +01:00 |
|
Dmitry Timoshkov
|
ced2e56ddc
|
server: Map ESPIPE to STATUS_ILLEGAL_FUNCTION for consistency with ntdll.
|
2007-01-08 12:51:37 +01:00 |
|
Alexandre Julliard
|
8930427b21
|
server: Return an fd type in the get_handle_fd request.
|
2006-11-20 14:14:04 +01:00 |
|
Alexandre Julliard
|
715d78e006
|
server: Refuse to close handles in other processes if they have an associated fd.
|
2006-11-02 20:52:22 +01:00 |
|
Robert Shearman
|
4d7b23069b
|
server: Translate errnos ENFILE and EMFILE to STATUS_TOO_MANY_OPENED_FILES,
which seems to be more appropriate and matches the errno translation
in ntdll.
|
2006-09-07 10:17:18 +02:00 |
|
Alexandre Julliard
|
0f273c17ff
|
server: Added data_size_t type to represent sizes in the server protocol.
Make it an unsigned int to save some space on Win64, if we need to
transfer more than 4Gb over the server pipe something is seriously
wrong.
|
2006-07-26 11:11:03 +02:00 |
|