[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 37/43: trans/symlink: Use default server stubs.
From: |
Samuel Thibault |
Subject: |
[hurd] 37/43: trans/symlink: Use default server stubs. |
Date: |
Mon, 11 Sep 2017 07:10:12 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 7f49fa0b2dbd371c3b10d876eeed7a26812506b4
Author: Justus Winter <address@hidden>
Date: Thu Aug 24 19:54:49 2017 +0200
trans/symlink: Use default server stubs.
* trans/Makefile (fsysServer-CFLAGS): Use default server stubs.
* trans/symlink.c: Remove all the fsys stubs.
---
trans/Makefile | 1 +
trans/symlink.c | 59 ---------------------------------------------------------
2 files changed, 1 insertion(+), 59 deletions(-)
diff --git a/trans/Makefile b/trans/Makefile
index b2f63ca..02718df 100644
--- a/trans/Makefile
+++ b/trans/Makefile
@@ -52,6 +52,7 @@ device_reply-MIGSFLAGS=\
# fsysServer is only used by the symlink translator which does not use
# libports. Disable the default payload to port conversion.
fsys-MIGSFLAGS = "-DHURD_DEFAULT_PAYLOAD_TO_PORT=1"
+fsysServer-CFLAGS = "-DMIG_EOPNOTSUPP=EOPNOTSUPP"
# If we have a configured tree, include the configuration so that we
# can conditionally build translators.
diff --git a/trans/symlink.c b/trans/symlink.c
index 845a112..80d60f6 100644
--- a/trans/symlink.c
+++ b/trans/symlink.c
@@ -163,13 +163,6 @@ S_fsys_getroot (mach_port_t fsys_t,
}
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_goaway (mach_port_t control, int flags)
{
exit (0);
@@ -182,55 +175,3 @@ S_fsys_syncfs (mach_port_t control,
{
return 0;
}
-
-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)
-{
- return EOPNOTSUPP;
-}
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 16/43: Simplify deallocations., (continued)
- [hurd] 16/43: Simplify deallocations., Samuel Thibault, 2017/09/11
- [hurd] 29/43: eth-multiplexer: Respect interfaces up flags., Samuel Thibault, 2017/09/11
- [hurd] 36/43: startup: Don't spin on host_reboot failures., Samuel Thibault, 2017/09/11
- [hurd] 30/43: Drop the register qualifier., Samuel Thibault, 2017/09/11
- [hurd] 02/43: trans: New random translator., Samuel Thibault, 2017/09/11
- [hurd] 43/43: storeio: Avoid calling mmap with zero size, Samuel Thibault, 2017/09/11
- [hurd] 03/43: trans: Conditionally build the random translator., Samuel Thibault, 2017/09/11
- [hurd] 17/43: Replace bcopy with memcpy or memmove as appropriate., Samuel Thibault, 2017/09/11
- [hurd] 42/43: Fix build with glibc-2.26, Samuel Thibault, 2017/09/11
- [hurd] 39/43: Remove unused parameter from the 'get_source' machinery., Samuel Thibault, 2017/09/11
- [hurd] 37/43: trans/symlink: Use default server stubs.,
Samuel Thibault <=
- [hurd] 40/43: pfinet: select UDP/TCP ports randomly, Samuel Thibault, 2017/09/11
- [hurd] 15/43: Use our own variant of 'assert' and 'assert_perror'., Samuel Thibault, 2017/09/11