[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 14/20: Fix creating named sockets inside fakeroot-hurd
From: |
Samuel Thibault |
Subject: |
[hurd] 14/20: Fix creating named sockets inside fakeroot-hurd |
Date: |
Sat, 23 May 2015 05:09:42 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 09964a022f1c1e969d8258c7a38879b0fa983402
Author: Svante Signell <address@hidden>
Date: Thu May 14 01:36:15 2015 +0200
Fix creating named sockets inside fakeroot-hurd
* trans/fakeroot.c (netfs_set_translator): New function.
---
trans/fakeroot.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index a223bc4..671314f 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -428,6 +428,20 @@ netfs_S_dir_lookup (struct protid *diruser,
return err;
}
+/* The user may define this function. Attempt to set the passive
+ translator record for FILE to ARGZ (of length ARGZLEN) for user
+ CRED. */
+error_t
+netfs_set_translator (struct iouser *cred, struct node *np,
+ char *argz, size_t argzlen)
+{
+ return file_set_translator (netfs_node_netnode (np)->file,
+ FS_TRANS_EXCL|FS_TRANS_SET,
+ FS_TRANS_EXCL|FS_TRANS_SET, 0,
+ argz, argzlen,
+ MACH_PORT_NULL, MACH_MSG_TYPE_COPY_SEND);
+}
+
/* These callbacks are used only by the standard netfs_S_dir_lookup,
which we do not use. But the shared library requires us to define them. */
error_t
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (b69862c -> eef94c4), Samuel Thibault, 2015/05/23
- [hurd] 06/20: libdiskfs: make struct node more compact, Samuel Thibault, 2015/05/23
- [hurd] 07/20: libdiskfs: drop unused fields from struct node, Samuel Thibault, 2015/05/23
- [hurd] 08/20: libdiskfs: fix node initialization, Samuel Thibault, 2015/05/23
- [hurd] 14/20: Fix creating named sockets inside fakeroot-hurd,
Samuel Thibault <=
- [hurd] 09/20: libdiskfs: declare all inline functions as `extern inline', Samuel Thibault, 2015/05/23
- [hurd] 20/20: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2015/05/23
- [hurd] 18/20: Make comment clearer, Samuel Thibault, 2015/05/23
- [hurd] 19/20: fakeroot: Fix reopening files after a chmod, Samuel Thibault, 2015/05/23
- [hurd] 16/20: fatfs: fix error handling, Samuel Thibault, 2015/05/23
- [hurd] 15/20: libdiskfs: fix renaming of directories, Samuel Thibault, 2015/05/23
- [hurd] 17/20: Make sure to record only RWX open modes, Samuel Thibault, 2015/05/23
- [hurd] 01/20: ext2fs: use a seperate lock to protect nodehash, Samuel Thibault, 2015/05/23
- [hurd] 04/20: tmpfs: use a seperate lock to protect all_nodes, Samuel Thibault, 2015/05/23
- [hurd] 03/20: isofs: use a seperate lock to protect node_cache, Samuel Thibault, 2015/05/23