/mandos/trunk

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

  • Committer: Teddy Hogeborn
  • Date: 2014-06-14 22:55:11 UTC
  • Revision ID: teddy@recompile.se-20140614225511-0ge6tce2esulf65t
In plugin-runner, do scandirat() or scandir() instead of readdir().

* plugin-runner.c (set_cloexec_flag): Only define if O_CLOEXEC is not
                                      defined, it is not called
                                      otherwise.
  (main): Remove variables "dir" and "dirst"; new variable "dir_fd".
          Use scandirat() if available, scandir() otherwise, both
          using new filter function "good_name".  Removed checking of
          plugin file name patterns; this is now done by "good_name".
          Do not set FD_CLOEXEC flag on plugin_fd, since fexecve()
          will not work with it.  Use pipe2() to set O_CLOEXEC on pipe
          FD's (if possible).
  (main/good_name): New filter function for scandirat() or scandir().
Filename Latest Rev Last Changed Committer Comment Size
..
askpass-fifo.c 679 10 years ago Teddy Hogeborn Update copyright year. * mandos-keygen: Update co 4.9 KB Diff Download File
askpass-fifo.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 4.9 KB Diff Download File
mandos-client.c 699 9 years ago Teddy Hogeborn Fix free() of possibly uninitialized pointer in ma 67.3 KB Diff Download File
mandos-client.xml 666 10 years ago Teddy Hogeborn Bug fix: Free all memory and give better messages 29 KB Diff Download File
password-prompt.c 679 10 years ago Teddy Hogeborn Update copyright year. * mandos-keygen: Update co 13.9 KB Diff Download File
password-prompt.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 9.5 KB Diff Download File
plymouth.c 679 10 years ago Teddy Hogeborn Update copyright year. * mandos-keygen: Update co 12.5 KB Diff Download File
plymouth.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 10.1 KB Diff Download File
splashy.c 679 10 years ago Teddy Hogeborn Update copyright year. * mandos-keygen: Update co 11.6 KB Diff Download File
splashy.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 10.2 KB Diff Download File
usplash.c 679 10 years ago Teddy Hogeborn Update copyright year. * mandos-keygen: Update co 16.2 KB Diff Download File
usplash.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 10.8 KB Diff Download File