Quoting Justus Winter (2014-09-21 12:12:34) > Generalize the translator linkage code previously introduced for the > `mounts' node. > ... > (ROOTDIR_DEFINE_TRANSLATED_NODE): New convenience macro to define > translated nodes. > ... > +#define ROOTDIR_DEFINE_TRANSLATED_NODE(ARGZ) \ > + &(struct procfs_translated_node_ops) { \ > + .node_ops = { \ > + .get_translator = rootdir_translated_node_get_translator, \ > + }, \ > + .npp = &rootdir_mounts_node, \ ^ doh, that was rather stoopid :/ > + .argz = (ARGZ), \ > + .argz_len = sizeof (ARGZ), \ > + } > +
- [PATCH 1/2] procfs: implement /proc/N/maps Justus Winter
- [PATCH 2/2] procfs: implement /proc/filesystems Justus Winter
- [PATCH 1/6] procfs: implement /proc/N/mounts Justus Winter
- [PATCH 4/6] procfs: generalize the translator... Justus Winter
- Re: [PATCH 4/6] procfs: generalize the tr... Justus Winter
- [PATCH 1/7] procfs: implement /proc/... Justus Winter
- [PATCH 4/7] procfs: do not test ... Justus Winter
- Re: [PATCH 4/7] procfs: do n... Samuel Thibault
- [PATCH 3/7] procfs: implement /p... Justus Winter
- Re: [PATCH 3/7] procfs: impl... Samuel Thibault
- [PATCH 2/7] procfs: implement /p... Justus Winter
- Re: [PATCH 2/7] procfs: impl... Samuel Thibault
- [PATCH 5/7] procfs: generalize t... Justus Winter
- Re: [PATCH 5/7] procfs: gene... Samuel Thibault
- [PATCH 6/7] procfs: reorganize r... Justus Winter