diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-18 20:44:54 +0000 |
---|---|---|
committer | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-30 14:14:49 +0200 |
commit | f89f2ccd6f4dde2dc6c6ffabd0f784ecf2a46617 (patch) | |
tree | d91af49685bf319a8a38d8d5e2963f4b34542091 /proclist.c | |
parent | 85feec46e7d8884a9a34276c7cad8133c5fbb02e (diff) |
Fuse the proclist into the root node
* dircat.c, dircat.h: New files, merge directories.
* Makefile: Add the dircat module.
* main.c: Use dircat to merge the proclist into the root
directory, instead of having it as a stand-alone one.
* procfs.h, procfs.c: Add a "refresh hack" to have the
contents of the root directory recreated on each request.
* proclist.c (proclist_make_node): Enable the hack in question.
Diffstat (limited to 'proclist.c')
-rw-r--r-- | proclist.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -74,6 +74,7 @@ proclist_make_node (process_t process) .lookup = proclist_lookup, .cleanup_contents = procfs_cleanup_contents_with_free, .cleanup = free, + .enable_refresh_hack_and_break_readdir = 1, }; struct proclist_node *pl; |