[Qt-qml] QML/QDeclarativeView and writable-executable memory
Pertti Kellomäki
pertti.kellomaki at nokia.com
Thu Feb 17 13:13:44 CET 2011
When looking at the memory usage of QML applications from /proc on Linux
(Ubuntu 10.10), I noticed that there is a 16kb segment of memory which
is both writable and executable. There are a couple of others, but they
seem to be related to my nvidia drivers.
This is a tad worrying, as writable and executable memory is a potential
security hole. Can someone explain what this memory segment is for? Is
it e.g. related to a jit?
This is what the segment looks like in /proc:
b34fd000-b3501000 rwxp 00000000 00:00 0
Size: 16 kB
Rss: 4 kB
Pss: 4 kB
Shared_Clean: 0 kB
Shared_Dirty: 0 kB
Private_Clean: 0 kB
Private_Dirty: 4 kB
Referenced: 4 kB
Swap: 0 kB
KernelPageSize: 4 kB
MMUPageSize: 4 kB
Thanks in advance!
--
Pertti
More information about the Qt-qml
mailing list