commit | 1bd717fc5bc5f50d6bb890616eb13b7557055416 | [log] [tgz] |
---|---|---|
author | Betul Soysal <betuls@google.com> | Wed Apr 22 01:00:37 2020 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Sun May 10 09:26:29 2020 +0000 |
tree | 1c075f705b8e156e070ce519ff55a9dab70aef20 | |
parent | 1cc5ffb1e5e45518f4442c72acf067a7a2ed361d [diff] |
libbrillo: Add MountNamespaceInterface and UnownedMountNamespace Add the interface class MountNamespaceInterface and the UnownedMountNamespace class which only has one method to return the namespace path. Only one process should have the ability to create MountNamespace at a given path. However more than one processes need to enter this namespace. Thus the path of the namespace is needed by multiple independent packages. The interface class is created for this need. BUG=chromium:1052197 TEST=FEATURES=test emerge-betty libbrillo Change-Id: I9892da25c5ff9614bc3574e9f7e589fa059f81c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2160141 Tested-by: Betul Soysal <betuls@google.com> Commit-Queue: Betul Soysal <betuls@google.com> Reviewed-by: Mike Frysinger <vapier@chromium.org> Cr-Mirrored-From: https://chromium.googlesource.com/chromiumos/platform2 Cr-Mirrored-Commit: f8c0d1f43c844ac26f655d3724780c1022fbb4be
libbrillo is a shared library meant to hold common utility code that we deem useful for platform projects. It supplements the functionality provided by libbase/libchrome since that project, by design, only holds functionality that Chromium (the browser) needs. As a result, this tends to be more OS-centric code.
This project is also used by Update Engine which is maintained in AOSP. However, AOSP doesn't use this codebase directly, it maintains its own libbrillo fork.
To help keep the projects in sync, we have a gsubtree set up on our GoB: https://chromium.googlesource.com/chromiumos/platform2/libbrillo/
This allows AOSP to cherry pick or merge changes directly back into their fork.