PR misc/54382: whenever open(2) is called with O_CREAT, make sure topass an open mode argument.
PR/51809: Ngie Cooper: fix file descriptor leak
Few naive checks for cpuset(3) and ftok(3).