Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-30 | Improve the interface for dircat_make_node | Jeremie Koenig | |
* dircat.c, dircat.h (dircat_make_node): Use an explicit array size for DIRS, fail with ENOMEM is any of them is NULL, and release the reference on the non-NULL nodes on any error. * main.c (root_make_node): Use the new interface. | |||
2010-08-30 | Fuse the proclist into the root node | Jeremie Koenig | |
* 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. |