Page MenuHomeFreeBSD

Capsicumize soelim(1)
ClosedPublic

Authored by bapt on Sep 18 2016, 10:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 10, 3:22 PM
Unknown Object (File)
Sun, Mar 3, 7:31 AM
Unknown Object (File)
Sun, Mar 3, 7:08 AM
Unknown Object (File)
Jan 16 2024, 11:32 AM
Unknown Object (File)
Jan 16 2024, 4:18 AM
Unknown Object (File)
Jan 1 2024, 1:32 PM
Unknown Object (File)
Jan 1 2024, 1:32 PM
Unknown Object (File)
Jan 1 2024, 1:32 PM
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