server: Store valid file options in pseudo file descriptors.
diff --git a/server/named_pipe.c b/server/named_pipe.c
index f2c7947..801b4d7 100644
--- a/server/named_pipe.c
+++ b/server/named_pipe.c
@@ -480,7 +480,7 @@
get_error() != STATUS_OBJECT_NAME_EXISTS)
{
dev->pipes = NULL;
- if (!(dev->fd = alloc_pseudo_fd( &named_pipe_device_fd_ops, &dev->obj )) ||
+ if (!(dev->fd = alloc_pseudo_fd( &named_pipe_device_fd_ops, &dev->obj, 0 )) ||
!(dev->pipes = create_namespace( 7 )))
{
release_object( dev );
@@ -709,7 +709,7 @@
list_add_head( &pipe->servers, &server->entry );
grab_object( pipe );
- if (!(server->ioctl_fd = alloc_pseudo_fd( &pipe_server_fd_ops, &server->obj )))
+ if (!(server->ioctl_fd = alloc_pseudo_fd( &pipe_server_fd_ops, &server->obj, options )))
{
release_object( server );
server = NULL;