pub struct LinuxProcess { /* private fields */ }
Expand description

Linux specific process information.

Implementations

Lookup INode from the process.

  • If path is relative, then it is interpreted relative to the directory referred to by the file descriptor dirfd.

  • If the dirfd is the special value AT_FDCWD, then the directory is current working directory of the process.

  • If path is absolute, then dirfd is ignored.

  • If follow is true, then dereference path if it is a symbolic link.

Lookup INode from the process.

see lookup_inode_at

Create a new process.

Get futex object.

Get lowest free fd

get the lowest available fd great than or equal to start.

Add a file to the file descriptor table.

Add a socket to the fd table.

Add a file to the file descriptor table at given fd.

get and set file limit number

Get the File with given fd.

Get the FileLike with given fd.

get all files

Close file descriptor fd.

Get root INode of the process.

Get parent process.

Get current working directory.

Change working directory.

Get execute path.

Set execute path.

Get signal action.

Set signal action.

Close file that FD_CLOEXEC is set

Insert a SemArray and return its ID

Get an semaphore set by id

Add an undo operation

Remove an SemArray by ID

get ShmId from Virtual Addr

get the ShmIdentifier from shm_identifiers

Delete the ShmIdentifier from shm_identifiers

Insert the SharedGuard and return its ID

Set Virtual Addr for shared memory

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Performs the conversion.

Casts the value.

Casts the value.

Casts the value.

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.

Casts the value.

Casts the value.