Commit 2be788a9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Bump the limit on how many groups we can deal with.

parent c79c30bc
...@@ -63,9 +63,9 @@ ...@@ -63,9 +63,9 @@
static void __match_proto__(mgt_sandbox_f) static void __match_proto__(mgt_sandbox_f)
mgt_sandbox_unix(enum sandbox_e who) mgt_sandbox_unix(enum sandbox_e who)
{ {
#define NGID 10 #define NGID 2000
gid_t gid_list[NGID];
int i; int i;
gid_t gid_list[NGID];
if (geteuid() != 0) { if (geteuid() != 0) {
REPORT0(LOG_INFO, "Not running as root, no priv-sep"); REPORT0(LOG_INFO, "Not running as root, no priv-sep");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment