Fwd: Safety Against Memory Leaks in opendir()

2017-02-09 Thread Berne Campbell
Hello, I've been studying the documentation of S6. I see that s6-svscan has been designed so that it can run as init (PID==1), and there's a note that most opendir() implementations use malloc, so it may be possible to leak memory. To protect against this I'm pondering to use suckless init (sinit

Re: Fwd: Safety Against Memory Leaks in opendir()

2017-02-10 Thread Berne Campbell
Thanks for the clarification regarding using the heap vs leaking. I know sinit doesn't respawn processes which is why I was talking about some supervisor similar to s6-supervisor but without opendir() to supervise s6-svscan. After reading your reply I see that it's all a non-issue. I will use s6-sv