UTC_CLOCK_BASIC_RIGHTS

Static UTC_CLOCK_BASIC_RIGHTS 

Source
pub static UTC_CLOCK_BASIC_RIGHTS: LazyLock<Rights>
Expand description

The basic rights to use when creating or duplicating a UTC clock. Restrict these on a case-by-case basis only.

Rights:

  • Rights::DUPLICATE, Rights::TRANSFER: used to forward the UTC clock in runners.
  • Rights::READ: used to read the clock indication.
  • Rights::WAIT: used to wait on signals such as “clock is updated” or “clock is started”.
  • Rights::MAP, Rights::INSPECT: used to memory-map the UTC clock.

The Rights::WRITE is notably absent, since on Fuchsia this right is given to particular components only and a writable clock can not be obtained via procargs.