These are sample questions that are very similar to the ones I will ask on the final.
/* return protection mode of the named file */ short int protmode(void) { struct stat stbuf; char inbuf[100];gets(inbuf); stat(inbuf, &stbuf); return(stbuf.st_mode&0777); }
|
ECS 153, Computer Security Version of May 23, 2021 at 9:53PM
|
You can also obtain a PDF version of this. |