Originally posted by: frish
Hi,
I'm trying to run ADA based process on AIX5.3 (TL5) with TCB enabled.
When I try to execute the process I get a weird error about
storage failure and something with EPERM.
The process works perfectly on AIX5.2 with no TCB, so I did a kernel trace
on both systems and compared the results. I found out that when the process tries to create thread, in the 5.3 system there is additional system call after getuid() which is called privcheck().
It seems that the process doesn't have the appropriate privileges to create the thread. I gave it a root suid and it worked, but I don't like this solution. In 5.2 it runs perfectly with no root suid. Is it a 5.3 or a tcb issue??
How can I specify I want to allow that specific process creating threads but I don't want it to run as root ??
Thanks.
#AIX-Forum