File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
crates/runc/src/asynchronous Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ crossbeam = "0.8.1"
3131futures = " 0.3.19"
3232libc = " 0.2.112"
3333log = {version = " 0.4.2" , features =[" kv_unstable" ]}
34- nix = " 0.29 "
35- oci-spec = " 0.7 "
34+ nix = " 0.30 "
35+ oci-spec = " 0.8 "
3636os_pipe = " 1.1"
3737prctl = " 1.0.0"
3838prost = " 0.13"
Original file line number Diff line number Diff line change 1414 limitations under the License.
1515*/
1616
17- use std:: { fmt:: Debug , io:: Result , os :: unix :: io :: AsRawFd , process:: Stdio } ;
17+ use std:: { fmt:: Debug , io:: Result , process:: Stdio } ;
1818
1919use async_trait:: async_trait;
2020use nix:: unistd:: { Gid , Uid } ;
@@ -67,10 +67,10 @@ impl PipedIo {
6767 let gid = Some ( Gid :: from_raw ( gid) ) ;
6868 if stdin {
6969 let rd = pipe. rd . try_clone ( ) ?;
70- nix:: unistd:: fchown ( rd. as_raw_fd ( ) , uid, gid) ?;
70+ nix:: unistd:: fchown ( rd, uid, gid) ?;
7171 } else {
7272 let wr = pipe. wr . try_clone ( ) ?;
73- nix:: unistd:: fchown ( wr. as_raw_fd ( ) , uid, gid) ?;
73+ nix:: unistd:: fchown ( wr, uid, gid) ?;
7474 }
7575 Ok ( Some ( pipe) )
7676 }
You can’t perform that action at this time.
0 commit comments