Searched refs:use_secure_mode (Results 1 – 1 of 1) sorted by relevance
179 int use_secure_mode = getenv_bool_secure("SYSTEMD_PAGERSECURE"); in pager_open() local180 bool trust_pager = use_secure_mode >= 0; in pager_open()181 if (use_secure_mode == -ENXIO) { in pager_open()188 use_secure_mode = r < 0 || uid != geteuid(); in pager_open()190 } else if (use_secure_mode < 0) { in pager_open()191 … log_warning_errno(use_secure_mode, "Unable to parse $SYSTEMD_PAGERSECURE, assuming true: %m"); in pager_open()192 use_secure_mode = true; in pager_open()197 r = set_unset_env("LESSSECURE", use_secure_mode ? "1" : NULL, true); in pager_open()224 if (use_secure_mode && !streq(exe, "less")) in pager_open()