-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
towards ncm-ncd
in -T
#82
Comments
@ajf8 can you check how many of our internal components this would break please? |
most our failures were related to LC chown, we could switch to CAF::Path and untaint there (but CAF::Path currently does not untaint) |
Discussion from the workshop: the profile should be untainted automatically. No amount of untainting will protect us from a profile that setuids However, components should untaint inputs from the file system or from subprocesses. Workshop seems to like the idea of The first step could be to use Test::Taint during tests. If this is the path to go, please remember that the |
Morgan Stanley would appreciate if Something like if ($do_taint_that_comes_from_some_config) {
eval "use Taint::Runtime;";
} somewhere. |
Discussed at workshop, does not look like it will happen for 16.10, will leave @stdweird to decide if he wants to set a new milestone. |
Configuration: getTree clears any error causing the failure
currently,
ncm-ncd
has-t
shebang, meaning any taint errors will be reported as warning, but nothing fatal.there are a few paths towards running
ncm-ncd
in-T
ncm-cdispd
config file, and runncm-ncd
asperl -Tw /usr/sbin/ncm-ncd
is some config is setTaint::Runtime
andncm-ncd.conf
NoActionSupported
this also requires that the unit tests for the components run in
-T
The text was updated successfully, but these errors were encountered: