Linux kernel -stable discussions
 help / color / mirror / Atom feed
* mmap 0-th page
@ 2024-07-26 10:36 michal.hrachovec
  2024-07-26 10:54 ` Greg KH
  2024-07-31  7:39 ` Jiri Slaby
  0 siblings, 2 replies; 4+ messages in thread
From: michal.hrachovec @ 2024-07-26 10:36 UTC (permalink / raw)
  To: stable; +Cc: regressions

Good afternoon,

I am trying to allocate the 0-th page with mmap function in my code.
I am always getting this error with this error-code: mmap error ffffffff
Then I was searching the internet for this topic and I have found the 
same topic at stackoverflow web pages.

Here I am sending the link:
https://stackoverflow.com/questions/63790813/allocating-address-zero-on-linux-with-mmap-fails

I was setting value of |/proc/sys/vm/mmap_min_add to zero and using the 
root privileges along the link.
And I am having the same problem still.

Can you help, please.

Thank you for the reply.

Michal Hrachovec

|

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-31  7:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-26 10:36 mmap 0-th page michal.hrachovec
2024-07-26 10:54 ` Greg KH
2024-07-31  7:39 ` Jiri Slaby
2024-07-31  7:43   ` Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox