[PATCH] have make_random_dir respect $TMPDIR

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

 



Sorry for getting slightly OT, but this thread is interesting :)

Lennart Poettering a ?crit :
> Abstract Unix sockets still have a single shared namespace for all
> users. That means you still have a DoS vulnerability, because an evil
> user may simple take all well known socket paths before you can take
> them and then you lost, because you don't hve any name to take anymore.

Good point...

But since dbus and Xorg both use abstract sockets, shouldn't they have 
those issues too? (especially Xorg since it has a well known socket 
name, dbus gets by with random environment variables...)

Or am I missing something?

Anyhow, thanks for the insightful comments :)

R?mi



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux