/* Copyright (c) 2007-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "str.h"
#include "hex-binary.h"
#include "randgen.h"
#include "hostpid.h"
#include "eacces-error.h"
#include "safe-mkstemp.h"
#include <unistd.h>
#include <fcntl.h>
static int ATTR_NULL(5)
const char *gid_origin)
{
int fd;
for (;;) {
do {
return -1;
}
if (fd != -1)
break;
return -1;
}
}
return fd;
} else {
i_error("fchown(%s, %ld, %ld) failed: %m",
}
i_close_fd(&fd);
return -1;
}
return fd;
}
{
}
{
}
{
int fd;
return fd;
}
{
int fd;
return fd;
}