Skip to content

Commit c3321d3

Browse files
committed
Add tracking issue and link to man-page
1 parent 619fd96 commit c3321d3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

+3-2
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ impl ExitStatusError {
693693
}
694694

695695
#[cfg(target_os = "linux")]
696-
#[unstable(feature = "linux_pidfd", issue = "none")]
696+
#[unstable(feature = "linux_pidfd", issue = "82971")]
697697
impl crate::os::linux::process::ChildExt for crate::process::Child {
698698
fn pidfd(&self) -> io::Result<&PidFd> {
699699
self.handle

0 commit comments

Comments
 (0)