Hello,
I am working on BSM trail analysis.
I can't manage to get the return value of a program (or a unix command).
After a process is executed I have in my file :
- event AUE_EXECVE [
* header : ...
* path : <prog>
* attribute: ...
* subject : ...<pid>...
* return : success,0 ]
....
- event AUE_EXIT [
* header : ...
* subject : ...<pid>...
* return : success,0 ]
....
Whatever is the return value of my program.
For instance with a C program essai of the form :
...
main {
...
exit(2);
}
With a shell :
% echo $?
I have 2.But in my log file I still have return : success,0.
Is it possible (and how?) to get this return value from my log file ?
Thanks.
GG
Je fais de l'analyse de log BSM et je n'arrive pas rcuprer le code
de retour d'un programme ou d'une commande unix lance