<div dir="ltr"><div>Hi all, </div><div><br></div><div>Recently, i checked that there are  some of the "close_all_fds" functions as follows</div><div>Why we Systemd run this functions? Whey this functions need Systemd's management? </div>
<br clear="all"><div><div>invain@u1204lgs:/sandbox/tizentvfolder/systemd$ grep -R "close_all_fds" ./*</div><div>./src/nspawn.c:                close_all_fds(NULL, 0);</div><div>./src/util.c:int close_all_fds(const int except[], unsigned n_except) {</div>
<div>./src/util.c:        close_all_fds(NULL, 0);</div><div>./src/main.c:                close_all_fds(NULL, 0);</div><div>./src/spawn-agent.c:                close_all_fds(NULL, 0);</div><div>./src/execute.c:                err = close_all_fds(socket_fd >= 0 ? &socket_fd : fds,</div>
<div>./src/execute.c:                err = close_all_fds(fds, n_fds);</div><div>./src/util.h:int close_all_fds(const int except[], unsigned n_except);</div></div><div><br></div><div><br></div><div>Thanks reading. </div><div>
<br></div><br><div>----</div><div>Best regards,</div><div>Geunsik Lim, Samsung Electronics</div><div><a href="http://leemgs.fedorapeople.org" target="_blank">http://leemgs.fedorapeople.org</a></div><div>----</div><div><br>
</div>
</div>