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
Unknown Object (File)
Thu, Oct 8, 6:17 AM
Unknown Object (File)
Thu, Oct 8, 1:19 AM
Unknown Object (File)
Tue, Oct 6, 4:59 PM
Unknown Object (File)
Tue, Oct 6, 8:19 AM
Unknown Object (File)
Mon, Oct 5, 2:44 AM
Unknown Object (File)
Mon, Oct 5, 1:19 AM
Unknown Object (File)
Mon, Oct 5, 1:05 AM
Unknown Object (File)
Sun, Oct 4, 11:02 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 77161
Build 74044: arc lint + arc unit

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