This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/1458] mremap() fifth argument and MREMAP_FIXED not exposed in glibc


https://sourceware.org/bugzilla/show_bug.cgi?id=1458

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Arun Sharma from comment #5)
> Making mremap() a function with variable number of arguments changes the ABI
> on
> x86_64. Code compiled before this change will treat %rax as scratch. After
> the
> change, the calling conventions expect %al to be set to the number of XMM
> registers passed.

If the called function does not use any floating point registers, this
difference is immaterial.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]