public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] fs: Support compiling out the pivot_root syscall
@ 2017-02-25  0:21 bosrsf04
  2017-02-25  0:21 ` [PATCH 1/3] fs: Makes functions used by pivot_root accessible bosrsf04
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: bosrsf04 @ 2017-02-25  0:21 UTC (permalink / raw)
  To: Alexander Viro, Andrew Morton, Kees Cook, Arnd Bergmann,
	Ingo Molnar, Ard Biesheuvel, Andy Lutomirski, Nicolas Pitre,
	Petr Mladek, Helge Deller, Rik van Riel, Thomas Garnier,
	Parav Pandit, seokhoon . yoon, Thomas Gleixner, Dave Hansen,
	linux-fsdevel, linux-kernel
  Cc: josh, brkkurek192, conorcurry, fanofbond138, Brian Ashworth

From: Brian Ashworth <bosrsf04@gmail.com>

This patch series will allow for the pivot_root syscall to be made
optional. The first patch refactors the functions that are required
by pivot_root so they can be accessed outside of fs/namespace.c. The
second patch moves the pivot_root syscall to its own file. The third
adds a Kconfig option and conditional compilation to 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 (3):
  Makes functions used by pivot_root accessible
  Extracts pivot_root so it can be made optional
  Allows for the pivot_root syscall to be omitted

 fs/Makefile     |   2 +
 fs/mount.h      |  24 +++++++++
 fs/namespace.c  | 150 +++-----------------------------------------------------
 fs/pivot_root.c | 129 ++++++++++++++++++++++++++++++++++++++++++++++++
 init/Kconfig    |  10 ++++
 kernel/sys_ni.c |   1 +
 6 files changed, 172 insertions(+), 144 deletions(-)
 create mode 100644 fs/pivot_root.c

-- 
2.11.1

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-03-29 20:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-25  0:21 [PATCH 0/3] fs: Support compiling out the pivot_root syscall bosrsf04
2017-02-25  0:21 ` [PATCH 1/3] fs: Makes functions used by pivot_root accessible bosrsf04
2017-02-25  0:21 ` [PATCH 2/3] fs: Extracts pivot_root so it can be made optional bosrsf04
2017-02-25 15:22   ` Theodore Ts'o
2017-02-25 16:06     ` Al Viro
2017-02-26  0:54       ` [PATCH 0/1] fs: Support compiling out the pivot_root syscall Brian Ashworth
2017-02-26  0:54         ` [PATCH 1/1] fs: Allows for the pivot_root syscall to be optional Brian Ashworth
2017-02-26  1:14           ` Nicolas Pitre
2017-03-29 20:38             ` bosrsf04
2017-02-25  0:21 ` [PATCH 3/3] fs: Allows for the pivot_root syscall to be omitted bosrsf04
2017-02-25 15:18 ` [PATCH 0/3] fs: Support compiling out the pivot_root syscall Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox