about summary refs log tree commit diff stats
path: root/popen2.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed tcoin code1 and tcoin code2 leak, and refactored file permissions into ↵login2024-10-131-1/+0
| | | | | | | | a preprocessor macro Fixed issue with tcoin code1 and tcoin code2. Now they're sent via stdin instead of as arguments to tcoin. Refactored file permissions into a preprocessor macro.
* pcoin_keys fixedlogin2021-10-171-0/+18
Thanks to ~jmjl, I was able to find that pcoin_keys didn't work. To fix it, tcoin uses sneaky magic but with stdin isntead of an argument, and a new library imported called popen2, that lets me send both stdin and receive stdout, to successfully get "ls <path to the pcoin_keys directory>" to work (it execl's another instance of the tcoin comand so that it runs under setuid instead of as the original user who ran it.