Skip to content
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

taint process output #270

Merged
merged 5 commits into from
Mar 29, 2019
Merged

taint process output #270

merged 5 commits into from
Mar 29, 2019

Conversation

frasertweedale
Copy link
Member

Part of: #269

This commit adds the Purebred.Types.IFC module for information flow
control (IFC) types and functions.  We begin with a trivial taint
mechanism.  A single aspect of the implementation - tryRunProcess -
is updated to use it, for demonstration and review purposes.

Part of: #269
Taint sendmail stderr.  Also re-export some typed-process
ProcessConfig-related types and functions from
Purebred.System.Process.  This is a move to avoid importing
System.Process.Typed anywhere in purebred, except this one module,
ensuring that all the "run process" functions that are available
taint the process output.

Part of: #269
Create tainting version of readProcess and update
Storage.Notmuch.getDatabasePath to use it.

Part of: #269
Re-export 'shell' from Purebred.System.Process so that we can avoid
directly importing System.Process.Typed anywhere (except the
aforementioned module).  We want to avoid using typed-process
directly; instead we want to ensure we use our own variants that
taint the process output.

Part of: #269
@romanofski romanofski merged commit 1255c0c into master Mar 29, 2019
@romanofski romanofski deleted the taint branch March 29, 2019 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants