1. 190c7ad Proc01: Check Both SELinux Libraries and Headers v3: Version 3 fixes line wrapping problem and adds more comments. This late patch is to address Masatake YAMATO's concern for, by subrata_modak · 15 years ago
  2. 13a2142 Proc01: Revert A Wrong Patch: The following patch reverts a wrong patch that has been commited accidentally, http://article.gmane.org/gmane.linux.ltp/7459. Signed-off-by: CAI Qian <caiqian@cclom.cn>. by subrata_modak · 15 years ago
  3. bc21707 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>. by subrata_modak · 15 years ago
  4. 5a39889 [PATCH 2/3] Proc01: Fix for PPC64 and Support SELinux-enabled Environment v2: The following patches add an entry from a PPC64 kernel to the list of known issue, which may return errno EINVAL depends on the content of the file and the read buffer it is testing. Also, they add support for SELinux-enabled testing environment by using the correct expected results if it is able to detect SELinux is enabled. It does not affect the testing for systems with no LSM, LSM other than SELinux, and SELinux-disabled. Version 2 is created base on the suggestion from Serge E. Hallyn. This patch is using configure script to automatically detect if the system has libselinux libraries and header installed, so we can use a macro later on to actually check if SELinux is enabled. Otherwise, or if you don't want to run configure script at all, the test and other tests should behave as normal. Also, it removes some unnecessary comments from the Makefile, and replaces LOADLIBES to LDLIBS according to the LTP INSTALL file, LDLIBS - libraries listed after objects during link. Signed-off-by: CAI Qian <caiqian@cclom.cn>. by subrata_modak · 15 years ago