tailhook / unshare

The low-level linux containers creation library for rust
Apache License 2.0
124 stars 27 forks source link

stop CloneFlags implementation leak #9

Closed nivkner closed 7 years ago

nivkner commented 7 years ago

Hello @tailhook,

As you noted in #8, the changes I made caused CloneFlags to be exposed outside of the library. To solve that I made a free function so it could be public within the library, and made to_clone_flags return c_int Instead.

nivkner commented 7 years ago

Never mind didn't see new commits