From 6620d8b801c4683bf81fc419484d64530ba126ba Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 26 Apr 2016 19:12:17 +0200 Subject: startup: use the generated default server implementations * startup/Makefile: Set appropriate flags. * startup/startup.c: Drop most stub functions. --- startup/startup.c | 102 +----------------------------------------------------- 1 file changed, 1 insertion(+), 101 deletions(-) (limited to 'startup/startup.c') diff --git a/startup/startup.c b/startup/startup.c index f3e3534f..66f960cd 100644 --- a/startup/startup.c +++ b/startup/startup.c @@ -1448,41 +1448,6 @@ S_startup_reboot (mach_port_t server, for (;;); } -/* Stubs for unused notification RPCs. */ - -kern_return_t -do_mach_notify_port_destroyed (mach_port_t notify, - mach_port_t rights) -{ - return EOPNOTSUPP; -} - -kern_return_t -do_mach_notify_send_once (mach_port_t notify) -{ - return EOPNOTSUPP; -} - -kern_return_t -do_mach_notify_no_senders (mach_port_t port, mach_port_mscount_t mscount) -{ - return EOPNOTSUPP; -} - -kern_return_t -do_mach_notify_port_deleted (mach_port_t notify, - mach_port_t name) -{ - return EOPNOTSUPP; -} - -kern_return_t -do_mach_notify_msg_accepted (mach_port_t notify, - mach_port_t name) -{ - return EOPNOTSUPP; -} - /* msg server */ kern_return_t @@ -1730,76 +1695,11 @@ S_fsys_getroot (mach_port_t fsys_t, return 0; } -error_t -S_fsys_goaway (mach_port_t control, int flags) -{ - return EOPNOTSUPP; -} - -error_t -S_fsys_startup (mach_port_t bootstrap, int flags, mach_port_t control, - mach_port_t *real, mach_msg_type_name_t *realtype) -{ - return EOPNOTSUPP; -} - -error_t -S_fsys_syncfs (mach_port_t control, - int wait, - int recurse) -{ - return EOPNOTSUPP; -} - -error_t -S_fsys_set_options (mach_port_t control, - char *data, mach_msg_type_number_t len, - int do_children) -{ - return EOPNOTSUPP; -} - error_t S_fsys_get_options (mach_port_t control, char **data, mach_msg_type_number_t *len) { - return EOPNOTSUPP; -} - -error_t -S_fsys_getfile (mach_port_t control, - uid_t *uids, size_t nuids, - uid_t *gids, size_t ngids, - char *handle, size_t handllen, - mach_port_t *pt, - mach_msg_type_name_t *pttype) -{ - return EOPNOTSUPP; -} - -error_t -S_fsys_getpriv (mach_port_t control, - mach_port_t *host_priv, mach_msg_type_name_t *host_priv_type, - mach_port_t *dev_master, mach_msg_type_name_t *dev_master_type, - task_t *fs_task, mach_msg_type_name_t *fs_task_type) -{ - return EOPNOTSUPP; -} - -error_t -S_fsys_init (mach_port_t control, - mach_port_t reply, - mach_msg_type_name_t replytype, - mach_port_t proc, - auth_t auth) -{ - return EOPNOTSUPP; -} - -error_t -S_fsys_forward (mach_port_t server, mach_port_t requestor, - char *argz, size_t argz_len) -{ + /* XXX Implement me. */ return EOPNOTSUPP; } -- cgit v1.2.3