2002-05-03 Christopher January * fhandler_proc.cc (fhandler_proc::open): Change use of mode to flags. If the file does not exist already, fail with EROFS if O_CREAT flag is set. Change EROFS error to EACCES error when writing to a file. * fhandler_process.cc (fhandler_process::open): Change use of mode to flags. If the file does not exist already, fail with EROFS if O_CREAT flag is set. Change EROFS error to EACCES error when writing to a file. * fhandler_registry.cc (fhandler_registry::open): Change use of mode to flags. If the file does not exist already, fail with EROFS if O_CREAT flag is set. Change EROFS error to EACCES error when writing to a file. Move check for open for writing before open_key. * path.cc (path_conv::check): Do not return ENOENT if a file is not found in /proc. * fhandler_virtual.cc (fhandler_virtual::write): Change EROFS error to EACCES error.