Page MenuHomeFreeBSD

Capsicumize soelim(1)
ClosedPublic

Authored by bapt on Sep 18 2016, 10:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 6:04 AM
Unknown Object (File)
Wed, Dec 18, 1:58 PM
Unknown Object (File)
Wed, Dec 11, 10:01 PM
Unknown Object (File)
Fri, Nov 29, 2:29 AM
Unknown Object (File)
Fri, Nov 29, 2:29 AM
Unknown Object (File)
Fri, Nov 29, 2:29 AM
Unknown Object (File)
Fri, Nov 29, 2:29 AM
Unknown Object (File)
Fri, Nov 29, 2:29 AM
Subscribers

Details

Summary

Given it expects multiple files in arguments, open / first and then only
usr openat to open the various files.

In order to include files in the current directory we add it to the list of
includes in first argument

Test Plan

Passes the testsuite

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bapt retitled this revision from to Capsicumize soelim(1).
bapt updated this object.
bapt edited the test plan for this revision. (Show Details)
bapt added reviewers: oshogbo, emaste, allanjude, cem.

Close the fd on / when exiting

Fix typo in error message

allanjude edited edge metadata.

looks good to me. Might be able to be improved once casper has filesystem services

This revision is now accepted and ready to land.Sep 18 2016, 4:17 PM
This revision was automatically updated to reflect the committed changes.
head/usr.bin/soelim/soelim.c
60

Style should be one free line if there is no variables.

78

Can fail.

89

Can fail.

159

getcwd - can fail.

197

Can fail.

head/usr.bin/soelim/soelim.c
187

Dot on the on of the comment ;P