Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sbin/md5/md5.c | ||
---|---|---|
223 | Is READ really all we need? |
sbin/md5/md5.c | ||
---|---|---|
226 | Do we want separate cap_enter? I would put only one place where we call that. |
sbin/md5/md5.c | ||
---|---|---|
222 | I should add a comment here mentioning that we only enter capability mode on the last file. | |
223 | Yes, I believe so. MDXFdChunk which calls lseek if an offset is specified, but when the offset is zero (as is the case with MDXFd) it just calls read in a loop. | |
226 | It's slightly awkward right now because (in this initial approach) I want to do it on the last file or immediately for acting as a filter. I think it is indeed easier to reason about if the program can be split up into some pre-sandbox code, cap_enter, then the sandboxed functionality, but it can't be done easily here yet. |