summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/dir-link.c2
-rw-r--r--libnetfs/dir-lookup.c2
-rw-r--r--libnetfs/dir-mkdir.c2
-rw-r--r--libnetfs/dir-mkfile.c2
-rw-r--r--libnetfs/dir-notice-changes.c2
-rw-r--r--libnetfs/dir-readdir.c2
-rw-r--r--libnetfs/dir-rename.c2
-rw-r--r--libnetfs/dir-rmdir.c2
-rw-r--r--libnetfs/dir-unlink.c2
-rw-r--r--libnetfs/file-chauthor.c2
-rw-r--r--libnetfs/file-check-access.c2
-rw-r--r--libnetfs/file-chflags.c2
-rw-r--r--libnetfs/file-chmod.c2
-rw-r--r--libnetfs/file-chown.c2
-rw-r--r--libnetfs/file-get-fs-options.c2
-rw-r--r--libnetfs/file-get-storage-info.c2
-rw-r--r--libnetfs/file-get-transcntl.c2
-rw-r--r--libnetfs/file-get-translator.c2
-rw-r--r--libnetfs/file-getcontrol.c2
-rw-r--r--libnetfs/file-getlinknode.c2
-rw-r--r--libnetfs/file-lock-stat.c2
-rw-r--r--libnetfs/file-lock.c2
-rw-r--r--libnetfs/file-reparent.c2
-rw-r--r--libnetfs/file-set-size.c2
-rw-r--r--libnetfs/file-set-translator.c2
-rw-r--r--libnetfs/file-statfs.c2
-rw-r--r--libnetfs/file-sync.c2
-rw-r--r--libnetfs/file-syncfs.c2
-rw-r--r--libnetfs/file-utimes.c4
-rw-r--r--libnetfs/fsstubs.c6
-rw-r--r--libnetfs/fsys-get-children.c2
-rw-r--r--libnetfs/fsys-get-options.c2
-rw-r--r--libnetfs/fsys-get-source.c2
-rw-r--r--libnetfs/fsys-getroot.c2
-rw-r--r--libnetfs/fsys-goaway.c2
-rw-r--r--libnetfs/fsys-set-options.c2
-rw-r--r--libnetfs/fsys-syncfs.c2
-rw-r--r--libnetfs/fsysstubs.c10
-rw-r--r--libnetfs/io-async.c2
-rw-r--r--libnetfs/io-clear-some-openmodes.c2
-rw-r--r--libnetfs/io-duplicate.c2
-rw-r--r--libnetfs/io-get-icky-async-id.c2
-rw-r--r--libnetfs/io-get-openmodes.c2
-rw-r--r--libnetfs/io-get-owner.c2
-rw-r--r--libnetfs/io-identity.c2
-rw-r--r--libnetfs/io-mod-owner.c2
-rw-r--r--libnetfs/io-pathconf.c2
-rw-r--r--libnetfs/io-read.c2
-rw-r--r--libnetfs/io-readable.c2
-rw-r--r--libnetfs/io-reauthenticate.c2
-rw-r--r--libnetfs/io-restrict-auth.c2
-rw-r--r--libnetfs/io-seek.c2
-rw-r--r--libnetfs/io-select.c4
-rw-r--r--libnetfs/io-set-all-openmodes.c2
-rw-r--r--libnetfs/io-set-some-openmodes.c2
-rw-r--r--libnetfs/io-stat.c2
-rw-r--r--libnetfs/io-write.c2
-rw-r--r--libnetfs/iostubs.c20
58 files changed, 75 insertions, 75 deletions
diff --git a/libnetfs/dir-link.c b/libnetfs/dir-link.c
index 51af402c..4b1bdb7c 100644
--- a/libnetfs/dir-link.c
+++ b/libnetfs/dir-link.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_dir_link (struct protid *diruser, struct protid *fileuser,
const_string_t name, int excl)
{
diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c
index 23cc1fe1..97732a4e 100644
--- a/libnetfs/dir-lookup.c
+++ b/libnetfs/dir-lookup.c
@@ -27,7 +27,7 @@
#include "callbacks.h"
#include "misc.h"
-error_t
+kern_return_t
netfs_S_dir_lookup (struct protid *dircred,
const_string_t filename,
int flags,
diff --git a/libnetfs/dir-mkdir.c b/libnetfs/dir-mkdir.c
index c9149804..2452eaec 100644
--- a/libnetfs/dir-mkdir.c
+++ b/libnetfs/dir-mkdir.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_dir_mkdir (struct protid *user, const_string_t name, mode_t mode)
{
error_t err;
diff --git a/libnetfs/dir-mkfile.c b/libnetfs/dir-mkfile.c
index 6cd79174..90361010 100644
--- a/libnetfs/dir-mkfile.c
+++ b/libnetfs/dir-mkfile.c
@@ -22,7 +22,7 @@
#include "misc.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_dir_mkfile (struct protid *diruser, int flags, mode_t mode,
mach_port_t *newfile, mach_msg_type_name_t *newfiletype)
{
diff --git a/libnetfs/dir-notice-changes.c b/libnetfs/dir-notice-changes.c
index e124e0bd..87721289 100644
--- a/libnetfs/dir-notice-changes.c
+++ b/libnetfs/dir-notice-changes.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_dir_notice_changes (struct protid *dir,
mach_port_t port)
{
diff --git a/libnetfs/dir-readdir.c b/libnetfs/dir-readdir.c
index 3d40dfa5..c7b71b7c 100644
--- a/libnetfs/dir-readdir.c
+++ b/libnetfs/dir-readdir.c
@@ -23,7 +23,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_dir_readdir (struct protid *user,
data_t *data,
mach_msg_type_number_t *datacnt,
diff --git a/libnetfs/dir-rename.c b/libnetfs/dir-rename.c
index c24488b4..87c297d4 100644
--- a/libnetfs/dir-rename.c
+++ b/libnetfs/dir-rename.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_dir_rename (struct protid *fromdiruser, const_string_t fromname,
struct protid *todiruser, const_string_t toname, int excl)
{
diff --git a/libnetfs/dir-rmdir.c b/libnetfs/dir-rmdir.c
index 74abb497..544a0a1d 100644
--- a/libnetfs/dir-rmdir.c
+++ b/libnetfs/dir-rmdir.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_dir_rmdir (struct protid *diruser, const_string_t name)
{
error_t err;
diff --git a/libnetfs/dir-unlink.c b/libnetfs/dir-unlink.c
index 83cd7638..597a12ca 100644
--- a/libnetfs/dir-unlink.c
+++ b/libnetfs/dir-unlink.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_dir_unlink (struct protid *user, const_string_t name)
{
error_t err;
diff --git a/libnetfs/file-chauthor.c b/libnetfs/file-chauthor.c
index 7041b2b8..b403a51d 100644
--- a/libnetfs/file-chauthor.c
+++ b/libnetfs/file-chauthor.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_chauthor (struct protid *user,
uid_t author)
{
diff --git a/libnetfs/file-check-access.c b/libnetfs/file-check-access.c
index d8773ff2..62234048 100644
--- a/libnetfs/file-check-access.c
+++ b/libnetfs/file-check-access.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_check_access (struct protid *user,
int *types)
{
diff --git a/libnetfs/file-chflags.c b/libnetfs/file-chflags.c
index a5c132d4..d79b6d87 100644
--- a/libnetfs/file-chflags.c
+++ b/libnetfs/file-chflags.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_chflags (struct protid *user,
int flags)
{
diff --git a/libnetfs/file-chmod.c b/libnetfs/file-chmod.c
index 413261ca..7e63a8ad 100644
--- a/libnetfs/file-chmod.c
+++ b/libnetfs/file-chmod.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_chmod (struct protid *user,
mode_t mode)
{
diff --git a/libnetfs/file-chown.c b/libnetfs/file-chown.c
index d02876c7..d1ad9f86 100644
--- a/libnetfs/file-chown.c
+++ b/libnetfs/file-chown.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_chown (struct protid *user,
uid_t owner,
uid_t group)
diff --git a/libnetfs/file-get-fs-options.c b/libnetfs/file-get-fs-options.c
index 7f759cc0..fcb649e4 100644
--- a/libnetfs/file-get-fs-options.c
+++ b/libnetfs/file-get-fs-options.c
@@ -29,7 +29,7 @@
are pending libnetfs being fleshed out some more. */
/* Implement file_get_fs_options as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
netfs_S_file_get_fs_options (struct protid *user,
data_t *data, mach_msg_type_number_t *data_len)
{
diff --git a/libnetfs/file-get-storage-info.c b/libnetfs/file-get-storage-info.c
index 18e9aa34..d9a3ab82 100644
--- a/libnetfs/file-get-storage-info.c
+++ b/libnetfs/file-get-storage-info.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_get_storage_info (struct protid *user,
mach_port_t **ports,
mach_msg_type_name_t *ports_type,
diff --git a/libnetfs/file-get-transcntl.c b/libnetfs/file-get-transcntl.c
index 04596d72..f74c8415 100644
--- a/libnetfs/file-get-transcntl.c
+++ b/libnetfs/file-get-transcntl.c
@@ -23,7 +23,7 @@
#include "fs_S.h"
/* Implement file_get_translator_cntl as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
netfs_S_file_get_translator_cntl (struct protid *cred,
mach_port_t *ctl,
mach_msg_type_name_t *ctltype)
diff --git a/libnetfs/file-get-translator.c b/libnetfs/file-get-translator.c
index 8e8c3eb6..b3998b08 100644
--- a/libnetfs/file-get-translator.c
+++ b/libnetfs/file-get-translator.c
@@ -26,7 +26,7 @@
#include <sys/mman.h>
#include <sys/sysmacros.h>
-error_t
+kern_return_t
netfs_S_file_get_translator (struct protid *user,
data_t *trans,
mach_msg_type_number_t *translen)
diff --git a/libnetfs/file-getcontrol.c b/libnetfs/file-getcontrol.c
index 0e29ccf9..6ba989c0 100644
--- a/libnetfs/file-getcontrol.c
+++ b/libnetfs/file-getcontrol.c
@@ -23,7 +23,7 @@
#include "fs_S.h"
#include <hurd/fshelp.h>
-error_t
+kern_return_t
netfs_S_file_getcontrol (struct protid *user,
mach_port_t *control,
mach_msg_type_name_t *controltype)
diff --git a/libnetfs/file-getlinknode.c b/libnetfs/file-getlinknode.c
index a15c8d5f..0f20fe85 100644
--- a/libnetfs/file-getlinknode.c
+++ b/libnetfs/file-getlinknode.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_getlinknode (struct protid *user,
file_t *port,
mach_msg_type_name_t *porttype)
diff --git a/libnetfs/file-lock-stat.c b/libnetfs/file-lock-stat.c
index c2145918..dac19d68 100644
--- a/libnetfs/file-lock-stat.c
+++ b/libnetfs/file-lock-stat.c
@@ -23,7 +23,7 @@
#include <fcntl.h>
#include <sys/file.h>
-error_t
+kern_return_t
netfs_S_file_lock_stat (struct protid *user,
int *mystatus,
int *otherstatus)
diff --git a/libnetfs/file-lock.c b/libnetfs/file-lock.c
index 2aa28458..3667c324 100644
--- a/libnetfs/file-lock.c
+++ b/libnetfs/file-lock.c
@@ -23,7 +23,7 @@
#include <fcntl.h>
#include <sys/file.h>
-error_t
+kern_return_t
netfs_S_file_lock (struct protid *user,
int flags)
{
diff --git a/libnetfs/file-reparent.c b/libnetfs/file-reparent.c
index 61b7e37f..b04bab3b 100644
--- a/libnetfs/file-reparent.c
+++ b/libnetfs/file-reparent.c
@@ -22,7 +22,7 @@
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_reparent (struct protid *cred, mach_port_t parent,
mach_port_t *new_file, mach_msg_type_name_t *new_file_type)
{
diff --git a/libnetfs/file-set-size.c b/libnetfs/file-set-size.c
index 1700ee18..dd1f606a 100644
--- a/libnetfs/file-set-size.c
+++ b/libnetfs/file-set-size.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_set_size (struct protid *user,
off_t size)
{
diff --git a/libnetfs/file-set-translator.c b/libnetfs/file-set-translator.c
index 26d9a6e6..f54f3890 100644
--- a/libnetfs/file-set-translator.c
+++ b/libnetfs/file-set-translator.c
@@ -25,7 +25,7 @@
#include <hurd/paths.h>
#include <hurd/fsys.h>
-error_t
+kern_return_t
netfs_S_file_set_translator (struct protid *user,
int passive_flags, int active_flags,
int killtrans_flags, const_data_t passive,
diff --git a/libnetfs/file-statfs.c b/libnetfs/file-statfs.c
index 13ae7d94..dff7e90e 100644
--- a/libnetfs/file-statfs.c
+++ b/libnetfs/file-statfs.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_statfs (struct protid *user,
struct statfs *st)
{
diff --git a/libnetfs/file-sync.c b/libnetfs/file-sync.c
index 4f6b4db8..6befe62e 100644
--- a/libnetfs/file-sync.c
+++ b/libnetfs/file-sync.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_sync (struct protid *user,
int wait,
int omitmeta)
diff --git a/libnetfs/file-syncfs.c b/libnetfs/file-syncfs.c
index 6a388daa..e371973d 100644
--- a/libnetfs/file-syncfs.c
+++ b/libnetfs/file-syncfs.c
@@ -22,7 +22,7 @@
#include "fs_S.h"
#include <hurd/fsys.h>
-error_t
+kern_return_t
netfs_S_file_syncfs (struct protid *user,
int wait,
int dochildren)
diff --git a/libnetfs/file-utimes.c b/libnetfs/file-utimes.c
index 042c43e8..1b5c2856 100644
--- a/libnetfs/file-utimes.c
+++ b/libnetfs/file-utimes.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "fs_S.h"
-error_t
+kern_return_t
netfs_S_file_utimes (struct protid *user,
time_value_t atimein,
time_value_t mtimein)
@@ -47,7 +47,7 @@ netfs_S_file_utimes (struct protid *user,
return netfs_S_file_utimens (user, atim, mtim);
}
-error_t
+kern_return_t
netfs_S_file_utimens (struct protid *user,
struct timespec atimein,
struct timespec mtimein)
diff --git a/libnetfs/fsstubs.c b/libnetfs/fsstubs.c
index dffdad16..8e795730 100644
--- a/libnetfs/fsstubs.c
+++ b/libnetfs/fsstubs.c
@@ -23,21 +23,21 @@
#include "fs_S.h"
#include "ifsock_S.h"
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_file_notice_changes (struct protid *user,
mach_port_t port)
{
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_file_getfh (struct protid *user,
data_t *data, mach_msg_type_number_t *ndata)
{
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_ifsock_getsockaddr (struct protid *user,
mach_port_t *address)
{
diff --git a/libnetfs/fsys-get-children.c b/libnetfs/fsys-get-children.c
index 1f57efab..3ede9332 100644
--- a/libnetfs/fsys-get-children.c
+++ b/libnetfs/fsys-get-children.c
@@ -30,7 +30,7 @@
or more links in the file system, therefore there is no guarantee
that a translators name refers to an existing link in the file
system. */
-error_t
+kern_return_t
netfs_S_fsys_get_children (struct netfs_control *fsys,
mach_port_t reply,
mach_msg_type_name_t reply_type,
diff --git a/libnetfs/fsys-get-options.c b/libnetfs/fsys-get-options.c
index ee333813..6710cf26 100644
--- a/libnetfs/fsys-get-options.c
+++ b/libnetfs/fsys-get-options.c
@@ -30,7 +30,7 @@
are pending libnetfs being fleshed out some more. */
/* Implement fsys_get_options as described in <hurd/fsys.defs>. */
-error_t
+kern_return_t
netfs_S_fsys_get_options (struct netfs_control *port,
mach_port_t reply,
mach_msg_type_name_t reply_type,
diff --git a/libnetfs/fsys-get-source.c b/libnetfs/fsys-get-source.c
index 65431d4b..e991a354 100644
--- a/libnetfs/fsys-get-source.c
+++ b/libnetfs/fsys-get-source.c
@@ -26,7 +26,7 @@
appropriate in the context of the translator. For example, if the
translator is a filesystem residing on a block device, then SOURCE
should be the file name of the underlying block device. */
-error_t
+kern_return_t
netfs_S_fsys_get_source (struct netfs_control *fsys,
mach_port_t reply,
mach_msg_type_name_t reply_type,
diff --git a/libnetfs/fsys-getroot.c b/libnetfs/fsys-getroot.c
index 47fb1c74..a29caaa5 100644
--- a/libnetfs/fsys-getroot.c
+++ b/libnetfs/fsys-getroot.c
@@ -25,7 +25,7 @@
#include <fcntl.h>
#include <hurd/fshelp.h>
-error_t
+kern_return_t
netfs_S_fsys_getroot (struct netfs_control *pt,
mach_port_t reply,
mach_msg_type_name_t reply_type,
diff --git a/libnetfs/fsys-goaway.c b/libnetfs/fsys-goaway.c
index 872d0730..fc2df863 100644
--- a/libnetfs/fsys-goaway.c
+++ b/libnetfs/fsys-goaway.c
@@ -25,7 +25,7 @@
#include <errno.h>
#include <hurd/ports.h>
-error_t
+kern_return_t
netfs_S_fsys_goaway (struct netfs_control *pt,
mach_port_t reply,
mach_msg_type_name_t reply_type,
diff --git a/libnetfs/fsys-set-options.c b/libnetfs/fsys-set-options.c
index 2b7e07e0..91cc2cdc 100644
--- a/libnetfs/fsys-set-options.c
+++ b/libnetfs/fsys-set-options.c
@@ -46,7 +46,7 @@ helper (void *cookie, const char *name, mach_port_t control)
}
/* Implement fsys_set_options as described in <hurd/fsys.defs>. */
-error_t
+kern_return_t
netfs_S_fsys_set_options (struct netfs_control *pt,
mach_port_t reply,
mach_msg_type_name_t reply_type,
diff --git a/libnetfs/fsys-syncfs.c b/libnetfs/fsys-syncfs.c
index 904e9246..07a69ea9 100644
--- a/libnetfs/fsys-syncfs.c
+++ b/libnetfs/fsys-syncfs.c
@@ -36,7 +36,7 @@ helper (void *cookie, const char *name, mach_port_t control)
return 0;
}
-error_t
+kern_return_t
netfs_S_fsys_syncfs (struct netfs_control *cntl,
mach_port_t reply,
mach_msg_type_name_t reply_type,
diff --git a/libnetfs/fsysstubs.c b/libnetfs/fsysstubs.c
index 4fbd4756..8dd01f0a 100644
--- a/libnetfs/fsysstubs.c
+++ b/libnetfs/fsysstubs.c
@@ -22,7 +22,7 @@
#include "netfs.h"
#include "fsys_S.h"
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_fsys_getfile (struct netfs_control *cntl,
mach_port_t reply,
mach_msg_type_name_t reply_type,
@@ -34,7 +34,7 @@ netfs_S_fsys_getfile (struct netfs_control *cntl,
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_fsys_getpriv (struct netfs_control *cntl,
mach_port_t reply,
mach_msg_type_name_t reply_type,
@@ -45,7 +45,7 @@ netfs_S_fsys_getpriv (struct netfs_control *cntl,
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_fsys_init (struct netfs_control *cntl,
mach_port_t reply,
mach_msg_type_name_t reply_type,
@@ -54,7 +54,7 @@ netfs_S_fsys_init (struct netfs_control *cntl,
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_fsys_forward (mach_port_t cntl,
mach_port_t reply,
mach_msg_type_name_t reply_type,
@@ -64,7 +64,7 @@ netfs_S_fsys_forward (mach_port_t cntl,
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_fsys_startup (mach_port_t bootstrap,
mach_port_t reply,
mach_msg_type_name_t reply_type,
diff --git a/libnetfs/io-async.c b/libnetfs/io-async.c
index 10504adb..2ed68d87 100644
--- a/libnetfs/io-async.c
+++ b/libnetfs/io-async.c
@@ -22,7 +22,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_async (struct protid *user, mach_port_t notify, mach_port_t *id,
mach_msg_type_name_t *idt)
{
diff --git a/libnetfs/io-clear-some-openmodes.c b/libnetfs/io-clear-some-openmodes.c
index 1da5e476..ea6c770f 100644
--- a/libnetfs/io-clear-some-openmodes.c
+++ b/libnetfs/io-clear-some-openmodes.c
@@ -22,7 +22,7 @@
#include "io_S.h"
#include "modes.h"
-error_t
+kern_return_t
netfs_S_io_clear_some_openmodes (struct protid *user, int bits)
{
if (!user)
diff --git a/libnetfs/io-duplicate.c b/libnetfs/io-duplicate.c
index 263f9e81..e6ac7a11 100644
--- a/libnetfs/io-duplicate.c
+++ b/libnetfs/io-duplicate.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_duplicate (struct protid *user,
mach_port_t *newport,
mach_msg_type_name_t *newporttp)
diff --git a/libnetfs/io-get-icky-async-id.c b/libnetfs/io-get-icky-async-id.c
index 23dac534..81e0063f 100644
--- a/libnetfs/io-get-icky-async-id.c
+++ b/libnetfs/io-get-icky-async-id.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_get_icky_async_id (struct protid *user, mach_port_t *pt,
mach_msg_type_name_t *ptt)
{
diff --git a/libnetfs/io-get-openmodes.c b/libnetfs/io-get-openmodes.c
index 698c2937..c9544117 100644
--- a/libnetfs/io-get-openmodes.c
+++ b/libnetfs/io-get-openmodes.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_get_openmodes (struct protid *user, int *bits)
{
if (!user)
diff --git a/libnetfs/io-get-owner.c b/libnetfs/io-get-owner.c
index 9bbf41de..5e501bdb 100644
--- a/libnetfs/io-get-owner.c
+++ b/libnetfs/io-get-owner.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_get_owner (struct protid *user, pid_t *owner)
{
if (!user)
diff --git a/libnetfs/io-identity.c b/libnetfs/io-identity.c
index 0c6a191c..5cea19c7 100644
--- a/libnetfs/io-identity.c
+++ b/libnetfs/io-identity.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_identity (struct protid *cred,
mach_port_t *id,
mach_msg_type_name_t *idtype,
diff --git a/libnetfs/io-mod-owner.c b/libnetfs/io-mod-owner.c
index 91cbdb03..d8ca45c6 100644
--- a/libnetfs/io-mod-owner.c
+++ b/libnetfs/io-mod-owner.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_mod_owner (struct protid *user, pid_t owner)
{
if (!user)
diff --git a/libnetfs/io-pathconf.c b/libnetfs/io-pathconf.c
index 0791243e..38b4557f 100644
--- a/libnetfs/io-pathconf.c
+++ b/libnetfs/io-pathconf.c
@@ -23,7 +23,7 @@
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_pathconf (struct protid *user,
int name,
int *value)
diff --git a/libnetfs/io-read.c b/libnetfs/io-read.c
index 2ee49c5d..96b003b3 100644
--- a/libnetfs/io-read.c
+++ b/libnetfs/io-read.c
@@ -23,7 +23,7 @@
#include <fcntl.h>
#include <sys/mman.h>
-error_t
+kern_return_t
netfs_S_io_read (struct protid *user,
data_t *data,
mach_msg_type_number_t *datalen,
diff --git a/libnetfs/io-readable.c b/libnetfs/io-readable.c
index 7c365484..6c98c50e 100644
--- a/libnetfs/io-readable.c
+++ b/libnetfs/io-readable.c
@@ -23,7 +23,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_readable (struct protid *user,
vm_size_t *amount)
{
diff --git a/libnetfs/io-reauthenticate.c b/libnetfs/io-reauthenticate.c
index 4351545b..763a441f 100644
--- a/libnetfs/io-reauthenticate.c
+++ b/libnetfs/io-reauthenticate.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_reauthenticate (struct protid *user, mach_port_t rend_port)
{
error_t err;
diff --git a/libnetfs/io-restrict-auth.c b/libnetfs/io-restrict-auth.c
index 4ee77356..7748b3ef 100644
--- a/libnetfs/io-restrict-auth.c
+++ b/libnetfs/io-restrict-auth.c
@@ -21,7 +21,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_restrict_auth (struct protid *user,
mach_port_t *newport,
mach_msg_type_name_t *newporttype,
diff --git a/libnetfs/io-seek.c b/libnetfs/io-seek.c
index 1dc7d322..49236fa5 100644
--- a/libnetfs/io-seek.c
+++ b/libnetfs/io-seek.c
@@ -22,7 +22,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t
+kern_return_t
netfs_S_io_seek (struct protid *user,
off_t offset,
int whence,
diff --git a/libnetfs/io-select.c b/libnetfs/io-select.c
index 63036145..cc7fdb2a 100644
--- a/libnetfs/io-select.c
+++ b/libnetfs/io-select.c
@@ -22,7 +22,7 @@
#include "io_S.h"
#include <hurd/ports.h>
-error_t
+kern_return_t
netfs_S_io_select (struct protid *user,
mach_port_t reply,
mach_msg_type_name_t replytype,
@@ -35,7 +35,7 @@ netfs_S_io_select (struct protid *user,
return 0;
}
-error_t
+kern_return_t
netfs_S_io_select_timeout (struct protid *user,
mach_port_t reply,
mach_msg_type_name_t replytype,
diff --git a/libnetfs/io-set-all-openmodes.c b/libnetfs/io-set-all-openmodes.c
index 2424282e..8f5a534a 100644
--- a/libnetfs/io-set-all-openmodes.c
+++ b/libnetfs/io-set-all-openmodes.c
@@ -22,7 +22,7 @@
#include "io_S.h"
#include "modes.h"
-error_t
+kern_return_t
netfs_S_io_set_all_openmodes (struct protid *user, int newbits)
{
if (!user)
diff --git a/libnetfs/io-set-some-openmodes.c b/libnetfs/io-set-some-openmodes.c
index 48fbeed6..d0f0d502 100644
--- a/libnetfs/io-set-some-openmodes.c
+++ b/libnetfs/io-set-some-openmodes.c
@@ -22,7 +22,7 @@
#include "io_S.h"
#include "modes.h"
-error_t
+kern_return_t
netfs_S_io_set_some_openmodes (struct protid *user, int bits)
{
if (!user)
diff --git a/libnetfs/io-stat.c b/libnetfs/io-stat.c
index 81e42bdb..79ec3dc6 100644
--- a/libnetfs/io-stat.c
+++ b/libnetfs/io-stat.c
@@ -22,7 +22,7 @@
#include "io_S.h"
#include <string.h>
-error_t
+kern_return_t
netfs_S_io_stat (struct protid *user, io_statbuf_t *statbuf)
{
error_t err;
diff --git a/libnetfs/io-write.c b/libnetfs/io-write.c
index 2306d1f0..132b255e 100644
--- a/libnetfs/io-write.c
+++ b/libnetfs/io-write.c
@@ -22,7 +22,7 @@
#include "io_S.h"
#include <fcntl.h>
-error_t
+kern_return_t
netfs_S_io_write (struct protid *user,
const_data_t data,
mach_msg_type_number_t datalen,
diff --git a/libnetfs/iostubs.c b/libnetfs/iostubs.c
index df48f8b7..09d80774 100644
--- a/libnetfs/iostubs.c
+++ b/libnetfs/iostubs.c
@@ -22,7 +22,7 @@
#include "netfs.h"
#include "io_S.h"
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_map (struct protid *user,
mach_port_t *rdobj, mach_msg_type_name_t *rdobjtype,
mach_port_t *wrobj, mach_msg_type_name_t *wrobjtype)
@@ -70,7 +70,7 @@ error:
return errno;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_map_cntl (struct protid *user,
mach_port_t *obj,
mach_msg_type_name_t *objtype)
@@ -78,51 +78,51 @@ netfs_S_io_map_cntl (struct protid *user,
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_get_conch (struct protid *user)
{
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_release_conch (struct protid *user)
{
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_eofnotify (struct protid *user)
{
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_prenotify (struct protid *user,
vm_offset_t start, vm_offset_t stop)
{
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_postnotify (struct protid *user,
vm_offset_t start, vm_offset_t stop)
{
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_readnotify (struct protid *user)
{
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_readsleep (struct protid *user)
{
return EOPNOTSUPP;
}
-error_t __attribute__((weak))
+kern_return_t __attribute__((weak))
netfs_S_io_sigio (struct protid *user)
{
return EOPNOTSUPP;