/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 plugins.d/mandos-client.c

  • Committer: Björn Påhlsson
  • Date: 2011-12-20 20:13:36 UTC
  • mfrom: (505.3.26 client-network-hooks)
  • mto: This revision was merged to the branch mainline in revision 525.
  • Revision ID: belorn@recompile.se-20111220201336-zs7sj3inc9wtioau
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1431
1431
        if(ret == -1){
1432
1432
          perror_plus("setgroups");
1433
1433
        }
1434
 
        fprintf_plus(stderr, "Child: getuid() = %d\n", getuid());
1435
 
        fprintf_plus(stderr, "Child: geteuid() = %d\n", geteuid());
1436
1434
        dup2(devnull, STDIN_FILENO);
1437
1435
        close(devnull);
1438
1436
        dup2(STDERR_FILENO, STDOUT_FILENO);