Page MenuHomeFreeBSD

file: Add a helper function to check whether filecaps are full
ClosedPublic

Authored by markj on Tue, Sep 22, 1:52 PM.
Tags
None
Referenced Files
F174205579: D59884.id187396.diff
Thu, Oct 1, 8:49 AM
F174158379: D59884.diff
Thu, Oct 1, 12:30 AM
Unknown Object (File)
Wed, Sep 30, 1:27 AM
Unknown Object (File)
Tue, Sep 29, 8:54 PM
Unknown Object (File)
Tue, Sep 29, 6:11 PM
Unknown Object (File)
Tue, Sep 29, 5:55 PM
Unknown Object (File)
Tue, Sep 29, 4:06 PM
Unknown Object (File)
Tue, Sep 29, 6:01 AM
Subscribers

Details

Summary

In a couple of places we want to know whether someone has limited rights
on an fd. There, we want a predicate which determines whether the set
of rights is smaller than CAP_ALL, and whether there are explicit ioctl
or fcntl lists. Factor this out into a helper function, in preparation
for use elsewhere.

No functional change intended.

Diff Detail

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

Event Timeline

markj requested review of this revision.Tue, Sep 22, 1:52 PM
This revision is now accepted and ready to land.Tue, Sep 22, 2:40 PM