[PATCH 1/7] PID namespace translation support

Dmitry V. Levin ldv at altlinux.org
Thu Jul 16 22:19:14 UTC 2020


On Sun, Jul 12, 2020 at 09:46:30PM +0200, Ákos Uzonyi wrote:
[...]
> +				perror_msg("get_ns_hierarchy: "
> +					   "ioctl(NS_GET_PARENT)");

Consider using perror_func_msg.

[...]
> +				perror_msg("get_id_list: converting pid to int");

Likewise.

[...]
> +		perror_msg("translate_id_dir: opening dir: %s", path);

Likewise.

[...]
> +				perror_msg("translate_id_dir: readdir");

Likewise.


-- 
ldv


More information about the Strace-devel mailing list