[Asterisk-cvs] asterisk asterisk.c,1.106,1.107
markster at lists.digium.com
markster at lists.digium.com
Sun Jul 18 15:06:35 CDT 2004
Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv5540
Modified Files:
asterisk.c
Log Message:
Make that setgid...
Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- asterisk.c 18 Jul 2004 17:58:05 -0000 1.106
+++ asterisk.c 18 Jul 2004 18:52:36 -0000 1.107
@@ -1623,7 +1623,7 @@
ast_log(LOG_WARNING, "No such group '%s'!\n", rungroup);
exit(1);
}
- if (setuid(gr->gr_gid)) {
+ if (setgid(gr->gr_gid)) {
ast_log(LOG_WARNING, "Unable to setgid to %d (%s)\n", gr->gr_gid, rungroup);
exit(1);
}
More information about the svn-commits
mailing list