projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43413c1
)
added O_NOCTTY to open(device)
author
realraum
<realraum@realraum.at>
Tue, 12 May 2009 22:11:58 +0000
(22:11 +0000)
committer
realraum
<realraum@realraum.at>
Tue, 12 May 2009 22:11:58 +0000
(22:11 +0000)
door_daemon/door_daemon.c
patch
|
blob
|
history
diff --git
a/door_daemon/door_daemon.c
b/door_daemon/door_daemon.c
index
6b991db
..
f8a3982
100644
(file)
--- a/
door_daemon/door_daemon.c
+++ b/
door_daemon/door_daemon.c
@@
-451,7
+451,7
@@
int main(int argc, char* argv[])
fclose(pid_file);
}
- int door_fd = open(opt.door_dev_, O_RDWR);
+ int door_fd = open(opt.door_dev_, O_RDWR | O_NOCTTY);
if(door_fd < 0) {
log_printf(ERROR, "unable to open %s: %s", opt.door_dev_, strerror(errno));
options_clear(&opt);