MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4462
Loc: Melbourne, Australia
Send PM
Re: Compiling MAME
03/09/16 11:03 AM


> > > When compiling MAME, UAC should be disabled at all or at least run the batch file
> > > with Admin privileges. It happens here sometimes too.
> >
> > That's very bad advice - compilers aren't security audited and shouldn't be run
> > outside the user sandbox. The issue described is caused by windows file locking
> > behaviour when multiple processes try to access the same file for writing in rapid
> > succession. Disabling UAC or running as administrator will do nothing to fix it.
>
> Ok, could you please tell me what are the security issues I could encounter if I
> compile MAME with UAC disabled (which gives me a small speedup don't ask me why and
> less probabilities in encounter the file writing issue) at home with internet access
> disabled? Are there security issues in the MSYS2 package?

The code is not security audited, it could overwrite system files or registry registry keys or just behave badly in general. MAME also isn't security audited and should never be run as administrator/root. There are many potential stack smash bugs with potential to do more damage if running with elevated privileges.







Entire thread
Subject Posted by Posted on
* Compiling MAME joey35car 03/09/16 04:16 AM
. * Re: Compiling MAME joey35car  03/10/16 12:59 AM
. * Re: Compiling MAME B2K24  03/09/16 04:22 AM
. * Re: Compiling MAME joey35car  03/09/16 05:07 AM
. * Re: Compiling MAME B2K24  03/09/16 05:18 AM
. * Re: Compiling MAME joey35car  03/09/16 07:21 AM
. * Re: Compiling MAME krick  03/09/16 09:22 PM
. * Re: Compiling MAME YuiFAN  03/09/16 08:33 AM
. * Re: Compiling MAME Dullaron  03/09/16 09:09 AM
. * Re: Compiling MAME Mamesick  03/09/16 10:03 AM
. * Re: Compiling MAME Vas Crabb  03/09/16 10:37 AM
. * Re: Compiling MAME Mamesick  03/09/16 10:42 AM
. * Re: Compiling MAME Vas Crabb  03/09/16 11:03 AM
. * Re: Compiling MAME Mamesick  03/09/16 11:20 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 350 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2047