1# zx_object_set_property 2 3## NAME 4 5<!-- Updated by update-docs-from-abigen, do not edit. --> 6 7object_set_property - Set various properties of various kernel objects. 8 9## SYNOPSIS 10 11<!-- Updated by update-docs-from-abigen, do not edit. --> 12 13``` 14#include <zircon/syscalls.h> 15 16zx_status_t zx_object_set_property(zx_handle_t handle, 17 uint32_t property, 18 const void* value, 19 size_t value_size); 20``` 21 22## DESCRIPTION 23 24`zx_object_set_property()` modifies the value of a kernel object's property. 25Setting a property requires **ZX_RIGHT_SET_PROPERTY** rights on the handle. 26 27See [`zx_object_get_property()`] for a full description. 28 29## RIGHTS 30 31<!-- Updated by update-docs-from-abigen, do not edit. --> 32 33*handle* must have **ZX_RIGHT_SET_PROPERTY**. 34 35If *property* is **ZX_PROP_PROCESS_DEBUG_ADDR**, *handle* must be of type **ZX_OBJ_TYPE_PROCESS**. 36 37If *property* is **ZX_PROP_SOCKET_RX_THRESHOLD**, *handle* must be of type **ZX_OBJ_TYPE_SOCKET**. 38 39If *property* is **ZX_PROP_SOCKET_TX_THRESHOLD**, *handle* must be of type **ZX_OBJ_TYPE_SOCKET**. 40 41If *property* is **ZX_PROP_JOB_KILL_ON_OOM**, *handle* must be of type **ZX_OBJ_TYPE_JOB**. 42 43## SEE ALSO 44 45 - [`zx_object_get_property()`] 46 47<!-- References updated by update-docs-from-abigen, do not edit. --> 48 49[`zx_object_get_property()`]: object_get_property.md 50