Re: How to signal kernel that shared library is not in use by any process anymore ?

Shachar Shemesh <[email protected]> Sat, 5 Jan 2019 12:14:13 +0200
Newsgroups gmane.linux.region.israel
Message-ID <[email protected]>
On 05/01/2019 10:36, Lev Olshvang
wrote:

Since I knew that mmap needs file descriptor I assumed ( and did
not checked man page) that munmap need file descriptor.

That's not true either, actually. Mmap absolutely does not need
a file descriptor. It only needs one if you want it to be a memory
mapping of a file.

Shachar

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il