diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-05-20 02:03:20 +0000 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-05-20 02:03:20 +0000 |
commit | b5f62597a03930390d6b34e3e166aa2573854116 (patch) | |
tree | ffecfc3027d20e2276e39e2581d970307fd5751f | |
parent | 557b230fad35ef6f873a9c453bb81bf96f557cd1 (diff) | |
parent | 4fc0eb5c612281074bd1ba55a4d6d32041ee7a6e (diff) |
Merge branch 'dde' of ssh://git.sv.gnu.org/srv/git/hurd/incubator
-rw-r--r-- | devnode/devnode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devnode/devnode.c b/devnode/devnode.c index 7abf2bf8..55fd8d92 100644 --- a/devnode/devnode.c +++ b/devnode/devnode.c @@ -27,6 +27,7 @@ #include <errno.h> #include <error.h> #include <stddef.h> +#include <fcntl.h> #include <hurd.h> #include <mach.h> @@ -67,7 +68,7 @@ int trivfs_fsid = 0; int trivfs_support_read = 0; int trivfs_support_write = 0; int trivfs_support_exec = 0; -int trivfs_allow_open = 0; +int trivfs_allow_open = O_READ | O_WRITE; struct port_class *trivfs_protid_portclasses[1]; struct port_class *trivfs_cntl_portclasses[1]; |