* Fill the given filecaps structure with full rights. */
| 1718 | * Fill the given filecaps structure with full rights. |
| 1719 | */ |
| 1720 | static void |
| 1721 | filecaps_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. |
no outgoing calls
no test coverage detected