62bd0253f0
This includes Docker containers to perform the StarlingX build and a set of scripts to maintain a local mirror of binary CentOS and other packages required to populate the final ISO file. Change-Id: I8140fd8fa2d00e7aa98c895a8e4962ab3748669d
19 lines
333 B
C
19 lines
333 B
C
#include <unistd.h>
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char *const argv[])
|
|
{
|
|
int rc;
|
|
rc = setuid(0);
|
|
if ( rc != 0 )
|
|
{
|
|
printf("setuid returned %d\n", rc);
|
|
exit(1);
|
|
}
|
|
|
|
return execv("/usr/bin/overlay_umount.sh", argv);
|
|
}
|