diff options
Diffstat (limited to 'fsys_proxy.c')
| -rw-r--r-- | fsys_proxy.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/fsys_proxy.c b/fsys_proxy.c index 0af04ac..fd528c3 100644 --- a/fsys_proxy.c +++ b/fsys_proxy.c @@ -19,9 +19,13 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <hurd/fsys.h> + #include "priv.h" -#include <hurd/fsys.h> +/* Hack to get to the new declaration. */ +#undef _fsys_user_ +#include "fsys_request_U.h" error_t S_fsys_startup (mach_port_t bootstrap, int flags, mach_port_t control, @@ -94,8 +98,13 @@ S_fsys_getroot (mach_port_t fsys_t, error_t S_fsys_goaway (mach_port_t control, int flags) { - /* XXX we never get to see those... */ - return EOPNOTSUPP; + /* Tell our child to go away. */ + fsys_goaway_request (active_control, + /* We won't be around for the reply anyway. */ + mach_reply_port (), + flags); + + exit (0); } error_t |
