mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-04 11:05:10 +00:00
Minor resource name array fix in src/lxc/namespace.c
Signed-off-by: Tushar Gohad <tgohad@mvista.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
parent
743ecd2efb
commit
ebb9ec72ce
@ -97,7 +97,7 @@ pid_t lxc_clone(int (*fn)(void *), void *arg, int flags)
|
||||
int lxc_attach(pid_t pid)
|
||||
{
|
||||
char path[MAXPATHLEN];
|
||||
char *ns[] = { "pid", "mnt", "net", "pid", "uts" };
|
||||
char *ns[] = { "pid", "mnt", "net", "ipc", "uts" };
|
||||
const int size = sizeof(ns) / sizeof(char *);
|
||||
int fd[size];
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user