diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-05-08 16:44:54 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-05-08 16:44:54 +0000 |
commit | 1721145f0341d70a6d7807b172c5eb400b508fc0 (patch) | |
tree | 61dadb8a2fd3785448329e189d1ca39c8cd621d2 /sysdeps/unix/sysv/linux/kernel-features.h | |
parent | 1278ed2c645cc31fc5a71febf309bbec9a9d9f90 (diff) | |
download | glibc-1721145f0341d70a6d7807b172c5eb400b508fc0.tar glibc-1721145f0341d70a6d7807b172c5eb400b508fc0.tar.gz glibc-1721145f0341d70a6d7807b172c5eb400b508fc0.tar.bz2 glibc-1721145f0341d70a6d7807b172c5eb400b508fc0.zip |
Remove __ASSUME_PROC_PID_TASK_COMM.
This patch removes the __ASSUME_PROC_PID_TASK_COMM macro, and
associated conditional code (in a testcase), now that 3.2 is the
global minimum Linux kernel version supported.
Tested for x86_64.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_PROC_PID_TASK_COMM): Remove macro.
* sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
<kernel-features.h>.
(do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index b981466f34..d837c221fb 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -98,12 +98,6 @@ # define __ASSUME_RECVMMSG 1 #endif -/* Support for /proc/self/task/$tid/comm and /proc/$pid/task/$tid/comm was - added in 2.6.33. */ -#if __LINUX_KERNEL_VERSION >= 0x020621 -# define __ASSUME_PROC_PID_TASK_COMM 1 -#endif - /* statfs fills in f_flags since 2.6.36. */ #if __LINUX_KERNEL_VERSION >= 0x020624 # define __ASSUME_STATFS_F_FLAGS 1 |