commit | a989ca2d02f8ded2bb4a7cde800fd85519df7181 | [log] [tgz] |
---|---|---|
author | Vikram Auradkar <auradkar@google.com> | Thu Jan 10 23:34:25 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Jan 23 23:58:54 2019 +0000 |
tree | a7cea1774380d7281ecb404c5a245129f4644c01 | |
parent | 480d474c6a2bf2009b9e6065780f5ba79b634131 [diff] |
[gpt][chromeos] Use pread/pwrite Current code of gpt uses lseek and read/write combination. Among dup'ed fds, lseek offsets are shared. Hence using lseek/read/write is not thread safe. This change makes gpt to use pread/pwrite. Tested: libgpt-test and chromeos-disk-setup-test Change-Id: I8b24a814ea6dc9a0a8d01134ca2383469cac7651
Zircon is the core platform that powers the Fuchsia OS. Zircon is composed of a microkernel (source in kernel/...) as well as a small set of userspace services, drivers, and libraries (source in system/...) necessary for the system to boot, talk to hardware, load userspace processes and run them, etc. Fuchsia builds a much larger OS on top of this foundation.
The canonical Zircon Git repository is located at: https://fuchsia.googlesource.com/zircon
A read-only mirror of the code is present at: https://github.com/fuchsia-mirror/zircon
The Zircon Kernel provides syscalls to manage processes, threads, virtual memory, inter-process communication, waiting on object state changes, and locking (via futexes).
Currently there are some temporary syscalls that have been used for early bringup work, which will be going away in the future as the long term syscall API/ABI surface is finalized. The expectation is that there will be about 100 syscalls.
Zircon syscalls are generally non-blocking. The wait_one, wait_many port_wait and thread sleep being the notable exceptions.
This page is a non-comprehensive index of the zircon documentation.