]> git.ipfire.org Git - thirdparty/glibc.git/commit
TODO(uapi): narrow capability in mmap and mremap
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 5 Aug 2022 10:44:57 +0000 (11:44 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 12 Oct 2022 13:22:03 +0000 (14:22 +0100)
commitafbfdd28bd9006bfd1f07a41227bf9b1820df4ba
tree4dc1b0fe0a6aa7deb3525def329e20ad6d3a3e8d
parentc3d2d246c533630dbe24aa0d80726b541160e3cb
TODO(uapi): narrow capability in mmap and mremap

This is a temporary workaround.

length is rounded up to pagesize and don't use exact bound (bounds
will be larger if exact value is not representable).

TODO: kernel should do this
sysdeps/unix/sysv/linux/mmap64.c
sysdeps/unix/sysv/linux/mremap.c