diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/building.mdwn | 5 | ||||
-rw-r--r-- | hurd/interface/exec_startup_get_info.mdwn | 23 | ||||
-rw-r--r-- | hurd/translator/procfs/jkoenig/discussion.mdwn | 37 |
3 files changed, 56 insertions, 9 deletions
diff --git a/hurd/building.mdwn b/hurd/building.mdwn index ae3fe43c..39c9a040 100644 --- a/hurd/building.mdwn +++ b/hurd/building.mdwn @@ -57,9 +57,10 @@ Change into the directory with the downloaded / unpacked Hurd sources, e.g. $ cd hurd-VERSION If you want to work on the sources before building them, it's advisable to -first apply the patches the Debian hurd package additionally contains: +first make sure that patches that the Debian hurd package additionally contains +are applied: - $ debian/rules patch + $ dh_quilt_patch Then edit and change whatever files you want and finally start the build process with diff --git a/hurd/interface/exec_startup_get_info.mdwn b/hurd/interface/exec_startup_get_info.mdwn new file mode 100644 index 00000000..a927232f --- /dev/null +++ b/hurd/interface/exec_startup_get_info.mdwn @@ -0,0 +1,23 @@ +[[!meta copyright="Copyright © 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2010, 2011, 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 +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]]."]]"""]] + +This call is made by a new task to its bootstrap port to get its startup ports +and information. + +Implemented regularely by the [[hurd/translator/exec]] server +(`exec/exec.c`:`S_exec_startup_get_info`), and also [[hurd/translator]]s based +on [[hurd/libdiskfs]] +(`libdiskfs/boot-start.c`:`diskfs_S_exec_startup_get_info`) because these *look +like an execserver to the execserver itself; it makes this call (as does any +task) to get its state*. + +Used solely in [[glibc's process startup|glibc/process]] +(`hurd/hurdstartup.c`:`_hurd_startup`). diff --git a/hurd/translator/procfs/jkoenig/discussion.mdwn b/hurd/translator/procfs/jkoenig/discussion.mdwn index 2ba98150..197461b8 100644 --- a/hurd/translator/procfs/jkoenig/discussion.mdwn +++ b/hurd/translator/procfs/jkoenig/discussion.mdwn @@ -153,7 +153,7 @@ License|/fdl]]."]]"""]] # root group -IRC, #hurd, around October 2010 +## IRC, freenode, #hurd, around October 2010 <pinotree> the only glitch is that files/dirs have the right user as owner, but always with root group @@ -161,7 +161,7 @@ IRC, #hurd, around October 2010 # `/proc/[PID]/stat` being 400 and not 444, and some more -IRC, freenode, #hurd, 2011-03-27 +## IRC, freenode, #hurd, 2011-03-27 <pochu> is there a reason for /proc/$pid/stat to be 400 and not 444 like on Linux? @@ -206,7 +206,8 @@ IRC, freenode, #hurd, 2011-03-27 /proc uses rather than rely on CLK_TCK <jkoenig> (so we can choose whatever reasonable value we want) -IRC, freenode, #hurd, 2011-03-28 + +## IRC, freenode, #hurd, 2011-03-28 <antrik> jkoenig: does procfs expose any information that is not available to everyone through the proc server?... @@ -259,7 +260,8 @@ IRC, freenode, #hurd, 2011-03-28 <antrik> (though I never got around to look at his buggy code...) <jkoenig> ok -IRC, freenode, #hurd, 2011-07-22 + +## IRC, freenode, #hurd, 2011-07-22 <pinotree> hm, why /proc/$pid/stat is 600 instead of 644 of linux? <jkoenig> pinotree, it reveals information which, while not that sensitive, @@ -280,7 +282,7 @@ IRC, freenode, #hurd, 2011-07-22 # `/proc/mounts`, `/proc/[PID]/mounts` -IRC, freenode, #hurd, 2011-07-25 +## IRC, freenode, #hurd, 2011-07-25 < pinotree> jkoenig: btw, what do you think about providing empty /proc/mounts and /proc/$pid/mounts files? @@ -303,16 +305,24 @@ IRC, freenode, #hurd, 2011-07-25 See also [[community/gsoc/project_ideas/mtab]]. -# `/proc/[PID]/auxv`, `/proc/[PID]/exe`, `/proc/[PID]/mem` +# `/proc/[PID]/auxv` + +Needed by glibc's `pldd` tool (commit +11988f8f9656042c3dfd9002ac85dff33173b9bd). + + +# `/proc/[PID]/exe` Needed by glibc's `pldd` tool (commit 11988f8f9656042c3dfd9002ac85dff33173b9bd). -# `/proc/self/exe` +## `/proc/self/exe` [[!message-id "alpine.LFD.2.02.1110111111260.2016@akari"]]. Needed by glibc's `stdlib/tst-secure-getenv.c`. +`HAVE_PROC_SELF_EXE` in `[GCC]/libjava/configure.ac`. +Also used in `[GCC]/libgfortran/runtime/main.c`:`store_exe_path`. Is it generally possible to use something like the following instead? Disadvantage is that every program using this needs to be patched. @@ -410,6 +420,19 @@ This is used in `[LLVM]/lib/Support/Unix/Path.inc`. report why the test suite failed +## `/proc/self/maps` + +`HAVE_PROC_SELF_MAPS` in `[GCC]/libjava/configure.ac`. +Also used in `[GCC]/intl/relocatable.c`:`find_shared_library_fullname` for +`#ifdef __linux__`. + + +# `/proc/[PID]/mem` + +Needed by glibc's `pldd` tool (commit +11988f8f9656042c3dfd9002ac85dff33173b9bd). + + # `/proc/[PID]/cwd` ## IRC, freenode, #hurd, 2012-06-30 |