Skip to content

Add MOST_SECURE and PAGERSECURE environment variables #27

Description

@cgoesche

As described in an issue on the util-linux upstream repository here , it is important to be able to toggle the secure mode of pagers through an environment variable.

This becomes more evident due to the fact that +s can not be set for applications that internally invoke most directly or through /usr/bin/pager provided by Debian/Ubuntu's alternatives system. Since it is significantly easier to simply set a process' environment, the idea is to add the following environment variables:

  • MOST_SECURE
  • PAGERSECURE

When these are set to 1, the Most_Secure_Mode variable in most.c will be set to 1 as well, and effectively secure most's state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions