Skip to content

Commit f23b30c

Browse files
committed
Add tracking issue and link to man-page
1 parent ed86f6e commit f23b30c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

library/std/src/os/linux/process.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Linux-specific extensions to primitives in the `std::process` module.
22
3-
#![unstable(feature = "linux_pidfd", issue = "none")]
3+
#![unstable(feature = "linux_pidfd", issue = "82971")]
44

55
use crate::io::Result;
66
use crate::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
@@ -31,13 +31,14 @@ use crate::sys_common::{AsInner, AsInnerMut, FromInner, IntoInner};
3131
///
3232
/// // The file descriptor will be closed when `pidfd` is dropped.
3333
/// ```
34-
/// Refer to the man page of `pidfd_open(2)` for further details.
34+
/// Refer to the man page of [`pidfd_open(2)`] for further details.
3535
///
3636
/// [`Command`]: process::Command
3737
/// [`create_pidfd`]: CommandExt::create_pidfd
3838
/// [`Child`]: process::Child
3939
/// [`pidfd`]: fn@ChildExt::pidfd
4040
/// [`take_pidfd`]: ChildExt::take_pidfd
41+
/// [`pidfd_open(2)`]: https://man7.org/linux/man-pages/man2/pidfd_open.2.html
4142
#[derive(Debug)]
4243
pub struct PidFd {
4344
inner: FileDesc,

library/std/src/sys/unix/process/process_unix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ impl fmt::Display for ExitStatus {
652652
}
653653

654654
#[cfg(target_os = "linux")]
655-
#[unstable(feature = "linux_pidfd", issue = "none")]
655+
#[unstable(feature = "linux_pidfd", issue = "82971")]
656656
impl crate::os::linux::process::ChildExt for crate::process::Child {
657657
fn pidfd(&self) -> io::Result<&PidFd> {
658658
self.handle

0 commit comments

Comments
 (0)