lkml.org 
[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: dynamic /dev security hole?
From
Date
On Llu, 2004-08-09 at 17:17, Eric Lammerts wrote:
> It's only meant as a fix for the hardlink trick, not against the open
> file descriptor trick. About the latter, if someone still has the
> device opened, how can it go away? And if it doesn't go away, how can
> udev create a new node with the same major/minor?

User closes device
I have linked copy (not open)
Device unloaded
I open the linked copy
This makes new device load for me.


I'm just trying to point out that the order of operations matters here
because the old nodes must all be dead before the new device. Its even
worse for less dynamic numbering.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.044 / U:8.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site