lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 10 Nov 2009 14:27:57 +0900 (JST)
From:	KOSAKI Motohiro <>
To:	Sean Foley <>,
	john stultz <>
	Andrew Morton <>,
	Andi Kleen <>,
	Arjan van de Ven <>,
	Darren Hart <>,
	lkml <>,
	Mike Fulton <>
Subject: Re: [RFC][PATCH] Add prctl to set sibling thread names

Hi Sean, John,

> Kosaki,
> Here are a couple of use cases previously posted to this thread on the linux kernel mailing list:
> dispatch thread adds context to thread names:
> java language support:
> Here are some various specific use cases from the web:
> Attaching additional info to thread names when used for different purposes:
> Threads obtained from thread pools being reassigned new names:
> Renaming threads scattered across third-party libraries by enumerating them and renaming them dynamically:

Okey, good explanation. thanks!

So, I would suggested to extend /proc/{pid}/cmdline instead using task->comm.
  - task->comm has nasty locking rule. It is harder to change SMP safe.
  - ps (and other procps tools) already support /proc/{pid}/cmdline.
  - task->comm is restrected 16 character length, /proc/cmdline isn't.

You can see prctl-add-pr_set_proctitle_area-option.patch in -mm tree
as enhancement example at first step.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists