WIP: Python bindings - #14
Open
fabianfreyer wants to merge 21 commits into
Open
Conversation
fabianfreyer
force-pushed
the
python-bindings
branch
from
July 7, 2018 05:47
7956a1a to
cef0998
Compare
Contributor
Author
|
Adding the parameter set logic will require this to be based off #15. This allows us to do stuff like this: #!/usr/bin/env python3
import jail
config = jail.StoppedJail("/", parameters={"osrelease": "FnordBSD 42.023"})
running = config.start()
print(running.parameters) |
fabianfreyer
force-pushed
the
python-bindings
branch
from
July 8, 2018 15:57
f96afc0 to
b313305
Compare
fabianfreyer
force-pushed
the
python-bindings
branch
3 times, most recently
from
December 28, 2018 02:30
4fbd00c to
b76a456
Compare
igalic
reviewed
Dec 28, 2018
igalic
left a comment
There was a problem hiding this comment.
all of these types look pretty much the same to me, or am i missing something?
Contributor
Author
|
@igalic what types? |
|
the |
fabianfreyer
force-pushed
the
python-bindings
branch
from
December 29, 2018 20:07
b76a456 to
f5d559f
Compare
Contributor
Author
|
@igalic thanks for taking a look!
|
fabianfreyer
force-pushed
the
python-bindings
branch
9 times, most recently
from
January 2, 2019 12:46
64e5f2c to
e5563a7
Compare
igalic
reviewed
Jan 2, 2019
| j.stop() | ||
|
|
||
| def test_start_stop_jail(benchmark): | ||
| s = StoppedJail('/rescue') |
fabianfreyer
force-pushed
the
python-bindings
branch
3 times, most recently
from
January 2, 2019 15:24
23b24f6 to
ffbfab8
Compare
This commit contains only code movement.
fabianfreyer
force-pushed
the
python-bindings
branch
2 times, most recently
from
January 2, 2019 18:06
c02527a to
43f1f8e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #13
Includes (merge these first, then rebase):
Features
RACCTstatisticswait,try_waitread_stdout(count) -> bytearray,read_stderr(count) -> bytearraywrite_stdin(bytearray) -> bytes_writtenreadall_stdout_str() -> str,readall_stderr_str() -> strblocking until eofwrite_stdin_str(str)flush_stdin()Jls)