This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add test for pthread_setname_np and pthread_getname_np.
- From: Andreas Schwab <schwab at suse dot de>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, Allan McRae <allan at archlinux dot org>, Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>, libc-alpha at sourceware dot org
- Date: Wed, 05 Feb 2014 16:21:56 +0100
- Subject: Re: [PATCH] Add test for pthread_setname_np and pthread_getname_np.
- Authentication-results: sourceware.org; auth=none
- References: <52A6AF89 dot 6040903 at redhat dot com> <1386689266 dot 23049 dot 3227 dot camel at triegel dot csb> <52A94EAC dot 5020800 at redhat dot com> <52A957D3 dot 5090809 at redhat dot com> <52AF01B9 dot 4090601 at linux dot vnet dot ibm dot com> <52F064E6 dot 8020901 at redhat dot com> <Pine dot LNX dot 4 dot 64 dot 1402041414581 dot 18044 at digraph dot polyomino dot org dot uk> <52F1ADD3 dot 50200 at redhat dot com> <Pine dot LNX dot 4 dot 64 dot 1402051456020 dot 5367 at digraph dot polyomino dot org dot uk> <52F25543 dot 6050509 at redhat dot com>
"Carlos O'Donell" <carlos@redhat.com> writes:
> diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
> index 3723535..aabf69d 100644
> --- a/sysdeps/unix/sysv/linux/kernel-features.h
> +++ b/sysdeps/unix/sysv/linux/kernel-features.h
> @@ -202,6 +202,12 @@
> # define __ASSUME_RECVMMSG 1
> #endif
>
> +/* Support for /proc/self/task/$tid/comm and /proc/$pid/task/$tid/comm were
> + added in 2.6.33. */
s/were/was/
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."