summary refs log tree commit diff
path: root/include/soc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-06-09 15:31:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-06-09 15:31:35 -0700
commit3ca24ce9ff764bc27bceb9b2fd8ece74846c3fd3 (patch)
treee9b0d20cabfbc0a5a9a9a5b8aa4be447f840463f /include/soc
parentf72328d27f3bb117b7f707fae2ca20d03ba2796d (diff)
parent5ab8271899658042fabc5ae7e6a99066a210bc0e (diff)
downloadlinux-3ca24ce9ff764bc27bceb9b2fd8ece74846c3fd3.tar.gz
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
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions