mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 17:33:23 +00:00
Add devpts to support the ptmx
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
04db7c8c3d
commit
4f00e5a167
@ -1,4 +1,5 @@
|
||||
mod null;
|
||||
mod pty;
|
||||
mod random;
|
||||
pub mod tty;
|
||||
mod urandom;
|
||||
@ -22,5 +23,6 @@ pub fn init() -> Result<()> {
|
||||
add_node(random, "random")?;
|
||||
let urandom = Arc::new(urandom::Urandom);
|
||||
add_node(urandom, "urandom")?;
|
||||
pty::init()?;
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user