Mercurial > vim
view src/proto/main.pro @ 27509:ef32ea9fbe6c v8.2.4282
patch 8.2.4282: restricted mode requires the -Z command line option
Commit: https://github.com/vim/vim/commit/adbb1bf21dad5697cd82d46d9dd9e8e8d0f647e6
Author: matveyt <matthewtarasov@gmail.com>
Date: Tue Feb 1 17:26:12 2022 +0000
patch 8.2.4282: restricted mode requires the -Z command line option
Problem: Restricted mode requires the -Z command line option.
Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
(closes #9681)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 01 Feb 2022 18:30:05 +0100 |
parents | 5e41b2e63c73 |
children | d8a962d7b008 |
line wrap: on
line source
/* main.c */ int vim_main2(void); void common_init(mparm_T *paramp); int is_not_a_term(void); int op_pending(void); void may_trigger_safestate(int safe); void state_no_longer_safe(char *reason); int get_was_safe_state(void); void may_trigger_safestateagain(void); void main_loop(int cmdwin, int noexmode); void getout_preserve_modified(int exitval); void getout(int exitval); int process_env(char_u *env, int is_viminit); void mainerr_arg_missing(char_u *str); /* vim: set ft=c : */