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

fd to /dev/gdrdrv should not be sharable with other processes #62

Closed
pakmarkthub opened this issue Jun 12, 2019 · 1 comment
Closed
Assignees
Milestone

Comments

@pakmarkthub
Copy link
Collaborator

Since struct file in gdrdrv keeps the internal data for the process that opened the file, being able to share the fd can lead to undesired behaviors. Create a unit test to make sure that fd is not sharable:

  • via fork
  • via dup
  • via unix socket
@pakmarkthub
Copy link
Collaborator Author

Merged the PR.

Closing this issue.

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

No branches or pull requests

2 participants