Proc01: Fix for PPC64 and Support SELinux-enabled Environment v2: The distribution we are using may be well maintained. But I guess there may be broken distributions on the earth. If a user of such broken distributions wants to run ltp on one's system, what happens? Shooting the trouble on such system takes rather longer time. Could you review my patch? With LTP_CHECK_LIB defined in ltp-common.m4, we can check the existence of libselinux and can define SELINUX_LIBS shell variable easily. LTP_CHECK_SELINUX uses LTP_CHECK_LIB. I think `lsm_should_work' in proc01.c is not guarded with HAVE_SELINUX_SELINUX_H. Do you afraid the binary size? Signed-off-by: Masatake YAMATO <yamato@redhat.com>.
3 files changed