commit | 6e3b027e12e4236a6470dac435bf74ba66c3befa | [log] [tgz] |
---|---|---|
author | Jes B. Klinke <jbk@chromium.org> | Fri Mar 18 13:54:39 2022 -0700 |
committer | Timothy Trippel <5633066+timothytrippel@users.noreply.github.com> | Thu Mar 24 09:04:18 2022 -0700 |
tree | 67860f01c95cbaad84f7b078c41a2131a7b8dfac | |
parent | 8fce79d5d833689d9c2aa996a2c9a3976c656200 [diff] |
[opentitantool] Conf files relative to current directory Daemons should generally not keep a reference to the current directory as of when they were started, doing so runs the risk of random references preventing the unmounting or other management of filesystem volumes, due to some accident in the way a daemon was started. For that reason, the opentitansession daemon it started with the root directory ( / ) as its current directory. However, the first business of the daemon process is to bind to a socket, and read configuration files according to command line arguments. Those arguments could include relative paths to some files. In order to support that, this CL delays switching to the root directory until the daemon process has finished initializing, and at the same time when it drops its connection to the terminal that was used to start it. Signed-off-by: Jes B. Klinke <jbk@chromium.org> Change-Id: Ia3216568b382ca04c12c7613822343052daefbe1
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).