[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 21/43: startup: Fix retrieving the privileged ports.
From: |
Samuel Thibault |
Subject: |
[hurd] 21/43: startup: Fix retrieving the privileged ports. |
Date: |
Mon, 11 Sep 2017 07:10:10 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit e2823ba8f994292ecb92b83dfa3174e6f11c92fd
Author: Justus Winter <address@hidden>
Date: Fri Aug 11 18:07:25 2017 +0200
startup: Fix retrieving the privileged ports.
* startup/startup.c: Give the privileged ports to the glibc so that
other code can get them.
---
startup/startup.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/startup/startup.c b/startup/startup.c
index 5c46c0f..c76c830 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -117,8 +117,10 @@ static struct ntfy_task *ntfy_tasks;
/* Our receive right */
static mach_port_t startup;
-/* Ports to the kernel */
-static mach_port_t host_priv, device_master;
+/* Ports to the kernel. We use alias to the internal glibc locations
+ so that other code can get them using get_privileged_ports. */
+#define host_priv _hurd_host_priv
+#define device_master _hurd_device_master
/* Args to bootstrap, expressed as flags */
static int bootstrap_args = 0;
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 19/43: libdiskfs: Make mapping the time device more robust., (continued)
- [hurd] 19/43: libdiskfs: Make mapping the time device more robust., Samuel Thibault, 2017/09/11
- [hurd] 01/43: procfs: Remove superfluous calls., Samuel Thibault, 2017/09/11
- [hurd] 13/43: Fix harmless indentation errors tripping [-Wmisleading-indentation]., Samuel Thibault, 2017/09/11
- [hurd] 22/43: libshouldbeinlibc: Fix wiring code., Samuel Thibault, 2017/09/11
- [hurd] 27/43: eth-multiplexer: Generalize function and improve error handling., Samuel Thibault, 2017/09/11
- [hurd] 32/43: eth-multiplexer: Fix type check., Samuel Thibault, 2017/09/11
- [hurd] 38/43: trans/mtab: Fix warnings., Samuel Thibault, 2017/09/11
- [hurd] 41/43: exec: Avoid calling mmap with zero size, Samuel Thibault, 2017/09/11
- [hurd] 24/43: eth-multiplexer: Fix error handling., Samuel Thibault, 2017/09/11
- [hurd] 12/43: Fix typo., Samuel Thibault, 2017/09/11
- [hurd] 21/43: startup: Fix retrieving the privileged ports.,
Samuel Thibault <=
- [hurd] 25/43: eth-multiplexer: Implement getting the devices flags., Samuel Thibault, 2017/09/11
- [hurd] 20/43: ext2fs: Fix warning., Samuel Thibault, 2017/09/11
- [hurd] 18/43: Make build system more robust., Samuel Thibault, 2017/09/11
- [hurd] 14/43: procfs: Provide 'hostinfo'., Samuel Thibault, 2017/09/11
- [hurd] 23/43: startup: Improve error handling., Samuel Thibault, 2017/09/11
- [hurd] 28/43: eth-multiplexer: Allow setting of flags., Samuel Thibault, 2017/09/11
- [hurd] 33/43: libdiskfs: Use control class for the singleton 'bootinfo'., Samuel Thibault, 2017/09/11
- [hurd] 31/43: ext2fs: Improve inlining., Samuel Thibault, 2017/09/11
- [hurd] 08/43: trans/fakeroot: Obey O_NOFOLLOW., Samuel Thibault, 2017/09/11
- [hurd] 35/43: libnetfs: Remove redundant type checks., Samuel Thibault, 2017/09/11