<div dir="auto"><div dir="auto">Hi,</div> I was thinking about enabling it automatically. If the user enabled one of the daemonization options, we use it but if he isn't using one, we set --daemonize=grandchild and emit a warning telling the user we did so. Do you think this can do the trick? <div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Kossi</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 31, 2023, 11:33 Dmitry V. Levin <<a href="mailto:ldv@strace.io">ldv@strace.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On Fri, Mar 31, 2023 at 12:14:13PM +0530, Sahil Siddiq wrote:<br>
> On Friday, 31 March 2023 03:17:40 IST Kossi GLOKPOR wrote:<br>
> > Hi,<br>
> > What do you think about using the --daemonize options ? For example<br>
> > with --daemonize=grandchild, the shell will be the parent of the<br>
> > tracee, and detaching & stopping strace will have no incidence on it.<br>
> > When we set an auto stop condition, we assume that strace can have to<br>
> > stop while the tracee is still running, and enabling tracer<br>
> > daemonization seems like a good way to prevent any issues with the<br>
> > tracee when strace stops.<br>
> > <br>
> > Regards,<br>
> > Kossi<br>
> <br>
> Thank you for the suggestion. I have tested this out and it gives the results<br>
> that I was looking for. We could let "--syscall-limit" be enabled only when using<br>
> it with the -D or -p options and disable it otherwise.<br>
<br>
To be honest, although using --syscall-limit along with --daemonize makes<br>
perfect sense, I'm not sure it is necessary to make this combination, or<br>
combination of --syscall-limit with -p, mandatory.<br>
<br>
<br>
-- <br>
ldv<br>
-- <br>
Strace-devel mailing list<br>
<a href="mailto:Strace-devel@lists.strace.io" target="_blank" rel="noreferrer">Strace-devel@lists.strace.io</a><br>
<a href="https://lists.strace.io/mailman/listinfo/strace-devel" rel="noreferrer noreferrer" target="_blank">https://lists.strace.io/mailman/listinfo/strace-devel</a><br>
</blockquote></div>