summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/gsoc/project_ideas/valgrind.mdwn6
-rw-r--r--community/meetings.mdwn4
-rw-r--r--community/meetings/fosdem_2013.mdwn3
-rw-r--r--community/meetings/fosdem_2014.mdwn14
-rw-r--r--contributing.mdwn6
-rw-r--r--hurd/interface/fsys/02.mdwn6
-rw-r--r--hurd/ng.mdwn6
-rw-r--r--hurd/running/chroot.mdwn13
-rw-r--r--hurd/translator/mtab/discussion.mdwn3
-rw-r--r--hurd/translator/procfs/jkoenig/discussion.mdwn4
-rw-r--r--hurd/translator/short-circuiting.mdwn6
-rw-r--r--microkernel/mach/history.mdwn2
-rw-r--r--open_issues/Upstart.mdwn61
-rw-r--r--open_issues/hurd_file_name_lookup_retry_FS_RETRY_MAGIC.mdwn8
-rw-r--r--open_issues/pflocal_reauth.mdwn5
-rw-r--r--open_issues/systemd.mdwn4
-rw-r--r--open_issues/virtualization/remap_root_translator.mdwn3
17 files changed, 122 insertions, 32 deletions
diff --git a/community/gsoc/project_ideas/valgrind.mdwn b/community/gsoc/project_ideas/valgrind.mdwn
index 6663eec2..37da7385 100644
--- a/community/gsoc/project_ideas/valgrind.mdwn
+++ b/community/gsoc/project_ideas/valgrind.mdwn
@@ -1,5 +1,5 @@
-[[!meta copyright="Copyright © 2009, 2010, 2011, 2013 Free Software Foundation,
-Inc."]]
+[[!meta copyright="Copyright © 2009, 2010, 2011, 2013, 2014 Free Software
+Foundation, Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -67,7 +67,7 @@ The goal of this task is at minimum to make Valgrind grok Mach traps,
and to implement the generic RPC handler.
Ideally, specific handling for RPCs needing it should also be implemented.
-Completing this project will require digging into Valgrind's handling of [[system call]]s,
+Completing this project will require digging into Valgrind's handling of [[system call]]s (in C),
and into Hurd RPCs.
It is not an easy task, but a fairly predictable one --
there shouldn't be any unexpected difficulties,
diff --git a/community/meetings.mdwn b/community/meetings.mdwn
index 1d8199ad..bb90a2ab 100644
--- a/community/meetings.mdwn
+++ b/community/meetings.mdwn
@@ -1,5 +1,5 @@
-[[!meta copyright="Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free
-Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
+Free Software Foundation, Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
diff --git a/community/meetings/fosdem_2013.mdwn b/community/meetings/fosdem_2013.mdwn
index 0ac36838..2d55e76b 100644
--- a/community/meetings/fosdem_2013.mdwn
+++ b/community/meetings/fosdem_2013.mdwn
@@ -1,4 +1,5 @@
-[[!meta copyright="Copyright © 2012, 2013 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2012, 2013, 2014 Free Software Foundation,
+Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
diff --git a/community/meetings/fosdem_2014.mdwn b/community/meetings/fosdem_2014.mdwn
index 1379968e..655c8e2e 100644
--- a/community/meetings/fosdem_2014.mdwn
+++ b/community/meetings/fosdem_2014.mdwn
@@ -1,4 +1,5 @@
-[[!meta copyright="Copyright © 2012, 2013 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2012, 2013, 2014 Free Software Foundation,
+Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -20,10 +21,19 @@ Bruxelles.
[[!table class="table_style_1" data="""
"Name","Attending","Arrival","Return"
+"Samuel Thibault","yes","Saturday morning","Sunday evening"
+"Thomas Schwinge","yes","Friday, 16:20, BRU","Sunday, 20:15, BRU"
"""]]
-# Devroom: Microkernel and component-based operating systems
+# Microkernel-based operating systems devroom
[[!message-id desc="Announcement and CfP"
"5255453A.70302@os.inf.tu-dresden.de"]].
+
+<https://fosdem.org/2014/schedule/track/microkernel_based_operating_systems/>
+
+
+## GNU/Hurd DDE userland device drivers (Samuel Thibault)
+
+<https://fosdem.org/2014/schedule/event/07_uk_dde_on_hurd/>
diff --git a/contributing.mdwn b/contributing.mdwn
index 95bf2441..44244072 100644
--- a/contributing.mdwn
+++ b/contributing.mdwn
@@ -112,8 +112,10 @@ basic port could be small.
* Use libz and libbz2 in libstore. See `hurd/libstore/unzip.c` etc., they should be replaced by mere calls to libraries, [[!GNU_Savannah_task 6990]]
See also the discussions on [[open_issues/exec]].
* Add `/proc/$pid/maps`. `vminfo` already has this kind of information, it's a matter of making procfs do the same. [[!GNU_Savannah_bug 32770]]
-* Move the mount/umount logic from utils/{,u}mount.c into libshouldbeinlibc.
-* Fix /proc/self. Look at the file hurd/lookup-retry.c in the glibc source code for how FS_RETRY_MAGICAL lookups work.
+* Move the mount/umount logic from `utils/{,u}mount.c` into [[hurd/libshouldbeinlibc]].
+* Fix [[`/proc/self`|hurd/translator/procfs/jkoenig/discussion#self]].
+Look at `[glibc]/hurd/lookup-retry.c` for how [`FS_RETRY_MAGICAL`
+lookups|hurd/interface/dir_lookup]] work.
<a name="porting"></a>
## Porting Packages
diff --git a/hurd/interface/fsys/02.mdwn b/hurd/interface/fsys/02.mdwn
index 63b84c48..e5223e38 100644
--- a/hurd/interface/fsys/02.mdwn
+++ b/hurd/interface/fsys/02.mdwn
@@ -1,5 +1,5 @@
-[[!meta copyright="Copyright © 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2009
-Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2009,
+2014 Free Software Foundation, Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -29,5 +29,5 @@ Return a file to the root of the filesystem. `flags` are as for
[[`dir_lookup`|dir_lookup]] (but `O_CREAT` and `O_EXCL` are not meaningful).
`do_retry`, `retry_name`, and `result` are as for [[`dir_lookup`|dir_lookup]].
The port should be authenticated with `gen_uids` and `gen_gids` (except, of
-course, for `FS_RETRY_REAUTH` and `FS_RETRY_MAGICAL). `dotdot_node` is an
+course, for `FS_RETRY_REAUTH` and `FS_RETRY_MAGICAL`). `dotdot_node` is an
unauthenticated port for the directory in which this root is located.
diff --git a/hurd/ng.mdwn b/hurd/ng.mdwn
index fbebb137..d9287c3d 100644
--- a/hurd/ng.mdwn
+++ b/hurd/ng.mdwn
@@ -82,9 +82,9 @@ _please move me somewhere better! [[SamMason]]_
Summaries should obey the following structure:
* if there is a consensus, it is clearly described
-* if controversial points remain, there are also described after the consenus
-* if no choice has been clearly made, all valid positions are descrbied
-* withdrawed and invalid positions (prooved wrong, unrealistic, contradictory
+* if controversial points remain, there are also described after the consensus
+* if no choice has been clearly made, all valid positions are described
+* withdrawn and invalid positions (proved wrong, unrealistic, contradictory
to some design principle, etc.) should be described only very briefly, and
developed in a separate article
diff --git a/hurd/running/chroot.mdwn b/hurd/running/chroot.mdwn
index 29b00a8f..38bab04e 100644
--- a/hurd/running/chroot.mdwn
+++ b/hurd/running/chroot.mdwn
@@ -1,4 +1,4 @@
-[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2012, 2013 Free Software Foundation, Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -41,14 +41,7 @@ socket creation
will actually happen in the root filesystem. To make things work correctly the
programs inside the chroot need to be able to access them:
- # settrans chroot/servers/socket/1 /hurd/firmlink /servers/socket/1
+ # settrans -kp chroot/servers /hurd/firmlink /servers
+ # settrans -kp chroot/dev /hurd/firmlink /dev
# settrans chroot/tmp /hurd/firmlink /tmp
# settrans -c chroot/var/lib/dbus /hurd/firmlink /var/lib/dbus
-
-## Network
-
-Unless using a separate IP for the chroot, it is preferrable to share the
-[[translator/pfinet]] translator:
-
- # settrans chroot/servers/socket/2 /hurd/firmlink /servers/socket/2
- # settrans chroot/servers/socket/26 /hurd/firmlink /servers/socket/26
diff --git a/hurd/translator/mtab/discussion.mdwn b/hurd/translator/mtab/discussion.mdwn
index d663d4c5..6bb446a0 100644
--- a/hurd/translator/mtab/discussion.mdwn
+++ b/hurd/translator/mtab/discussion.mdwn
@@ -1964,6 +1964,9 @@ In context of [[open_issues/mig_portable_rpc_declarations]].
<teythoon> right, so now at last I got the whole question :)
<braunr> :)
<teythoon> ugh, I just found the FS_RETRY_MAGICAL handler in the libc :-/
+
+[[interface/dir_lookup]].
+
<braunr> ?
<braunr> why "ugh" ?
<teythoon> well, I'm inclined to think this is the bad kind of magic ;)
diff --git a/hurd/translator/procfs/jkoenig/discussion.mdwn b/hurd/translator/procfs/jkoenig/discussion.mdwn
index 54de54c2..628cb396 100644
--- a/hurd/translator/procfs/jkoenig/discussion.mdwn
+++ b/hurd/translator/procfs/jkoenig/discussion.mdwn
@@ -125,7 +125,9 @@ License|/fdl]]."]]"""]]
<braunr> but when they do, they do
+<a name="self">
# `/proc/self`
+</a>
## IRC, freenode, #hurd, around 2010-09
@@ -151,6 +153,8 @@ License|/fdl]]."]]"""]]
<antrik> in either case, it can't hurt to bring this up again :-)
[[mtab/discussion]], *IRC, freenode, #hurd, 2013-09-07*.
+Look at `[glibc]/hurd/lookup-retry.c` for how [[`FS_RETRY_MAGICAL`
+lookups|interface/dir_lookup]] work.
# root group
diff --git a/hurd/translator/short-circuiting.mdwn b/hurd/translator/short-circuiting.mdwn
index 6f608fb2..438e8d80 100644
--- a/hurd/translator/short-circuiting.mdwn
+++ b/hurd/translator/short-circuiting.mdwn
@@ -1,4 +1,5 @@
-[[!meta copyright="Copyright © 2009, 2012 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2009, 2012, 2014 Free Software Foundation,
+Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -42,7 +43,8 @@ as translators at all.
Translator short-circuiting is when a file system server implements the
functionality of a passive translator itself, instead of actually starting
it. For instance, all the [[`symlink`|symlink]] translator does is return
-a `FS_RETRY_*` reply to the caller. So instead of starting it, the file
+a [[`FS_RETRY_*`|interface/dir_lookup]] reply to the caller.
+So instead of starting it, the file
system server can simply continue the file name look-up internally by
appending the target of the symbolic link to the path being looked-up.
diff --git a/microkernel/mach/history.mdwn b/microkernel/mach/history.mdwn
index ce455627..62bd3e34 100644
--- a/microkernel/mach/history.mdwn
+++ b/microkernel/mach/history.mdwn
@@ -72,7 +72,7 @@ IRC, freenode, #hurd, 2012-08-29:
could be https://ssl.apple.com/science/profiles/cornell
<pavlx> the old one was
http://www.apple.com/macosx/technologies/darwin.html
- <pavlx> the link to Darwin is changed i suppose that the nw one it's
+ <pavlx> the link to Darwin is changed i suppose that the new one it's
https://ssl.apple.com/science/profiles/cornell
<pavlx> and the link to Kern Programming it's
https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KernelProgramming/About/About.html
diff --git a/open_issues/Upstart.mdwn b/open_issues/Upstart.mdwn
new file mode 100644
index 00000000..c8a8347d
--- /dev/null
+++ b/open_issues/Upstart.mdwn
@@ -0,0 +1,61 @@
+[[!meta copyright="Copyright © 2013, 2014 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+Upstart is an event based init system that is GPL licensed, however upstream
+contributions are under a CLA that permits proprietary relicensing.
+
+As of Jan 2 2013, Debian is considering adopting Upstart as an init system on
+GNU/Linux, and on GNU/kFreeBSD when the port to kFreeBSD is finished.
+
+The following are the words of Colin Watson on the debian-ctte@lists.debian.org
+mailing list and list the requirements of a potential HURD port:
+
+>I haven't looked at this in much detail, and I suspect Dimitri hasn't
+yet although IIRC he did express some interest in doing so. But I
+haven't seen anyone else try to outline the scope of a port, so let me
+try to do so for the sake of general understanding. As far as I know,
+the hardest parts would be inotify, ptrace, and prctl
+(PR_SET_CHILD_SUBREAPER).
+
+>inotify is used to notice changes to configuration files. This is
+certainly helpful for users, but it isn't critical as "initctl
+reload-configuration" works without it. We could probably do without
+this with the aid of a dpkg trigger.
+
+>ptrace is used for "expect fork" and "expect daemon"; as I indicated in
+another post, I think it would be preferable to avoid these in Debian
+and quite possibly to compile them out. (This would mean we wouldn't be
+able to translate Ubuntu jobs quite as directly, and a number of
+important jobs would definitely need to be changed, but the conversion
+isn't usually particularly difficult.)
+
+>prctl (PR_SET_CHILD_SUBREAPER) is used to make SIGCHLD notification work
+properly when Upstart is supervising a user session. This isn't a
+required feature and could easily be compiled out until suitable kernel
+support is available (this actually seems like the sort of thing that
+could be done in the Hurd without too much difficulty, but I haven't
+looked into it). If absent, it might well impede the ability to do an
+advanced desktop port, but it wouldn't get in the way of porting the
+bulk of services.
+
+>There might also be odds and ends around the details of wait status
+handling.
+
+inotify seems to be a feature that is often used in GNU/Linux programs, and
+implementing the feature in the HURD seems like a better and more rewarding
+option than porting the code in Upstart.
+
+Although many daemons double fork, that behavior seems to be dying out, and
+one can comfortably ignore the "expect fork/daemon" functionality of Upstart
+(and compile it out).
+
+[[!tag open_issue_porting]]
+
+See also the discussion about upstart on the [[systemd]] page.
diff --git a/open_issues/hurd_file_name_lookup_retry_FS_RETRY_MAGIC.mdwn b/open_issues/hurd_file_name_lookup_retry_FS_RETRY_MAGIC.mdwn
index c38d029e..ba2f5865 100644
--- a/open_issues/hurd_file_name_lookup_retry_FS_RETRY_MAGIC.mdwn
+++ b/open_issues/hurd_file_name_lookup_retry_FS_RETRY_MAGIC.mdwn
@@ -1,4 +1,4 @@
-[[!meta copyright="Copyright © 2009, 2010, 2013 Free Software Foundation,
+[[!meta copyright="Copyright © 2009, 2010, 2013, 2014 Free Software Foundation,
Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
@@ -9,13 +9,17 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]
+[[!meta title="hurd_file_name_lookup_retry: FS_RETRY_MAGICAL"]]
+
[[!tag open_issue_glibc open_issue_hurd]]
# IRC, freenode, #hurd, 2009-08-25
+[[hurd/interface/dir_lookup]].
+
<cfhammar> also I fixed (what I think is) a bug in
- hurd_file_name_lookup_retry when opening FDs with FS_RETRY_MAGIC
+ hurd_file_name_lookup_retry when opening FDs with FS_RETRY_MAGICAL
<cfhammar> it didn't actually reopen the FD, rather it just (effectively)
duped it
<scolobb> cfhammar: That's great! I think I had some problems because of
diff --git a/open_issues/pflocal_reauth.mdwn b/open_issues/pflocal_reauth.mdwn
index 839e383d..a575783e 100644
--- a/open_issues/pflocal_reauth.mdwn
+++ b/open_issues/pflocal_reauth.mdwn
@@ -1,4 +1,4 @@
-[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2011, 2014 Free Software Foundation, Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -21,6 +21,9 @@ IRC, freenode, #hurd, 2011-04-02
<youpi> to make glibc call reauthentication
<pinotree> pflocal?
<youpi> yes, in the dir_lookup handler
+
+[[hurd/interface/dir_lookup]].
+
<pinotree> isn't that ext2fs?
<youpi> libtrivfs had dir_lookup() too
<youpi> trivfs_check_open_hook can be used to tweak its behavior
diff --git a/open_issues/systemd.mdwn b/open_issues/systemd.mdwn
index ca910491..d2506046 100644
--- a/open_issues/systemd.mdwn
+++ b/open_issues/systemd.mdwn
@@ -29,6 +29,10 @@ Likely there's also some other porting needed.
# Discussion
+This also captures discussion about other init systems, not only systemd. Also
+note the additional [[upstart]] page.
+
+
## IRC, OFTC, #debian-hurd, 2011-05-19
<pinotree> pochu: http://news.gmane.org/gmane.comp.gnome.desktop - the
diff --git a/open_issues/virtualization/remap_root_translator.mdwn b/open_issues/virtualization/remap_root_translator.mdwn
index acbb3147..757d15be 100644
--- a/open_issues/virtualization/remap_root_translator.mdwn
+++ b/open_issues/virtualization/remap_root_translator.mdwn
@@ -105,6 +105,9 @@ License|/fdl]]."]]"""]]
"bin/bash"; in
<youpi> netfs_S_dir_lookup
<youpi> and it just works
+
+[[hurd/interface/dir_lookup]].
+
<youpi> ok, remap does indeed take my own pfinet
<youpi> good :)
<youpi> pfinet's tun seems to be working too