summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/mlock.c
AgeCommit message (Collapse)Author
2018-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers
* All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. * locale/programs/charmap-kw.h: Regenerated. * locale/programs/locfile-kw.h: Likewise.
2017-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers
2016-01-04Update copyright dates with scripts/update-copyrights.Joseph Myers
2015-07-09hurd: permit to use mlock from non-root processSamuel Thibault
* sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports returns an error, also try to use host port from __mach_host_self for the __vm_wire call. * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2012-05-10Hurd: Fix mlock in all cases except non-readable pages.Samuel Thibault
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2001-07-06Update to LGPL v2.1.Andreas Jaeger
2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
2001-04-19* sysdeps/mach/hurd/mlock.c: New file.Roland McGrath
* sysdeps/mach/hurd/munlock.c: New file. * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it. * misc/Makefile (routines): Add mlock munlock mlockall munlockall. * sysdeps/generic/mlock.c: New file. * sysdeps/generic/munlock.c: New file. * sysdeps/generic/mlockall.c: New file. * sysdeps/generic/munlockall.c: New file. * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros. * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock, mlockall, munlockall): Change caller field to - from EXTRA. Don't use __ names; not used (and not declared in include/sys/mman.h).