Re: [security] Race condition in udev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> > > I assumed that it's guaranteed for there to not be any open fds on the
> > > device anymore at unlink() time!?
> > 
> > The entire hardlink thing is purely theoretical and a pretty useless
> > exercise because we are on our own filesystem and can not hardlink
> 
> That's not just the "usual configuration"?
> 
> > anywhere else. But I guess, there can not be any assumptions about no
> > fds open.
> 
> It just occured to me that it doesn't matter for this anyhow - fchmod()
> applies the same checks as chmod(), so anyone (non-privileged and non-root)
> who has an open fd can't fchmod() after the chown() to root anymore.

any reason for not re-adding the second chmod() yet?

Florian
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux