[PATCH 0/1] fs: Support compiling out the pivot_root syscall

From: Brian Ashworth
Date: Sat Feb 25 2017 - 20:02:53 EST


This patch will allow for the pivot_root syscall to be made
optional. Based on feedback, this patch uses an ifdef in the
source rather than conditional compilation in the Makefile.

The pivot_root syscall is not needed on systems that do not use
any intermediate filesystem. Allowing for pivot_root to be
ommitted from the kernel will aid in the tinification efforts.

Brian Ashworth (1):
Allows for the pivot_root syscall to be optional

fs/namespace.c | 2 ++
init/Kconfig | 10 ++++++++++
kernel/sys_ni.c | 1 +
3 files changed, 13 insertions(+)

--
2.11.1