Stoyan Bogdanov
Stoyan Bogdanov
@BenBE I looking in codding stile which I might not follow strictly , and thanks for remark on overflow issue I am aware of it but totally forget to fix...
I have been working to make FlexMeter more compliant with all comments above. Used xStrdup in place of previous implementation. I followed `docs/styleguide.md` with next iteration will clean some more...
> @bogdanovs What do you think of the ideas/protocol mentioned in that issue #526? This issue is similar to my proposal but more complex to be used in first glance....
@BenBE @Explorer09 1. Regarding the permissions of the Meters - I think we can stick with permissions which used for SSH 2. For executable scripts instead of configuration files: this...
> > 1. Regarding the permissions of the Meters - I think we can stick with permissions which used for SSH > > I didn't get this. Would you explain?...
> > Permissions for .ssh folder and keys > > ``` > > chmod 700 ~/.ssh/ # same for FlexMeter folder like you suggested > > chmod 700 ~/.config/htop/FlexMeter >...
@Explorer09 all that you stated is true, I agree. But If we think in that direction even htop binary could be security risk. Every single program running on the system...
> The Unix practice is to avoid running things as root whenever possible. Unix gives so much power to the root user, and it assumes that root is competent and...
> I _could_ make it work like a standalone script and use [watch(1)](https://man7.org/linux/man-pages/man1/watch.1.html) command to monitor the same thing. `watch -n 1 MyFlexMeter` Does this example make sense? Same script,...
> Your [popen(3)](https://linux.die.net/man/3/popen) call will launch the command under the `/bin/sh` shell anyway. I just make that fact explicit in the format. I won't say we need to support other...