Folks,

we were running LINT against our code and it spewed out the following warning:

warning: avoid using system() as it invokes the shell (E_SEC_SHELL_WARN)

            
Here is the code snippet:


                sprintf (start_command,"%s", "/opt/SUNWdsee/start-slapd");
                (void) system(start_command);

Any suggestions on getting rid of this warning ?

_Durga
 
 
This message posted from opensolaris.org

Reply via email to