[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#843485: mention () vs (()) of filename



Control: tag -1 upstream
Control: retitle -1 proc.txt does not mention that task names can be overridden

On Mon, 2016-11-07 at 07:09 +0800, 積丹尼 Dan Jacobson wrote:
> Package: linux-doc-4.8
> Version: 4.8.5-1
> Severity: wishlist
> File: /usr/share/doc/linux-doc-4.8/Documentation/filesystems/proc.txt.gz
> 
> One only sees
>   tcomm         filename of the executable
> 
> But no explanation of () vs (())
> 
> $ perl -anwle 'print $F[1]' /proc/[0-9]*/stat|sort -u|head
> ((sd-pam))
> (Xorg)
> (acpi_thermal_pm)

The extra parentheses have no special meaning.  What the
documentation ought to mention is that a thread's name can be
overridden using prctl(PR_SET_NAME, ...).  Care to send a patch?

Ben.

-- 
Ben Hutchings
Nothing is ever a complete failure; it can always serve as a bad
example.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: