Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 521a547ced6477c54b4b0cc206000406c221b4d6 authored by Linus Torvalds on 18 September 2022, 20:44:14 UTC
Linux 6.0-rc6
Tip revision: 521a547
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