Linux ino_t has aliasing issues when truncated to 32b

Registered by Jeff Johnson on 2012-02-15

RPMTAG_FILEINODES in RPM metadata represents a 64bit ino_t
as a uint32_t

RPMTAG_FILEDEVICES similarly represents a 64bit dev_t as uint16_t.

The truncation can cause aliasing issues. There is also information
leakage from the build system regarding inodes/devices.

Instead of truncating, the full value needs to be hashed to 32 bits,
and (for a dev_t) then truncated to 16bits.

Blueprint information

Status:
Complete
Approver:
Jeff Johnson
Priority:
High
Drafter:
Jeff Johnson
Direction:
Needs approval
Assignee:
Jeff Johnson
Definition:
Approved
Series goal:
Accepted for 5.4
Implementation:
Implemented
Milestone target:
milestone icon 5.4.5
Started by
Jeff Johnson on 2012-02-17
Completed by
Jeff Johnson on 2012-02-19

Related branches

Sprints

Whiteboard

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.