Files
CoolPi-Armbian-Rockchip-RK3…/tools/perf/util/setns.c
2025-02-04 12:41:12 -06:00

11 lines
183 B
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);
}