diff options
| author | Dominik Stolz <d.stolz@tum.de> | 2021-03-10 11:21:01 +0100 |
|---|---|---|
| committer | Dominik Stolz <d.stolz@tum.de> | 2021-07-21 10:49:11 +0200 |
| commit | c3321d3eb3bdf8655993c4564ad6569c4c849b59 (patch) | |
| tree | 4e2cd9273a0b90a53c029e909801db485efb2412 /library/std/src | |
| parent | 619fd96868b2cc83b7f205ff11ff897aebb5ef93 (diff) | |
| download | rust-c3321d3eb3bdf8655993c4564ad6569c4c849b59.tar.gz rust-c3321d3eb3bdf8655993c4564ad6569c4c849b59.zip | |
Add tracking issue and link to man-page
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/os/linux/process.rs | 5 | ||||
| -rw-r--r-- | library/std/src/sys/unix/process/process_unix.rs | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/library/std/src/os/linux/process.rs b/library/std/src/os/linux/process.rs index 435c0227c7e..17b9ae82bce 100644 --- a/library/std/src/os/linux/process.rs +++ b/library/std/src/os/linux/process.rs @@ -1,6 +1,6 @@ //! Linux-specific extensions to primitives in the `std::process` module. -#![unstable(feature = "linux_pidfd", issue = "none")] +#![unstable(feature = "linux_pidfd", issue = "82971")] use crate::io::Result; use crate::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd}; @@ -31,13 +31,14 @@ use crate::sys_common::{AsInner, AsInnerMut, FromInner, IntoInner}; /// /// // The file descriptor will be closed when `pidfd` is dropped. /// ``` -/// Refer to the man page of `pidfd_open(2)` for further details. +/// Refer to the man page of [`pidfd_open(2)`] for further details. /// /// [`Command`]: process::Command /// [`create_pidfd`]: CommandExt::create_pidfd /// [`Child`]: process::Child /// [`pidfd`]: fn@ChildExt::pidfd /// [`take_pidfd`]: ChildExt::take_pidfd +/// [`pidfd_open(2)`]: https://man7.org/linux/man-pages/man2/pidfd_open.2.html #[derive(Debug)] pub struct PidFd { inner: FileDesc, diff --git a/library/std/src/sys/unix/process/process_unix.rs b/library/std/src/sys/unix/process/process_unix.rs index f7112a73efa..4b210d6af13 100644 --- a/library/std/src/sys/unix/process/process_unix.rs +++ b/library/std/src/sys/unix/process/process_unix.rs @@ -693,7 +693,7 @@ impl ExitStatusError { } #[cfg(target_os = "linux")] -#[unstable(feature = "linux_pidfd", issue = "none")] +#[unstable(feature = "linux_pidfd", issue = "82971")] impl crate::os::linux::process::ChildExt for crate::process::Child { fn pidfd(&self) -> io::Result<&PidFd> { self.handle |
