Below is a part of an experiement. I am trying to mprotect the whole of the stack area but mprotect needs page aligned space. I can get the address of the current pointer using ucontext.uc_mcontext.gregs[REG_ESP] . But how do I get the page-size aligned address to use in the mprotect ? and How do I calculate the size of the stack ? This being an experiment, I am also curious if it possible in the first place. If so, would it result in security issues ? . Thanks.

Member Avatar
Member Avatar
+0 forum 8

Hii, My Windows XP laptop goes unusually slow after when I open any program (say Internet Explorer) on it after startup. I suspected I am having a heavy startup so I observed my task manager stats. 1. On startup and stabilizing , my RAM usage is normal and it shows I have enough free memory. 2. If I start any program and use it for a minute, the problem starts. 3. On observing task manager again, I found that [B]my free RAM has dropped very low, used RAM is also low[/B], [B]but the Pageing size has increased a lot[/B]. I …

Member Avatar
Member Avatar
+0 forum 7

hai I have a grid that include paging and i created pagesize drop down for page sizing. I use PreRender event for displaying this pagerrow even if the row count not exeeds the pagesize. My problem is, in pager row the page index also dispalyed with page size dropdown as '1'. Can i hide it or any other solution for this problem. Thanks in Advance, Sreevidya

Member Avatar
Member Avatar
+0 forum 2

The End.