Search Results

Search: Posts Made By: manolo123
Forum: Programming 01-11-2012
1,910
Posted By manolo123
Relationship between exceptions and signals
Hi everyone,

I am using AIX 6.1. There are exception codes defined in header file

sys/m_except.hAlso, in the documentation (in "Understanding exception handling") it says:


If no exception...
Forum: AIX 06-22-2011
5,932
Posted By manolo123
If anyone was wandering, switching to AIX 6.1 did...
If anyone was wandering, switching to AIX 6.1 did the trick. Documentation for 6.1 states that mprotect for text segment will work with MPROTECT_TXT env variable set to ON and it does. Documentation...
Forum: AIX 05-05-2011
5,932
Posted By manolo123
Thank you for a quick reply. I don't think...
Thank you for a quick reply.

I don't think that's the problem since the routine works well when performed on non-text segment (for example on page which contains area acquired via malloc).

I...
Forum: AIX 05-05-2011
5,932
Posted By manolo123
I've been trying to get over this problem for...
I've been trying to get over this problem for some time now, without success. I use type intptr_t as you advised:


uintptr_t ptr2 = iar;
Then I have a loop with mprotect:
...
Forum: AIX 04-13-2011
5,932
Posted By manolo123
mprotect fails with ENOMEM in text segment
Hi guys,

I use AIX version 5 on IBM Power 5+ machine. I am currently trying to experiment with sort of self-modifying code, like this:


ucontext_t ut;
getcontext(&ut);
int iar =...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 01:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy