MCPcopy Create free account
hub / github.com/F-Stack/f-stack / filecaps_fill

Function filecaps_fill

freebsd/kern/kern_descrip.c:1720–1728  ·  view source on GitHub ↗

* Fill the given filecaps structure with full rights. */

Source from the content-addressed store, hash-verified

1718 * Fill the given filecaps structure with full rights.
1719 */
1720static void
1721filecaps_fill(struct filecaps *fcaps)
1722{
1723
1724 CAP_ALL(&fcaps->fc_rights);
1725 fcaps->fc_ioctls = NULL;
1726 fcaps->fc_nioctls = -1;
1727 fcaps->fc_fcntls = CAP_FCNTL_ALL;
1728}
1729
1730/*
1731 * Free memory allocated within filecaps structure.

Callers 3

_finstallFunction · 0.85
fget_capFunction · 0.85
fgetvp_lookup_smrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected