Page MenuHomeFreeBSD

Capsicumize soelim(1)
ClosedPublic

Authored by bapt on Sep 18 2016, 10:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 8 2024, 5:10 PM
Unknown Object (File)
Sep 29 2024, 8:05 PM
Unknown Object (File)
Sep 29 2024, 3:39 PM
Unknown Object (File)
Sep 21 2024, 12:10 PM
Unknown Object (File)
Sep 21 2024, 11:55 AM
Unknown Object (File)
Sep 21 2024, 11:55 AM
Unknown Object (File)
Sep 21 2024, 11:54 AM
Unknown Object (File)
Sep 21 2024, 11:54 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