It returns with ENOENT after using set_fs.
same code works for me. take a look at this http://www.linuxjournal.com/article/8110 there is a example given at the end. HTH
-- Vivek Kutal
-- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ