[Toybox] [PATCH] login: chown() of current terminal
Rob Landley
rob at landley.net
Fri Mar 1 14:53:36 PST 2019
On 2/3/19 4:20 PM, William Djupström via Toybox wrote:
> currently, login leaves the owner and permissions of the controlling tty
> intact, likely only writable by root, which means other programs such as
> gpg-agent can't run pinentry-curses on that tty.
Sorry for the delay, gmail sent this to the spam folder.
I switched to fchown() instead of chown, and did FLAG() and short argument
variable name cleanups while I was there.
Thanks,
Rob
More information about the Toybox
mailing list