Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Upcoming

-[[#245](https://github.com/rust-vmm/vmm-sys-util/pull/245)]: Make sock_ctrl_msg support macos.

## v0.14.0

### Changed
Expand Down
2 changes: 1 addition & 1 deletion rust-vmm-ci
4 changes: 2 additions & 2 deletions src/fam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl<T: Default + FamStruct> FamStructWrapper<T> {
/// # Arguments
///
/// * `entries` - The slice of [`FamStruct::Entry`](trait.FamStruct.html#associatedtype.Entry)
/// entries.
/// entries.
///
/// # Errors
///
Expand Down Expand Up @@ -483,7 +483,7 @@ impl<T: Default + FamStruct> FamStructWrapper<T> {
/// # Arguments
///
/// * `f` - The function used to evaluate whether an entry will be kept or not.
/// When `f` returns `true` the entry is kept.
/// When `f` returns `true` the entry is kept.
pub fn retain<P>(&mut self, mut f: P)
where
P: FnMut(&T::Entry) -> bool,
Expand Down
2 changes: 1 addition & 1 deletion src/linux/aio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl IoContext {
/// # Arguments
/// * `iocb`: The iocb for the operation to be canceled.
/// * `result`: If the operation is successfully canceled, the event will be copied into the
/// memory pointed to by result without being placed into the completion queue.
/// memory pointed to by result without being placed into the completion queue.
pub fn cancel(&self, iocb: &IoControlBlock, result: &mut IoEvent) -> Result<()> {
// SAFETY: It's safe because parameters are valid and we have checked the result.
let rc = unsafe {
Expand Down
4 changes: 2 additions & 2 deletions src/linux/epoll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ impl Epoll {
/// # Arguments
///
/// * `timeout` - specifies for how long the `epoll_wait` system call will block
/// (measured in milliseconds).
/// (measured in milliseconds).
/// * `events` - points to a memory area that will be used for storing the events
/// returned by `epoll_wait()` call.
/// returned by `epoll_wait()` call.
///
/// # Examples
///
Expand Down
1 change: 0 additions & 1 deletion src/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ pub mod fallocate;
pub mod poll;
pub mod seek_hole;
pub mod signal;
pub mod sock_ctrl_msg;
pub mod timerfd;
pub mod write_zeroes;
1 change: 1 addition & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright 2022 rust-vmm Authors or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: BSD-3-Clause
pub mod file_traits;
pub mod sock_ctrl_msg;
pub mod tempdir;
pub mod terminal;
Loading