[PATCH] start-stop-daemon: make --exec follow symlinks.

Denys Vlasenko vda.linux at googlemail.com
Sat Apr 19 21:30:12 UTC 2008


On Saturday 19 April 2008 22:45, Joakim Tjernlund wrote:
> > Let me know if you see more problems, or have cleanups.
> 
> I do, you haven't applied the patch to pid_is_cmd(). That
> part is still buggy(as I explained earlier), even in current svn.

Now xmalloc_open_read_close will return NULL if open fails,
and this fixes the bug.

There is also xmalloc_xopen_read_close now and it is used
where we want to die if open fails (in other applets,
not start_stop_daemon).
--
vda



More information about the busybox mailing list