]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/unix/sysv/linux/tst-setgetname.c
Fix tst-setgetname for Linux kernels < 2.6.33.
authorCarlos O'Donell <carlos@redhat.com>
Wed, 5 Feb 2014 15:10:34 +0000 (10:10 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Wed, 5 Feb 2014 15:13:11 +0000 (10:13 -0500)
commitf877c4f2bf2ebc9ecd3e099e33fc4184f4fcac1a
treeeb68704bb5ec948aff734d878e74cfccd056562d
parentcff469ca41181c67e805eaf7c0a1b518b60fbf10
Fix tst-setgetname for Linux kernels < 2.6.33.

Support for /proc/self/task/$tid/comm as added in Linux 2.6.33,
therefore since the test tst-setgetname relies on this functionality
to operate we must skip the test in kernels < 2.6.33. We wrap the
checks with __ASSUME_PROC_PID_TASK_COMM such that in the future when
we move arch_minimum_kernel to 2.6.33 we can remove this code.
ChangeLog
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/tst-setgetname.c
sysdeps/unix/sysv/linux/kernel-features.h