History log of /fuchsia/zircon/third_party/ulib/musl/src/mman/munmap.c
Revision Date Author Comments
# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 88f5c997 02-Jun-2017 Roland McGrath <mcgrathr@google.com>

[third_party][ulib][musl] Use real functions for "self" handle accessors

This puts the __magenta_*_self variables back where they belong, as
internal private variables in libc. The _mx_*_self accessor functions
are real functions again. To optimize uses inside libc itself, they
are defined internally as macros.

Change-Id: I4cc8a2616018b04e3743cc73ce9beacd280dea09


# fa0c43f7 10-Apr-2017 George Kulakowski <kulakowski@google.com>

[musl] Remove unneeded VM lock

On Linux musl, this is used to serialize access to mmap()ed memory
related to robust mutex unwinding. We do not support this mechanism,
and so do not need the serialization. In particular, we also do not
need userspace synchronization to implement MAP_FIXED safely.

Change-Id: Iaf8cd1b5cdc5d4518fc3f1e6455578cb36da981a


# 682950da 17-Feb-2017 George Kulakowski <kulakowski@google.com>

[musl][magenta] Move process handle header into magenta

Change-Id: I00eb8f5ca7fbaf9297f3b1e5b391be00ce5d11e2


# 89aa3a67 02-Dec-2016 Todd Eisenberger <teisenbe@google.com>

[musl] Make munmap only act on the given range

Previously, munmap would ignore the *len* argument and unmap
the entire mapping that contained *start*.

Change-Id: I9905cc7558d4c6047ed5eb7b69c0b5392f98b955


# ed3135e4 22-Nov-2016 Todd Eisenberger <teisenbe@google.com>

[vmar][musl] Update musl to use VMAR interfaces

Change-Id: Iecc93bc57634a0b1bc080b3260c703dc53fb00be


# 6ef5888c 29-Oct-2016 Jeff Brown <jeffbrown@google.com>

[headers] declare a slot for the process handle to live in

This change removes a dependency from the public/magenta/syscalls.h
onto third_party/ulib/musl/include/magenta/process.h where
mx_process_self() was previously declared. Instead, we declare
a slot in public/magenta/internal.h where the runtime is expected
to store the process handle and provide an inline accessor for it.

Change-Id: I04f080beca3ccef554b148aa0ff67a66ba189b33


# a3d7e591 01-Sep-2016 Roland McGrath <mcgrathr@google.com>

[ulib][magenta][runtime][musl] Give system calls _mx_* names, use them in musl

The mx_* name space is not kosher for the standard C library to use
for its own purpose. A conforming standard C program can define its
own functions called mx_* and this must not break the C library.

Give all the system call entry points in the vDSO names starting
with _mx_, with the old mx_ names as aliases. Use only the _mx_
names in runtime and musl.

Change-Id: Id01b57b87c0bb91733e9492159401ff019943822


# dc1fd725 29-Aug-2016 Brian Swetland <swetland@google.com>

[magenta][syscalls] migrate all syscalls to the new names

If DEPCRECATE_COMPAT_SYSCALLS is defined, flag the compatibility
wrappers with the deprecated attribute.

Enable this in the Magenta build only for now.

Change-Id: I422b1294d9db2e56551eca65dede0e5d83f8b363


# 618d51b3 04-Aug-2016 Roland McGrath <mcgrathr@google.com>

[ulib] [musl] Prepare code for using proc-self handle

This should cover all the uses of the process handle in ld.so/libc.
This is in preparation for launchpad passing the process handle and
the kernel requiring it in calls. But actually setting the value is
disabled for now, since there isn't one we can use yet.

Change-Id: I70fb363151726d0ac6537a4b0358edecadf3b5eb


# 0f4cb216 12-Jul-2016 Tim Kilbourn <tkilbourn@google.com>

[musl] First implementation of munmap.

This first pass does not support arbitrary unmappings, but appears to
handle the cases needed in malloc/free for musl.

Issue: MG-115
Change-Id: Ifecd0e70ef2e76c1502be870e6d43f49d8795e29


# 53b9e1c8 15-Jun-2016 The Fuchsia Authors <authors@fuchsia.local>

[magenta] Initial commit