Should ReactOS copy unnecessary restrictions that Windows has?
The example I'm thinking of is NtSetLdtEntries. In Windows NT (and
currently ReactOS as well), this function will not let you create an LDT
entry whose limit is above the user/kernel barrier. This restriction sounds
like it was made with security in mind, but it doesn't affect security. The
processor's page table will already block access to kernel memory no matter
what selector you use. After all, the default user CS and DS already have a
limit of FFFFFFFF.
Should such a problem be fixed?
Fireball said "no, unless some 3rd party app or driver depends on them" when
I asked about whether such restrictions should be copied. Pretty much the
only thing using NtSetLdtEntries is NTVDM, and this restriction already
causes some DOS programs to break that would otherwise work. (Such programs
are usually setting selectors that wrap the address space.)
Melissa
I've noticed that in the ReactOS source code, there are many places where a
parameter or structure is ULONG when it should really be SIZE_T. Using
ULONG instead of SIZE_T is not portable. It will be difficult to port
ReactOS to x64 and Itanium in the future because of this.
I think the project should stop the bleeding by requiring all new code to
make proper use of ULONG versus SIZE_T. This does mean going against the
documentation of native syscalls on the Internet, but it must be done
sometime.
Of course, I'm not really part of the project...
Melissa
Hi all
Could be all based on wine patches, I can no longer get xchat 2 and the new one to run. I noticed it
can not find the lib directory in the launch directory. Wine has this problem too. Also when
installing the new X-Chat 2 from http://www.silverex.org/download/xchat-2.6.2-1.exe, It installs the
Font to C:\ReactOS\Fonts not C:\ReactOS\media\fonts. I had to create C:\ReactOS\Fonts so I can have
a clean install.
I tested my GGO patch and the SVN and the result are the same.
Okay, wine does this too, I tested it.
(dll/ntdll/ldr/utils.c:2019) Failed to create or open dll section of 'libgtk-win
32-2.0-0.dll' (Status c0000135)
(dll/ntdll/ldr/utils.c:1347) failed to load libgtk-win32-2.0-0.dll
(dll/ntdll/ldr/utils.c:1812) failed to load libgtk-win32-2.0-0.dll
(dll/ntdll/ldr/utils.c:1934) LdrFixupImports() failed for xchat.EXE
(dll/ntdll/ldr/startup.c:485) Failed to initialize image
Then do it from lib, "..\xchat"
(dll/ntdll/ldr/utils.c:2019) Failed to create or open dll section of
'pango-1.8.2/lib/pango/1.4.0/modules/pango-basic-win32.dll"' (Status c0000135)
You will get a popup.
This has been a problem for years!
Thanks,
James
Hi,
I'm getting this with Mozilla, Firefox and SeaMonkey.
KeBugCheck at ntoskrnl/cm/regobj.c:528
A problem has been detected and ReactOS has been shut down to prevent damage to
your computer.
Technical information:
*** STOP: 0x00000051 (0x00000000,0x00000000,0x00000000,0x00000000)
Frames:
<ntoskrnl.exe:1d50 (ntoskrnl/ke/bug.c:493 (KeBugCheckEx))>
<ntoskrnl.exe:1d67 (ntoskrnl/ke/bug.c:514 (KeBugCheck))>
<ntoskrnl.exe:129c6 (ntoskrnl/cm/regobj.c:528 (CmiObjectDelete))>
<ntoskrnl.exe:52c6b (ntoskrnl/ob/oblife.c:151 (ObpDeleteObject))>
<ntoskrnl.exe:1290c (ntoskrnl/cm/regobj.c:523 (CmiObjectDelete))>
<ntoskrnl.exe:52c6b (ntoskrnl/ob/oblife.c:151 (ObpDeleteObject))>
<ntoskrnl.exe:50f4c (ntoskrnl/ob/obhandle.c:153 (ObpDecrementHandleCount))>
<ntoskrnl.exe:510b0 (ntoskrnl/ob/obhandle.c:244 (ObpDeleteHandle))>
<ntoskrnl.exe:52166 (ntoskrnl/ob/obhandle.c:1125 (NtClose))>
<ntoskrnl.exe:66527 (ntoskrnl/ke/i386/trap.s:306 (KiFastCallEntry))>
<ADVAPI32.dll:7dd9 (dll/win32/advapi32/reg/reg.c:1178 (RegDeleteKeyA))>
All three are the same,
James
I cant seem to make a stable qemu install for the release, wmare works
fine though. On the first boot to the installed desktop, it just shuts
down after about 1 sec. I usually see the device wizard pop up for a
sec and then it just turns off. Anyone else having thse problems? Any
hints?
Brandon
Do we have a target harware spec?
Or will ROS be for general harware like regular Windows?
--
Dave Johnson
http://www.davefilms.us DaveFILMS(r)
http://thevoicezone.us The Voice Zone™
Voice Talent
Writer, Producer, Director
Independent Audio Theater Producer
http://www.perditioncity.us
voiceoverjobs(a)gmail.com
Member of the Darker Projects team.
http://www.darkerprojects.comShadoeWorld.com Correspondent
----------------------------------------------------------
Tired of a proprietary Windows on your computer ?
Use free ReactOS instead ( http://www.reactos.org )
0.3.0 is now RC1. Hopefully Brandon will have time to put up RC1 on
SF soon, but those inclined can check out a copy now. While I will
allow a wallpaper to be added before release, anything else needs to
be a bugfix against a bug in Bugzilla.
WD
--
ReactOS is a hub, follow the spokes and you'll
immediately find absolutely everything you need
to know about Windows. ReactOS is not just
software, it's people.
kjk_hyperion