/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: 2010-09-12 02:51:19 UTC
  • Revision ID: teddy@fukt.bsnet.se-20100912025119-7vvpqofpnbxf7i22
Rename all D-Bus properties to conform to D-Bus naming conventions;
all programs changed.

Also rename client setting "approved_delay" to "approval_delay", and
"approved_duration" to "approval_duration"; all programs changed.

* mandos (ClientDBus.NeedApproval): Bug fix: send an UInt64, not a
                                    float.
  (ClientDBus.ApprovedByDefault_dbus_property,
  ClientDBus.ApprovalDelay_dbus_property,
  ClientDBus.ApprovalDuration_dbus_property): Bug fix: send
                                              PropertyChanged signal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1001
1001
      }
1002
1002
      if(p->environ[0] == NULL){
1003
1003
        if(execv(filename, p->argv) < 0){
1004
 
          error(0, errno, "execv");
 
1004
          error(0, errno, "execv for %s", filename);
1005
1005
          _exit(EX_OSERR);
1006
1006
        }
1007
1007
      } else {
1008
1008
        if(execve(filename, p->argv, p->environ) < 0){
1009
 
          error(0, errno, "execve");
 
1009
          error(0, errno, "execve for %s", filename);
1010
1010
          _exit(EX_OSERR);
1011
1011
        }
1012
1012
      }