Lines Matching full:rights

47 .Fn cap_rights_init "cap_rights_t *rights" "..."
49 .Fn cap_rights_set "cap_rights_t *rights" "..."
51 .Fn cap_rights_clear "cap_rights_t *rights" "..."
53 .Fn cap_rights_is_set "const cap_rights_t *rights" "..."
55 .Fn cap_rights_is_empty "const cap_rights_t *rights"
57 .Fn cap_rights_is_valid "const cap_rights_t *rights"
69 Capability rights should be separated with comma when passed to the
78 cap_rights_set(&rights, CAP_READ, CAP_WRITE, CAP_FSTAT, CAP_SEEK);
81 The complete list of the capability rights can be found in the
82 .Xr rights 4
91 For convenience the structure can be filled with capability rights instead of
99 cap_rights_t rights;
101 if (cap_rights_limit(fd, cap_rights_init(&rights, CAP_READ, CAP_WRITE)) < 0)
102 err(1, "Unable to limit capability rights");
107 function adds the given capability rights to the given
113 function removes the given capability rights from the given
119 function checks if all the given capability rights are set for the given
126 .Fa rights
137 function merges all capability rights present in the
145 function removes all capability rights present in the
155 structure contains all capability rights present in the
172 .Fa rights
189 if all the given capability rights are set in the
190 .Fa rights
197 if none of the capability rights are set in the
198 .Fa rights
213 if all capability rights set in the
225 cap_rights_t rights;
232 cap_rights_init(&rights, CAP_FSTAT, CAP_READ);
235 cap_rights_set(&rights, CAP_WRITE, CAP_SEEK);
238 cap_rights_clear(&rights, CAP_SEEK);
240 if (cap_rights_limit(fd, &rights) < 0 && errno != ENOSYS)
247 .Xr rights 4