[PATCH v3 3/3] Add tests for the -l/--syscall-limit option

Dmitry V. Levin ldv at strace.io
Thu Mar 2 00:45:43 UTC 2023


On Thu, Mar 02, 2023 at 03:08:44AM +0530, Sahil Siddiq wrote:
[...]
> +		int pid = getpid();
> +		chdir(".");
> +
> +		printf("%-5u getpid() = %d\n", pid, pid);
> +		puts(" <detached ...>");

Note that " <detached ...>" is not prefixed by pid so there is no way
to tell the pid of process that has been detached.
In other words, this expected output demonstrates an inconsistency
in the output produced by this new option.


-- 
ldv


More information about the Strace-devel mailing list