Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c4cc71f

Browse files
stanislav-brabecikerexxe
authored andcommitted
Add LOGIN_ENV_SAFELIST to FOREIGNDEFS
util-linux-2.41 introduced new variable: LOGIN_ENV_SAFELIST. Add it to known login.defs variables. Signed-off-by: Stanislav Brabec <[email protected]>
1 parent b4beda8 commit c4cc71f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/getdef.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ struct itemdef {
7676
#define FOREIGNDEFS \
7777
{"ALWAYS_SET_PATH", NULL}, \
7878
{"ENV_ROOTPATH", NULL}, \
79+
{"LOGIN_ENV_SAFELIST", NULL}, \
7980
{"LOGIN_KEEP_USERNAME", NULL}, \
8081
{"LOGIN_PLAIN_PROMPT", NULL}, \
8182
{"MOTD_FIRSTONLY", NULL}, \

0 commit comments

Comments
 (0)