[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 25/31: startup: use the generated default server implementations
From: |
Samuel Thibault |
Subject: |
[hurd] 25/31: startup: use the generated default server implementations |
Date: |
Mon, 02 May 2016 23:48:33 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 6620d8b801c4683bf81fc419484d64530ba126ba
Author: Justus Winter <address@hidden>
Date: Tue Apr 26 19:12:17 2016 +0200
startup: use the generated default server implementations
* startup/Makefile: Set appropriate flags.
* startup/startup.c: Drop most stub functions.
---
startup/Makefile | 3 ++
startup/startup.c | 102 +-----------------------------------------------------
2 files changed, 4 insertions(+), 101 deletions(-)
diff --git a/startup/Makefile b/startup/Makefile
index db062ad..bda3ffb 100644
--- a/startup/Makefile
+++ b/startup/Makefile
@@ -28,6 +28,9 @@ HURDLIBS = shouldbeinlibc
# startup does not use libports. Disable the default payload to port
# conversion.
MIGSFLAGS="-DHURD_DEFAULT_PAYLOAD_TO_PORT=1"
+notify-MIGSFLAGS="-DNOTIFY_IMPORTS=import <hurd.h>;"
+notifyServer-CFLAGS="-DMIG_EOPNOTSUPP=EOPNOTSUPP"
+fsysServer-CFLAGS="-DMIG_EOPNOTSUPP=EOPNOTSUPP"
fsServer-CFLAGS="-DMIG_EOPNOTSUPP=EOPNOTSUPP"
ioServer-CFLAGS="-DMIG_EOPNOTSUPP=EOPNOTSUPP"
diff --git a/startup/startup.c b/startup/startup.c
index f3e3534..66f960c 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
@@ -1731,75 +1696,10 @@ S_fsys_getroot (mach_port_t fsys_t,
}
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;
}
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 08/31: utils/settrans: add option to specify the underlying node, (continued)
- [hurd] 08/31: utils/settrans: add option to specify the underlying node, Samuel Thibault, 2016/05/02
- [hurd] 31/31: Fix build, Samuel Thibault, 2016/05/02
- [hurd] 29/31: libihash: keep track of free slots, Samuel Thibault, 2016/05/02
- [hurd] 10/31: mach-defpager: fix error handling, Samuel Thibault, 2016/05/02
- [hurd] 30/31: libihash: rehash if effective load exceeds the threshold, Samuel Thibault, 2016/05/02
- [hurd] 26/31: startup: write all messages to stderr, Samuel Thibault, 2016/05/02
- [hurd] 27/31: Fix root operations on trivfs-translated nodes, Samuel Thibault, 2016/05/02
- [hurd] 16/31: libtrivfs: fix notion of privileged user, Samuel Thibault, 2016/05/02
- [hurd] 28/31: libihash: fix index computation, Samuel Thibault, 2016/05/02
- [hurd] 24/31: startup: add verbose parameter, Samuel Thibault, 2016/05/02
- [hurd] 25/31: startup: use the generated default server implementations,
Samuel Thibault <=
- [hurd] 01/31: netfs: Remove global reference count lock., Samuel Thibault, 2016/05/03
- [hurd] 04/31: Use posix types for mig definitions., Samuel Thibault, 2016/05/03