Remove __ASSUME_PROC_PID_TASK_COMM.
commit1721145f0341d70a6d7807b172c5eb400b508fc0
authorJoseph Myers <joseph@codesourcery.com>
Mon, 8 May 2017 16:44:54 +0000 (8 16:44 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 8 May 2017 16:44:54 +0000 (8 16:44 +0000)
tree61dadb8a2fd3785448329e189d1ca39c8cd621d2
parent1278ed2c645cc31fc5a71febf309bbec9a9d9f90
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.
ChangeLog
sysdeps/unix/sysv/linux/kernel-features.h
sysdeps/unix/sysv/linux/tst-setgetname.c