tsgates / mbox

A lightweight sandbox tool for non-root users
http://pdos.csail.mit.edu/mbox/
657 stars 45 forks source link

Hijack arg when opening /dev or /proc to avoid TOCTTOU problems #25

Closed boklm closed 10 years ago

boklm commented 10 years ago

If we don't hijack the arg when opening /dev or /proc paths, an other thread could overwrite it after the check.