Skip to content

RFC editor: teach it to protect itself from rogue editors

Carlo Marcelo Arenas Belón git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3terminal: teach save_term to fail when not foregroundcompat/terminal.c+16 -10 replies
2/3editor: allow for saving/restoring terminal stateeditor.c+17 -11 reply
3/3fixup! editor: allow for saving/restoring terminal stateDocumentation/config.txt Documentation/config/editor.txt editor.c+16 -40 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchPhillip Wood
1/3Helped-by
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/3] editor: teach it to protect itself from rogue editors

This series reimplements a problematic series that was partially reverted in 2.34.1, but addressing all raised concerns and being a lot more conservative.

The first commit addresses directly the issue reported and that required the revert, but punts several changes to future series to make sure it is safe enough for backporting into maint if needed, it also tries (probably too hard) to not introduce any behaviour changes, so it might seem "incomplete", but expect further changes that will clean it up further.

The the second one is taken from a draft[1] and is ammended by the third, hence why this is all still an RFC.

Carlo Marcelo Arenas Belón (2):
terminal: teach save_term to fail when not foreground fixup! editor: allow for saving/restoring terminal state

Junio C Hamano (1):
editor: allow for saving/restoring terminal state

 Documentation/config.txt        |  2 ++
 Documentation/config/editor.txt |  8 ++++++++
 compat/terminal.c               | 17 ++++++++++++++++-
 editor.c                        | 22 ++++++++++++++++++++--
 4 files changed, 46 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/config/editor.txt

[1] https://lore.kernel.org/git/[email protected]/

Signature · 1 line
2.34.1.460.g364565cfab