]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Merge branch 'proc-cmdline'
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Jun 2018 22:31:35 +0000 (15:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Jun 2018 22:31:35 +0000 (15:31 -0700)
commit3ca24ce9ff764bc27bceb9b2fd8ece74846c3fd3
treee9b0d20cabfbc0a5a9a9a5b8aa4be447f840463f
parentf72328d27f3bb117b7f707fae2ca20d03ba2796d
parent5ab8271899658042fabc5ae7e6a99066a210bc0e
Merge branch 'proc-cmdline'

Merge proc_cmdline simplifications.

This re-writes the get_mm_cmdline() logic to be rather simpler than it
used to be, and makes the semantics for "cmdline goes past the end of
the original area" more natural.

You _can_ use prctl(PR_SET_MM) to just point your command line somewhere
else entirely, but the traditional model is to just edit things in place
and that still needs to continue to work.  At least this way the code
makes some sense.

* proc-cmdline:
  fs/proc: simplify and clarify get_mm_cmdline() function
  fs/proc: re-factor proc_pid_cmdline_read() a bit
fs/proc/base.c