From f877c4f2bf2ebc9ecd3e099e33fc4184f4fcac1a Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Wed, 5 Feb 2014 10:10:34 -0500 Subject: 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. --- nptl/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nptl/ChangeLog') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 8761f5b..003e290 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2014-02-05 Carlos O'Donell + + * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Skip the + test if !__ASSUME_PROC_PID_TASK_COMM and get_self_comm returns + ENOENT. + 2014-01-23 Stefan Liebler * tst-tls7.c: Adjust testcase timeout -- cgit v1.1