Bug 132578
Summary: | can't compile afs module for 2.4.21-20.ELsmp | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Michael Burman <michael.burman> |
Component: | kernel | Assignee: | Jim Paradis <jparadis> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | peterm, petrides, riel |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-16 01:58:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Burman
2004-09-14 19:58:36 UTC
Hello, Michael. In U3, we turned off CONFIG_UID16 for the x86_64 arch because it was inappropriately limiting the uid/gid space. The typedefs old_uid_t/old_gid_t are only defined when CONFIG_UID16 is defined, so yes, this is at the heart of the compilation failure. I think the afs source code needs some porting work to handle this. You might want to take a look at include/linux/highuid.h, where there are a bunch of CONFIG_UID16-dependent macros for dealing with setting and converting uid/gid values. If the afs source code used these appropriately, it should be compilable in either scenario. I'm assigning this temporarily to Jim Paradis to validate the above (in expectation this bug report will be closed as NOTABUG). I concur with Ernie. Moving to the 32-bit uid/gid eliminated old_uid_t and old_gid_t. You'll have to modify the code accordingly. |