]> git.pld-linux.org Git - packages/inn.git/blob - inn-setgid.patch
- rebuild with perl 5.28.0
[packages/inn.git] / inn-setgid.patch
1 --- inn-2.5.3/lib/newsuser.c.orig       2012-06-15 20:25:36.000000000 +0200
2 +++ inn-2.5.3/lib/newsuser.c    2013-06-13 15:36:33.750595785 +0200
3 @@ -93,6 +93,8 @@
4      if (getegid() != gid || getgid() != gid) {
5          die ("must be run as %s group", innconf->runasgroup);
6      }
7 +    const char *runasuser = innconf != NULL ? innconf->runasuser : RUNASUSER;
8 +    initgroups(runasuser, gid);
9  }
10  
11  /*
This page took 0.077585 seconds and 3 git commands to generate.