Re: bind commands in ENV file cause spurious warnings by security(8)

2017-11-01 Thread Lari Rasku
Jeremie Courreges-Anglas kirjoitti 11/01/17 klo 15:03: > Obviously x_init_emacs does more than than just set x_tty. I should've been clearer; obviously I didn't mean to call all of x_init_emacs vestigial code, just the x_tty set-test code path through it. But you're right, I was too eager - nix

Re: bind commands in ENV file cause spurious warnings by security(8)

2017-11-01 Thread Todd C. Miller
On Wed, 01 Nov 2017 14:03:13 +0100, Jeremie Courreges-Anglas wrote: > Obviously x_init_emacs does more than than just set x_tty. For example, > it touches kblist and AEDIT. While bypassing x_tty may run fine now > because those variables are initialized to zero, I find this > non-obvious and fra

Re: bind commands in ENV file cause spurious warnings by security(8)

2017-11-01 Thread Jeremie Courreges-Anglas
On Wed, Nov 01 2017, Lari Rasku wrote: > Jeremie Courreges-Anglas kirjoitti 10/31/17 klo 16:23: >> On Mon, Oct 30 2017, Lari Rasku wrote: >>> or how it might be worked around. >> >> case $- in *i*) ...;; esac >> >> See /etc/ksh.kshrc. > > Thanks, this spares me some irritation. > >> ENV is checke

Re: bind commands in ENV file cause spurious warnings by security(8)

2017-10-31 Thread Lari Rasku
Jeremie Courreges-Anglas kirjoitti 10/31/17 klo 16:23: > On Mon, Oct 30 2017, Lari Rasku wrote: >> or how it might be worked around. > > case $- in *i*) ...;; esac > > See /etc/ksh.kshrc. Thanks, this spares me some irritation. > ENV is checked on purpose. Whether it should use sh -i is anothe

Re: bind commands in ENV file cause spurious warnings by security(8)

2017-10-31 Thread Jeremie Courreges-Anglas
On Mon, Oct 30 2017, Lari Rasku wrote: > Oct 27 snapshot, amd64. > > I have the following binds in /etc/ksh.bindings: > > bind'^[[7~'=beginning-of-line > bind'^[[8~'=end-of-line > bind'^[[2~'=no-op # insert > bind'^[[3~'=delete-char-forward > > I load the fi

bind commands in ENV file cause spurious warnings by security(8)

2017-10-30 Thread Lari Rasku
Oct 27 snapshot, amd64. I have the following binds in /etc/ksh.bindings: bind'^[[7~'=beginning-of-line bind'^[[8~'=end-of-line bind'^[[2~'=no-op # insert bind'^[[3~'=delete-char-forward I load the file in /etc/profile by setting the ENV variable: