mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
And provide an alternative implementation to keep perf building on older distros as we're about to add initial support for namespaces. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Krister Johansen <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
8 lines
80 B
C
8 lines
80 B
C
#define _GNU_SOURCE
|
|
#include <sched.h>
|
|
|
|
int main(void)
|
|
{
|
|
return setns(0, 0);
|
|
}
|