mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 04:09:46 +00:00
commit
e15b23027c
@ -302,7 +302,7 @@ FILE *fopen_cloexec(const char *path, const char *mode)
|
|||||||
open_mode |= O_EXCL;
|
open_mode |= O_EXCL;
|
||||||
open_mode |= O_CLOEXEC;
|
open_mode |= O_CLOEXEC;
|
||||||
|
|
||||||
fd = open(path, open_mode, 0666);
|
fd = open(path, open_mode, 0660);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
@ -1798,7 +1798,7 @@ static int lxc_spawn(struct lxc_handler *handler)
|
|||||||
|
|
||||||
ret = lxc_netns_set_nsid(handler->nsfd[LXC_NS_NET]);
|
ret = lxc_netns_set_nsid(handler->nsfd[LXC_NS_NET]);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
SYSERROR("Failed to allocate new network namespace id");
|
SYSWARN("Failed to allocate new network namespace id");
|
||||||
else
|
else
|
||||||
TRACE("Allocated new network namespace id");
|
TRACE("Allocated new network namespace id");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user