nxt_clone.c (1306:3604d05e48be) nxt_clone.c (2078:0996dd223cdd)
1/*
2 * Copyright (C) Igor Sysoev
3 * Copyright (C) NGINX, Inc.
4 */
5
6#include <nxt_main.h>
7#include <sys/types.h>
8#include <nxt_conf.h>

--- 370 unchanged lines hidden (view full) ---

379 "but user \"%s\" has %d suplementary group%s.",
380 creds->user, creds->ngroups,
381 creds->ngroups > 1 ? "s" : "");
382
383 return NXT_ERROR;
384 }
385
386 return NXT_OK;
1/*
2 * Copyright (C) Igor Sysoev
3 * Copyright (C) NGINX, Inc.
4 */
5
6#include <nxt_main.h>
7#include <sys/types.h>
8#include <nxt_conf.h>

--- 370 unchanged lines hidden (view full) ---

379 "but user \"%s\" has %d suplementary group%s.",
380 creds->user, creds->ngroups,
381 creds->ngroups > 1 ? "s" : "");
382
383 return NXT_ERROR;
384 }
385
386 return NXT_OK;
387 }
387 }
388
389 base_ok = 0;
390 gids_ok = 0;
391
392 for (i = 0; i < creds->ngroups; i++) {
393 gid_ok = 0;
394
395 for (j = 0; j < map->size; j++) {

--- 53 unchanged lines hidden ---
388
389 base_ok = 0;
390 gids_ok = 0;
391
392 for (i = 0; i < creds->ngroups; i++) {
393 gid_ok = 0;
394
395 for (j = 0; j < map->size; j++) {

--- 53 unchanged lines hidden ---