http://bugs.winehq.org/show_bug.cgi?id=20071
Summary: DeleteFile() gives Error 87 for file created by mknod -m 644 msr c 202 0 Product: Wine Version: 1.1.29 Platform: PC URL: http://rh-software.com/ OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: ray@pobox.co.uk
Created an attachment (id=23629) --> (http://bugs.winehq.org/attachment.cgi?id=23629) Test Program Source, Binary and run log
SIV (http://rh-software.com/) needs to access MSRs which it now does by creating the /dev/cpu/0/msr devices using the mknod command, this works well 'till it tries to detele them when it gets an error 87 Invalid parameter return code. I have created the attached program to show this bug in DeleteFile(). I have tried to get round this by doing the CreateFile() myself. I have tried to find why this is failing, it seems to be in service/file.c within the routine static struct object *create_file().