aboutsummaryrefslogtreecommitdiff
path: root/procfs
Commit message (Collapse)AuthorAgeFilesLines
...
* procfs: generalize the translator linkage codeJustus Winter2014-09-291-20/+42
| | | | | | | | | | | | | | | | | Generalize the translator linkage code previously introduced for the `mounts' node. * procfs/rootdir.c (struct procfs_translated_node_ops): New specialized node operations structure for translated nodes. (rootdir_mounts_make_node): Generalize and rename to rootdir_make_translated_node. Also, pass the entry_hook to procfs_make_node so that... (rootdir_mounts_get_translator): ... can be generalized to rootdir_translated_node_get_translator and read the argz vector from the hooked structure. (ROOTDIR_DEFINE_TRANSLATED_NODE): New convenience macro to define translated nodes. (rootdir_entries): Use the new code for the `mounts' node.
* procfs: do not test whether /hurd/mtab existsJustus Winter2014-09-291-10/+0
| | | | | | | | Now that procfs is merged into the Hurd repository we can just assume that the mtab translator exists. * procfs/rootdir.c (rootdir_mounts_exists): Drop function. (rootdir_entries): Adjust accordingly.
* procfs: implement /proc/filesystemsJustus Winter2014-09-291-1/+60
| | | | | * procfs/rootdir.c (rootdir_gc_filesystems): New function. (rootdir_entries): Use the new function to implement /proc/filesystems.
* procfs: implement /proc/N/mapsJustus Winter2014-09-291-1/+103
| | | | | | | Fixes https://savannah.gnu.org/bugs/?32770 . * procfs/process.c (process_file_gc_maps): New function. (entries): Use the new function to implement /proc/N/maps.
* hurd: add symbolic name for the mtab translatorJustus Winter2014-09-221-5/+2
| | | | | | * hurd/paths.h (_HURD_MTAB): New macro. * procfs/rootdir.c (rootdir_mounts_get_translator): Use the new macro. (rootdir_mounts_exists): Likewise.
* procfs: fix typo in commentJustus Winter2014-09-181-1/+1
| | | | * procfs/process.c (process_stat_make_node): Fix typo in comment.
* Add mach_debug defs rulesDavid Michael2014-06-171-3/+0
| | | | | | * Makeconf (mach_debug_defs_names,mach_debug_defs): New variables. * Makeconf: Add rule to generate local $(mach_debug_defs) files. * procfs/Makefile: Remove vpath for mach_debug defs.
* Prepare the procfs translator to be merged into the Hurd sourcesJustus Winter2014-06-1518-0/+2779
Move the procfs translator to its own subdirectory 'procfs'. This is the last commit to this repository. Development of the procfs translator will continue in the main Hurd repository. * procfs/Makefile: Replace the standalone Makefile with the one from the Debian packaging repository.