Page MenuHomeFreeBSD

pseudofs: Simplify pfs_visible_proc
ClosedPublic

Authored by dchagin on Apr 1 2023, 3:20 PM.
Referenced Files
F147262911: D39383.diff
Mon, Mar 9, 1:12 PM
F147262756: D39383.diff
Mon, Mar 9, 1:10 PM
Unknown Object (File)
Sun, Mar 8, 9:15 PM
Unknown Object (File)
Feb 8 2026, 9:18 AM
Unknown Object (File)
Feb 7 2026, 11:41 PM
Unknown Object (File)
Feb 7 2026, 9:04 PM
Unknown Object (File)
Jan 31 2026, 3:22 AM
Unknown Object (File)
Dec 30 2025, 3:28 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Perhaps better to drop visible entirely:

if (proc->p_flag & P_WEXIT)
        return (0);
if (p_cansee(td, proc) != 0)
        return (0);
if (pn->pn_vis && pn_vis(td, proc, pn) == 0)
        return (0);
return (1);
This revision is now accepted and ready to land.Apr 1 2023, 9:58 PM
This revision was automatically updated to reflect the committed changes.