The F_implemented and F_implemented_not are now F_implement and F_implement_not respectively.
if (!ambient) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_ambient_get_
#ifndef _di_f_capability_ambient_reset_
f_status_t f_capability_ambient_reset(void) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_ambient_reset_
#ifndef _di_f_capability_ambient_set_
f_status_t f_capability_ambient_set(const f_capability_value_t value, const f_capability_flag_value_t value_flag) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_ambient_set_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_clear_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_clear_flag_
#ifndef _di_f_capability_compare_
f_status_t f_capability_compare(const f_capability_t capability1, const f_capability_t capability2, int * const flags) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_compare_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_copy_
if (!external) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_copy_external_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_copy_internal_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_delete_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_file_descriptor_get_
#ifndef _di_f_capability_file_descriptor_set_
f_status_t f_capability_file_descriptor_set(const int descriptor, const f_capability_t capability) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_file_descriptor_set_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_file_get_
#ifndef _di_f_capability_file_set_
f_status_t f_capability_file_set(const f_string_static_t path, const f_capability_t capability) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_file_set_
if (!enabled) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_flag_get_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_flag_set_
if (!code) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_from_name_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_from_text_
#ifndef _di_f_capability_groups_set_
f_status_t f_capability_groups_set(const gid_t id_group, const size_t total, const gid_t id_groups[]) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_groups_set_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_initialize_
if (!mode) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_mode_get_
if (!name) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_mode_get_name_
#ifndef _di_f_capability_mode_set_
f_status_t f_capability_mode_set(const f_capability_mode_t mode) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_mode_set_
if (!id_user) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_owner_get_
#ifndef _di_f_capability_owner_set_
f_status_t f_capability_owner_set(const f_capability_t capability, const uid_t id_user) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_owner_set_
if (!bound) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_process_bound_drop_
if (!bound) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_process_bound_get_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_process_get_
if (!capability) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_process_get_by_id_
#ifndef _di_f_capability_process_set_
f_status_t f_capability_process_set(const f_capability_t capability) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_process_set_
if (!bits) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_security_bits_get_
#ifndef _di_f_capability_security_bits_set_
f_status_t f_capability_security_bits_set(const f_capability_bits_t bits) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_security_bits_set_
if (!size) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_size_
if (!name) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_to_name_
if (!text) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // _di_f_capability_to_text_
#ifndef f_capability_user_set
f_status_t f_capability_user_set(const uid_t id_user) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#endif // f_capability_user_set
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* F_support_not (with error bit) if the system does not support ambient capabilities.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
* F_failure (with error bit) on any other failure.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
* F_equal_to on match.
* F_equal_to_not on miss.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
* F_failure (with error bit) on any other failure.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* F_range_not (with error bit) on out of range when processing (external) capability.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* F_range_not (with error bit) on out of range when processing (external) capability.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory (which doesn't make sense here but man page includes this).
* F_parameter (with error bit) if a parameter is invalid.
*
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* F_directory_not (with error bit) if a directory containing the file does not exist.
* F_file_found_not (with error bit) if file was not found.
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_name_not (with error bit) if the file name is too long.
* F_parameter (with error bit) if a parameter is invalid.
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* F_directory_not (with error bit) if a directory containing the file does not exist.
* F_file_found_not (with error bit) if file was not found.
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_name_not (with error bit) if the file name is too long.
* F_parameter (with error bit) if a parameter is invalid.
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* F_directory_not (with error bit) if a directory containing the file does not exist.
* F_file_found_not (with error bit) if file was not found.
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_name_not (with error bit) if the file name is too long.
* F_parameter (with error bit) if a parameter is invalid.
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* F_directory_not (with error bit) if a directory containing the file does not exist.
* F_file_found_not (with error bit) if file was not found.
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_name_not (with error bit) if the file name is too long.
* F_parameter (with error bit) if a parameter is invalid.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
* F_failure (with error bit) on any other failure.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
* F_failure (with error bit) on any other failure.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
*
* F_failure (with error bit) on any other error.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
*
* F_failure (with error bit) on any other error.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
*
* F_failure (with error bit) on any other error.
*
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* F_directory_not (with error bit) if a directory containing the file does not exist.
* F_file_found_not (with error bit) if file was not found.
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_name_not (with error bit) if the file name is too long.
* F_parameter (with error bit) if a parameter is invalid.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_known_not (with error bit) if the code is unknown to the current system.
* F_parameter (with error bit) if a parameter is invalid.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
* F_failure (with error bit) on any other error.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
* F_failure (with error bit) on any other error.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
*
* F_failure (with error bit) on any other error.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* F_range_not (with error bit) on out of range when processing size.
*
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if appended string length is too large to store in the buffer.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if appended string length is too large to store in the buffer.
* @return
* F_none on success.
*
- * F_implemented_not (with error bit) if this function is not available (due to not having libcap support compiled in).
+ * F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
const f_status_t status = f_capability_ambient_get(value, &ambient);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(ambient, 1);
const f_status_t status = f_capability_ambient_reset();
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
const f_status_t status = f_capability_ambient_set(value, flag_value);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
const f_status_t status = f_capability_clear(&capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_clear_flag(flag, &capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
{
const f_status_t status = f_capability_compare(capability_1, capability_2, &flags);
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
}
#else
{
const f_status_t status = f_capability_copy(capability_1, &capability_2);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(capability_2, 1);
const f_status_t status = f_capability_copy_external(capability, max, external, &size);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(size, 1);
const f_status_t status = f_capability_copy_internal(external, &capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(capability, 1);
const f_status_t status = f_capability_delete(&capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(capability, 0);
const f_status_t status = f_capability_file_descriptor_get(descriptor, &capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_file_descriptor_set(descriptor, capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_file_get(path, &capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_file_set(path, capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_flag_get(capability, capability_value, flag, &value);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_flag_set(flag, value, codes, &capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_from_name(name, &capability_value);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_from_text(text, &capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_groups_set(group, total, groups);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
const f_status_t status = f_capability_initialize(&capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_mode_get(&mode);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
const f_status_t status = f_capability_mode_get_name(mode, &name);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
const f_status_t status = f_capability_mode_set(mode);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
const f_status_t status = f_capability_owner_get(capability, &id);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(id, 1);
const f_status_t status = f_capability_owner_set(capability, id);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
const f_status_t status = f_capability_process_bound_drop(value, &bound);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(bound, 1);
const f_status_t status = f_capability_process_bound_get(value, &bound);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(bound, 1);
const f_status_t status = f_capability_process_get(&capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_process_get_by_id(pid, &capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(capability, 1);
const f_status_t status = f_capability_process_set(capability);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_)
const f_status_t status = f_capability_security_bits_get(&bits);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
const f_status_t status = f_capability_security_bits_set(bits);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
const f_status_t status = f_capability_size(capability, &size);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_int_equal(size, 1);
const f_status_t status = f_capability_to_name(code, &name);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_string_equal(name.string, string);
const f_status_t status = f_capability_to_text(capability, &text);
#if defined(_di_libcap_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
assert_string_equal(text.string, string);
const f_status_t status = f_capability_user_set(uid);
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
- assert_int_equal(F_status_set_fine(status), F_implemented_not);
+ assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
assert_int_equal(status, F_none);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
F_help_not,
F_ignore,
F_ignore_not,
- F_implemented,
- F_implemented_not,
+ F_implement,
+ F_implement_not,
F_input,
F_input_not,
F_input_output,
const f_string_static_t f_status_help_not_s = macro_f_string_static_t_initialize_1(F_status_help_not_s, 0, F_status_help_not_s_length);
const f_string_static_t f_status_ignore_s = macro_f_string_static_t_initialize_1(F_status_ignore_s, 0, F_status_ignore_s_length);
const f_string_static_t f_status_ignore_not_s = macro_f_string_static_t_initialize_1(F_status_ignore_not_s, 0, F_status_ignore_not_s_length);
- const f_string_static_t f_status_implemented_s = macro_f_string_static_t_initialize_1(F_status_implemented_s, 0, F_status_implemented_s_length);
- const f_string_static_t f_status_implemented_not_s = macro_f_string_static_t_initialize_1(F_status_implemented_not_s, 0, F_status_implemented_not_s_length);
+ const f_string_static_t f_status_implement_s = macro_f_string_static_t_initialize_1(F_status_implement_s, 0, F_status_implement_s_length);
+ const f_string_static_t f_status_implement_not_s = macro_f_string_static_t_initialize_1(F_status_implement_not_s, 0, F_status_implement_not_s_length);
const f_string_static_t f_status_input_s = macro_f_string_static_t_initialize_1(F_status_input_s, 0, F_status_input_s_length);
const f_string_static_t f_status_input_not_s = macro_f_string_static_t_initialize_1(F_status_input_not_s, 0, F_status_input_not_s_length);
const f_string_static_t f_status_input_output_s = macro_f_string_static_t_initialize_1(F_status_input_output_s, 0, F_status_input_output_s_length);
break;
- case F_implemented:
- *name = f_status_implemented_s;
+ case F_implement:
+ *name = f_status_implement_s;
break;
- case F_implemented_not:
- *name = f_status_implemented_not_s;
+ case F_implement_not:
+ *name = f_status_implement_not_s;
break;
#define F_status_help_not_s "F_help_not"
#define F_status_ignore_s "F_ignore"
#define F_status_ignore_not_s "F_ignore_not"
- #define F_status_implemented_s "F_implemented"
- #define F_status_implemented_not_s "F_implemented_not"
+ #define F_status_implement_s "F_implement"
+ #define F_status_implement_not_s "F_implement_not"
#define F_status_input_s "F_input"
#define F_status_input_not_s "F_input_not"
#define F_status_input_output_s "F_input_output"
#define F_status_help_not_s_length 10
#define F_status_ignore_s_length 8
#define F_status_ignore_not_s_length 12
- #define F_status_implemented_s_length 13
- #define F_status_implemented_not_s_length 17
+ #define F_status_implement_s_length 11
+ #define F_status_implement_not_s_length 15
#define F_status_input_s_length 7
#define F_status_input_not_s_length 11
#define F_status_input_output_s_length 14
extern const f_string_static_t f_status_help_not_s;
extern const f_string_static_t f_status_ignore_s;
extern const f_string_static_t f_status_ignore_not_s;
- extern const f_string_static_t f_status_implemented_s;
- extern const f_string_static_t f_status_implemented_not_s;
+ extern const f_string_static_t f_status_implement_s;
+ extern const f_string_static_t f_status_implement_not_s;
extern const f_string_static_t f_status_input_s;
extern const f_string_static_t f_status_input_not_s;
extern const f_string_static_t f_status_input_output_s;
F_help_not,
F_ignore,
F_ignore_not,
- F_implemented,
- F_implemented_not,
+ F_implement,
+ F_implement_not,
F_input,
F_input_not,
F_input_output,
f_status_help_not_s,
f_status_ignore_s,
f_status_ignore_not_s,
- f_status_implemented_s,
- f_status_implemented_not_s,
+ f_status_implement_s,
+ f_status_implement_not_s,
f_status_input_s,
f_status_input_not_s,
f_status_input_output_s,
if (!affinity_set) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#elif !defined(_di_f_thread_attribute_affinity_get_)
f_status_t f_thread_attribute_affinity_get(const f_thread_attribute_t attribute, const size_t affinity_size, cpu_set_t * const affinity_set) {
if (!attribute) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#elif !defined(_di_f_thread_attribute_affinity_set_)
f_status_t f_thread_attribute_affinity_set(const size_t affinity_size, const cpu_set_t *affinity_set, f_thread_attribute_t * const attribute) {
#if defined(_pthread_sigqueue_unsupported_) && !defined(_di_f_thread_signal_queue_)
f_status_t f_thread_signal_queue(const f_thread_id_t id, const int signal, const union sigval value) {
- return F_status_set_error(F_implemented_not);
+ return F_status_set_error(F_implement_not);
}
#elif !defined(_di_f_thread_signal_queue_)
f_status_t f_thread_signal_queue(const f_thread_id_t id, const int signal, const union sigval value) {
#if defined(_pthread_attr_unsupported_)
const f_status_t status = f_thread_attribute_affinity_get(attribute, 0, &cpu_set);
- assert_int_equal(status, F_status_set_error(F_implemented_not));
+ assert_int_equal(status, F_status_set_error(F_implement_not));
#else
int errnos[] = {
EINVAL,
{
const f_status_t status = f_thread_attribute_affinity_get(attribute, 0, &cpu_set);
- assert_int_equal(status, F_status_set_error(F_implemented_not));
+ assert_int_equal(status, F_status_set_error(F_implement_not));
}
#else
{
#if defined(_pthread_attr_unsupported_)
const f_status_t status = f_thread_attribute_affinity_set(0, &cpu_set, &attribute);
- assert_int_equal(status, F_status_set_error(F_implemented_not));
+ assert_int_equal(status, F_status_set_error(F_implement_not));
#else
int errnos[] = {
EINVAL,
{
const f_status_t status = f_thread_attribute_affinity_set(0, &cpu_set, &attribute);
- assert_int_equal(status, F_status_set_error(F_implemented_not));
+ assert_int_equal(status, F_status_set_error(F_implement_not));
}
#else
{
#ifdef _pthread_sigqueue_unsupported_
const f_status_t status = f_thread_signal_queue(id, signal, value);
- assert_int_equal(status, F_status_set_error(F_implemented_not));
+ assert_int_equal(status, F_status_set_error(F_implement_not));
#else
{
int errnos[] = {
#ifdef _pthread_sigqueue_unsupported_
const f_status_t status = f_thread_signal_queue(id, signal, value);
- assert_int_equal(status, F_status_set_error(F_implemented_not));
+ assert_int_equal(status, F_status_set_error(F_implement_not));
#else
{
will_return(__wrap_pthread_sigqueue, false);
return F_none;
}
- if (f_compare_dynamic(name, f_status_implemented_s) == F_equal_to) {
- *code = F_implemented;
+ if (f_compare_dynamic(name, f_status_implement_s) == F_equal_to) {
+ *code = F_implement;
return F_none;
}
- if (f_compare_dynamic(name, f_status_implemented_not_s) == F_equal_to) {
- *code = F_implemented_not;
+ if (f_compare_dynamic(name, f_status_implement_not_s) == F_equal_to) {
+ *code = F_implement_not;
return F_none;
}
F_help_not,
F_ignore,
F_ignore_not,
- F_implemented,
- F_implemented_not,
+ F_implement,
+ F_implement_not,
F_input,
F_input_not,
F_input_output,
f_status_help_not_s,
f_status_ignore_s,
f_status_ignore_not_s,
- f_status_implemented_s,
- f_status_implemented_not_s,
+ f_status_implement_s,
+ f_status_implement_not_s,
f_status_input_s,
f_status_input_not_s,
f_status_input_output_s,