Thread (31 messages) flat view 31 messages, 9 authors, 2017-10-26

Re: [PATCH 1/2 v2] fdmap(2)

From: Pavel Machek <hidden>
Date: 2017-10-25 13:48:04
Also in: lkml

On Wed 2017-10-25 14:45:31, Alexey Dobriyan wrote:
On 10/23/17, Pavel Machek [off-list ref] wrote:
quoted
Binary fdmap looks... quite ugly to me. But close_all(from, to)
syscall kindof makes sense to me... and is not that ugly.

Given that openbsd has something similar... perhaps we can take that?
closefrom() can be implemented on top of fdmap().
fdmap as is is useful for other purposes.
fdmap can be implemented on top of open('/dev/kmem').
open('/dev/kmem') as is is useful for other purposes.

Yes, fdmap is more powerful. No, that does not mean it is better idea.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help