mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Implement RTLD_DEEPBIND.
PR: 246462 Tested by: Martin Birgmeier <d8zNeCFG@aon.at> Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D24841
This commit is contained in:
parent
fd1f4df2be
commit
e00594d962
1 changed files with 3 additions and 2 deletions
|
|
@ -238,8 +238,9 @@ sysctl_hw_pagesizes(SYSCTL_HANDLER_ARGS)
|
|||
|
||||
if (req->flags & SCTL_MASK32) {
|
||||
/*
|
||||
* Recreate the "pagesizes" array with 32-bit elements. Truncate
|
||||
* any page size greater than UINT32_MAX to zero.
|
||||
* Recreate the "pagesizes" array with 32-bit elements.
|
||||
* Truncate any page size greater than UINT32_MAX to zero,
|
||||
* which assumes that page sizes are powers of two.
|
||||
*/
|
||||
for (i = 0; i < MAXPAGESIZES; i++)
|
||||
pagesizes32[i] = (uint32_t)pagesizes[i];
|
||||
|
|
|
|||
Loading…
Reference in a new issue