Page MenuHomeFreeBSD

pseudofs: Simplify pfs_visible_proc
ClosedPublic

Authored by dchagin on Apr 1 2023, 3:20 PM.
Referenced Files
Unknown Object (File)
Thu, Oct 2, 3:42 AM
Unknown Object (File)
Thu, Oct 2, 3:09 AM
Unknown Object (File)
Thu, Oct 2, 12:54 AM
Unknown Object (File)
Wed, Oct 1, 3:58 PM
Unknown Object (File)
Wed, Sep 24, 12:56 AM
Unknown Object (File)
Mon, Sep 15, 1:44 AM
Unknown Object (File)
Sun, Sep 14, 4:54 AM
Unknown Object (File)
Sep 7 2025, 1:08 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 50723
Build 47614: arc lint + arc unit

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.