File:  [Research Unix] / researchv10no / cmd / v8.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

main(argc, argv)
char **argv;
{
	if (chroot("/v8") < 0) {
		printf("v8: can't chroot\n");
		exit(1);
	}
	chdir(argc>1? argv[1]: "/");
	umask(02);
	setgid(4);
	setuid(3);
	execl("/bin/sh", "-", 0);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.