/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Teddy Hogeborn
  • Date: 2014-06-14 23:43:07 UTC
  • Revision ID: teddy@recompile.se-20140614234307-i0mh9r2n4orkqtki
plugin-runner: Release memory and close FD's correctly in all cases.

* plugins.d/mandos-client.c (main): Init "direntries" to NULL.  Close
                                    "dir_fd" at fallback label.  Do
                                    not free "direntries" if
                                    scandirat() or scandir() failed.
                                    Do free(direntries) at fallback
                                    label.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
* plugin-runner
45
45
** TODO handle printing for errors for plugins
46
46
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
47
 
** TODO [#B] use scandir(3) instead of readdir(3)
 
47
** TODO [#B] use scandirat(3) instead of readdir(3)
 
48
*** Must wait until GNU libc 2.15
48
49
** TODO [#C] use same file name rules as run-parts(8)
49
50
** kernel command line option for debug info
50
 
** TODO [#B] Use openat()
51
 
** TODO [#C] Use fnmatch() to look for bad prefixes and suffixes
52
51
 
53
52
* mandos (server)
54
53
** TODO [#B] Log level                                                    :BUGS: