Page MenuHomeFreeBSD

pseudofs: Simplify pfs_visible_proc
ClosedPublic

Authored by dchagin on Apr 1 2023, 3:20 PM.
Referenced Files
F160394807: D39383.diff
Wed, Jun 24, 2:05 AM
Unknown Object (File)
May 17 2026, 11:28 AM
Unknown Object (File)
May 16 2026, 10:36 PM
Unknown Object (File)
May 16 2026, 5:59 PM
Unknown Object (File)
May 15 2026, 7:34 PM
Unknown Object (File)
May 15 2026, 7:33 PM
Unknown Object (File)
May 15 2026, 7:33 PM
Unknown Object (File)
May 15 2026, 7:26 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.