/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 plugin-runner.c

* Makefile (run-client): Add "--network-hook-dir" option.
* plugin-runner.c (main): Only try to work around Debian bug #633582
                          if started as root.
* plugins.d/mandos-client.c (run_network_hooks): Bug fix: Run all
                                                 network hooks, not
                                                 just the first one.
                                                 Also add debug output.
  (main): Only try to work around Debian bug #633582 or run network
          hooks as root if started as root.

Show diffs side-by-side

added added

removed removed

Lines of Context:
742
742
    }
743
743
  }
744
744
  
745
 
  {
 
745
  if(getuid() == 0){
746
746
    /* Work around Debian bug #633582:
747
747
       <http://bugs.debian.org/633582> */
748
748
    int plugindir_fd = open(/* plugindir or */ PDIR, O_RDONLY);