Changes between Initial Version and Version 1 of Ticket #18945, comment 2
- Timestamp:
- Oct 8, 2019 11:38:02 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18945, comment 2
initial v1 122 122 }}} 123 123 There is no comment left in the code as to why that had been introduced. 124 Maybe we should just disable it for the 5.4.0 kernel only though init ally.125 How ver looking around in the code, there's is more code involved around124 Maybe we should just disable it for the 5.4.0 kernel only though initially. 125 However looking around in the code, there's is more code involved around 126 126 the executable pages. In Trunk we find: 127 127 … … 143 143 352 } while (0) 144 144 353 #endif 145 145 }}} 146 146 C symbol: MY_SET_PAGES_EXEC 147 {{{ 147 148 File Function Line 148 149 0 the-linux-kernel.h <global> 340 #define MY_SET_PAGES_EXEC(pPages, cPages) set_pages_x(pPages, … … 301 302 302 303 1) 303 Only on Linux we apparently have this request for executable kernel memory.304 Only on Linux we apparently have this request for executable kernel pages? 304 305 305 306 2) … … 321 322 other time we do it only for kernels lower then KERNEL_VERSION(2, 4, 22). 322 323 Ie. the first form does include kernel versions 2.4.21/22 and will exclude 323 kernel versions 2.4.2 9and below while324 kernel versions 2.4.20 and below while 324 325 the second form does include kernel versions 2.4.21/20 and will exclude 325 326 kernel versions 2.4.22 and above. … … 366 367 }}} 367 368 368 which finally brings us to the place where we load code 369 at such and execute it: 369 which finally brings us to one place where we load code and execute it: 370 370 371 371 trunk/src/VBox/Devices/testcase/tstDevice.cpp … … 408 408 409 409 Functions calling this function: RTMemExecAllocTag 410 410 {{{ 411 411 File Function Line 412 412 0 mem.h RTMemExecAlloc 388 #define RTMemExecAlloc(cb) RTMemExecAllocTag((cb), RTMEM_TAG) 413 413 }}} 414 414 trunk/include/iprt/mem.h 415 415 {{{ … … 453 453 454 454 A lot of this is obviously related to the recompiler 455 but also to the runtime .455 but also to the runtime itself.