Red Hat Bugzilla – Bug 139567
ia32el that comes with RHEL4, "current->personality" is always zero
Last modified: 2015-01-04 17:12:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET
Description of problem:
VERITAS is using "current->personality == PER_LINUX32" to determine
whether a call into the kernel came from a 64-bit or 32-bit process,
so that it could do the correct structure decoding. But with the new
ia32el that comes with RHEL4, "current->personality" is always zero,
so VERITAS will think that all calls are from 64-bit processes, and
incorrectly decode the structure.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
#define VOL_IS_32BIT_APP (personality(current->personality) ==
PER_LINUX32) #elif defined(__x86_64__) #define VOL_IS_32BIT_APP
(test_thread_flag(TIF_IA32)) #else /* defined(__i386__) */ #define
VOL_IS_32BIT_APP (1) #endif
Actual Results: zero.
Expected Results: Should return information that the caller is 32-
bit or 64-bit.
Sheryl, you should be able to test this issue with the pre-RC drop due
Sheryl any feedback ?