commit | d3766fce4d8206bf76fa1d2488a1555bf22fdb9c | [log] [tgz] |
---|---|---|
author | Jorge Lucangeli Obes <jorgelo@chromium.org> | Wed Sep 04 11:41:39 2019 -0400 |
committer | chrome-bot <chrome-bot@chromium.org> | Thu Sep 12 20:31:37 2019 -0700 |
tree | 2a70cfca0700d2fc2a3eb1d10319d4dba1730295 | |
parent | 4c3417219353917c6f8350cefd88d6c9b0763391 [diff] |
libbrillo: ScopedMountNamespace: Add CreateFromPath. It's useful to be able to create ScopedMountNamespace objects from a path. BUG=chromium:985492 TEST=Tested with https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1721070 Change-Id: I51cf338f7ce881e33d082cc57afec32fa46a9e36 Reviewed-on: https://chromium-review.googlesource.com/1784126 Tested-by: Jorge Lucangeli Obes <jorgelo@chromium.org> Commit-Ready: Jorge Lucangeli Obes <jorgelo@chromium.org> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Reviewed-by: Yusuke Sato <yusukes@chromium.org> Cr-Mirrored-From: https://chromium.googlesource.com/chromiumos/platform2 Cr-Mirrored-Commit: b3cba12dde210c1fc3533c3e87426772d8a5c1e2
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.