Push file descriptor and process code#35
Open
xch89820 wants to merge 8 commits intoebranca:masterfrom
Open
Conversation
Add pysec.sys to setup.py Add unittest for process module
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.
Add get_inheritable and set_inheritable function in unistd
Add “rich comparison” methods for FD class
Add dup function for copy a file descriptor
Add FDUtils class contained some uesful function like iteratoring all fds in current process
Add sys.process,sys.psignal,sys.popen,sys.utils modules
Add pysec.sys to setup.py
Add the default user and group config. When installing, we will create a new user and group named pysec which can help us to limit privilege when execute an untrust script.
Add unittest