mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
agent: New option --change-std-env-name.
* common/session-env.c (stdenvnames): Add field "disabled". (INITIAL_ARRAYSIZE): Increase size a bit. (session_env_mod_stdenvnames): New. (session_env_list_stdenvnames): Handle the disabled flag. * agent/gpg-agent.c (oChangeStdEnvName): New. (opts): Add --change-std-env-name. (main): Implement option. -- GnuPG-bug-id: 7522
This commit is contained in:
parent
8c753cb7c9
commit
7a47252516
4 changed files with 60 additions and 7 deletions
|
@ -588,6 +588,16 @@ Ignore requests to change the current @code{tty} or X window system's
|
|||
@code{DISPLAY} variable respectively. This is useful to lock the
|
||||
pinentry to pop up at the @code{tty} or display you started the agent.
|
||||
|
||||
@item --change-std-env-name -@var{name}
|
||||
@opindex change-std-env-name
|
||||
The agent uses a fixed list of environment variables which are passed
|
||||
on to the Pinentry. This option allows to remove variables from that
|
||||
list. For example:
|
||||
@smallexample
|
||||
change-std-env-name -DBUS_SESSION_BUS_ADDRESS
|
||||
@end smallexample
|
||||
|
||||
|
||||
@item --listen-backlog @var{n}
|
||||
@opindex listen-backlog
|
||||
Set the size of the queue for pending connections. The default is 64.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue