summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-02-18 05:54:20 +0000
committerThomas Bushnell <thomas@gnu.org>1999-02-18 05:54:20 +0000
commitfa0325d2418b97b6850cb40c0c505939a79efac2 (patch)
treeac9d2ce2bc6a09e66e041466f8a1c08b3bd70c21 /init
parent6ec692dbd713d83218f9506a1fd23f5a6324b5be (diff)
Tue Feb 16 18:54:33 1999 Thomas Bushnell, BSG <tb@mit.edu>
* init.c (shutdown_terminal): Revoke access to the terminal from existing programs.
Diffstat (limited to 'init')
-rw-r--r--init/ChangeLog5
-rw-r--r--init/init.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/init/ChangeLog b/init/ChangeLog
index 5dd723b5..3c077cd6 100644
--- a/init/ChangeLog
+++ b/init/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 16 18:54:33 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * init.c (shutdown_terminal): Revoke access to the terminal from
+ existing programs.
+
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* init.c (main): Don't bogusly clear bootstrap_args.
diff --git a/init/init.c b/init/init.c
index 2fa4db08..133d44f1 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1,6 +1,6 @@
/* Start and maintain hurd core servers and system run state
- Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
The GNU Hurd is free software; you can redistribute it and/or modify
@@ -678,7 +678,7 @@ void
shutdown_terminal (struct terminal *t)
{
kill (t->pid, SIGHUP);
- /* revoke?? */;
+ revoke (t->name);
}
/* Re-read /etc/ttys. If a line has turned off, kill what's there.