commit | d74998a1509f0c81a74fe93e1a680bd78ec9a12a | [log] [tgz] |
---|---|---|
author | Miguel Flores Ruiz de Eguino <miguelfrde@fuchsia.infra.roller.google.com> | Fri Dec 15 04:03:02 2023 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Dec 14 20:04:14 2023 -0800 |
tree | a164078c1f5bc0caad7d89fb3b96caf562422028 | |
parent | 056510e1620812e17e18ca64b0c44f9e6c2cab84 [diff] |
[roll] Roll fuchsia [starnix] Implement read(/dev/kmsg) and syslog(SYSLOG_ACTION_READ_ALL) This is a basic implementation of the syslog syscall as well as the /dev/kmsg device. For /dev/kmsg we support both blocking and non-blocking reads. Pending: - Should we be using DynamicFileSource for /dev/kmsg ? A general seek support isn't appropriate, so I don't think we do. but we do seem to need to support the following: - SEEK_SET, 0: seek to get the first log - SEEK_END, 0: seek to get the last log - SEEK_DATA, 0: seek after the last log available after a SYSLOG_ACTION_CLEAR was requested. dmesg allows to emit this action. - Finish necessary syslog(2) action implementations. Mostly READ and SIZE_UNREAD. Probably CLEAR too. - Build /proc/kmsg The current implementation makes me sad. This can be made more efficient. To be scheduled. See b/315520045 Original-Bug: b/314198813 Original-Bug: b/315520045 Original-Fixed: b/315387149 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/955692 Original-Revision: 8173fa2284f7bcf139c6914dac0c5c4211303f42 GitOrigin-RevId: b300388bd31470d804f77e55a96d160aa5c797f9 Change-Id: I2205f79225bb7f88a304cbd8b9b86c4ec5b78e7e
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.