Re: [PATCH v3] pps: reject N_PPS on pseudo-terminals
From: Hungyu Lin
Date: Fri Dec 04 2026 - 06:51:44 EST
On Fri, Nov 20, 2026 at 2:14 AM Hungyu Lin <dennylin0707@xxxxxxxxx> wrote:
> Attaching N_PPS to a PTY registers a PPS source even though PTYs do not
> report DCD changes. An unprivileged user can exhaust the PPS source IDs
> this way, causing registration of a real PPS source to fail with
> -EBUSY.
Andrew, gentle ping. This has Rodolfo's Acked-by, and it still applies
cleanly to mm-nonmm-unstable.
Ian's info.echo fix, which Rodolfo acked on Dec 1, touches the same
part of pps_tty_open(), so whichever goes in second needs a rebase:
https://lore.kernel.org/all/20261130225404.97988-1-irogers@xxxxxxxxxx/
Could this be picked up?
Thanks,
Hungyu