Close sec. hole: can exec pgm with more groups than calling user have Include unistd.h and fix few argument old-way things
Close sec. hole: can exec pgm with more groups than calling user have
Include unistd.h and fix few argument old-way things

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase