[PATCH 1/3] Load /proc/$pid/comm into tcb

Dmitry V. Levin ldv at altlinux.org
Tue Aug 24 10:37:55 UTC 2021


On Wed, Aug 18, 2021 at 08:00:40PM +0900, Masatake YAMATO wrote:
[...]
> diff --git a/src/linux/32/syscallent.h b/src/linux/32/syscallent.h
> index 032d365d1..94a148bc9 100644
> --- a/src/linux/32/syscallent.h
> +++ b/src/linux/32/syscallent.h
> @@ -179,7 +179,7 @@
>  [164] = { 2,	0,		SEN(setrlimit),			"setrlimit"		},
>  [165] = { 2,	0,		SEN(getrusage),			"getrusage"		},
>  [166] = { 1,	NF,		SEN(umask),			"umask"			},
> -[167] = { 5,	TC,		SEN(prctl),			"prctl"			},
> +[167] = { 5,	TC|CC,		SEN(prctl),			"prctl"			},
>  [168] = { 3,	0,		SEN(getcpu),			"getcpu"		},
>  /* [169] gettimeofday */
>  /* [170] settimeofday */

Since CC is lexicographically less than TC, I think CC should be first
here.


-- 
ldv


More information about the Strace-devel mailing list