Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 3906fe9bb7f1a2c8667ae54e967dc8690824f4ea authored by Linus Torvalds on 25 October 2021, 18:30:31 UTC
Linux 5.15-rc7
Tip revision: 3906fe9
setns.c
// SPDX-License-Identifier: LGPL-2.1

#include "namespaces.h"
#include <unistd.h>
#include <sys/syscall.h>

int setns(int fd, int nstype)
{
	return syscall(__NR_setns, fd, nstype);
}
back to top