[libc-commits] [libc] [libc] process mrelease (PR #119147)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Mon Dec 9 10:54:36 PST 2024
================
@@ -0,0 +1,33 @@
+//===---------- Linux implementation of the mrelease function -----------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/sys/mman/process_mrelease.h"
+
+#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
+#include "src/__support/common.h"
+
+#include "src/__support/macros/config.h"
+#include "src/errno/libc_errno.h"
+#include <linux/param.h> // For EXEC_PAGESIZE.
----------------
michaelrj-google wrote:
this isn't using `EXEC_PAGESIZE`. Remove this include.
https://github.com/llvm/llvm-project/pull/119147
More information about the libc-commits
mailing list