[RHEL 5.4] posix_fadvise() handles its arguments incorrectly in 32-bit compat mode

Solution Verified - Updated -

Issue

  • A program doesn't run correctly on x86_64 if it calls posix_fadvise() and if it is compiled on x86.

Environment

  • Red Hat Enterprise Linux 5 Update 4
  • x86(compiled a program) and x86_64(ran the program)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content