/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

  • Committer: Teddy Hogeborn
  • Date: 2016-03-17 21:18:37 UTC
  • Revision ID: teddy@recompile.se-20160317211837-f2tz0c9284rsv3k8
Client: Document default directories more clearly

Document default plugin directory and default plugin helper directory
also in the FILES section of the manual.

* plugin-runner.xml (FILES): Add "/lib/mandos/plugins.d" and
                             "/lib/mandos/plugin-helpers".

Show diffs side-by-side

added added

removed removed

Lines of Context:
792
792
  }
793
793
  
794
794
  if(debug){
795
 
    for(plugin *p = plugin_list; p != NULL; p = p->next){
 
795
    for(plugin *p = plugin_list; p != NULL; p=p->next){
796
796
      fprintf(stderr, "Plugin: %s has %d arguments\n",
797
797
              p->name ? p->name : "Global", p->argc - 1);
798
798
      for(char **a = p->argv; *a != NULL; a++){
807
807
  
808
808
  if(getuid() == 0){
809
809
    /* Work around Debian bug #633582:
810
 
       <https://bugs.debian.org/633582> */
 
810
       <http://bugs.debian.org/633582> */
811
811
    int plugindir_fd = open(/* plugindir or */ PDIR, O_RDONLY);
812
812
    if(plugindir_fd == -1){
813
813
      if(errno != ENOENT){