diff options
author | Linus Torvalds <[email protected]> | 2019-07-16 10:37:27 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-07-16 10:37:27 -0700 |
commit | 2954152298c37804dab49d630aa959625b50cf64 (patch) | |
tree | a53f1164306acb521bd57cfc5083962901828000 /scripts/gen_compile_commands.py | |
parent | 50950626414a982c8ed539128c7f69a3d328a970 (diff) | |
parent | d26d0cd97c88eb1a5704b42e41ab443406807810 (diff) |
Merge branch 'proc-cmdline' (/proc/<pid>/cmdline fixes)
This fixes two problems reported with the cmdline simplification and
cleanup last year:
- the setproctitle() special cases didn't quite match the original
semantics, and it can be noticeable:
https://lore.kernel.org/lkml/[email protected]/
- it could leak an uninitialized byte from the temporary buffer under
the right (wrong) circustances:
https://lore.kernel.org/lkml/[email protected]/
It rewrites the logic entirely, splitting it into two separate commits
(and two separate functions) for the two different cases ("unedited
cmdline" vs "setproctitle() has been used to change the command line").
* proc-cmdline:
/proc/<pid>/cmdline: add back the setproctitle() special case
/proc/<pid>/cmdline: remove all the special cases
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions