selinux: Migrate /var/empty to /mnt/empty.

This helps avoid races during chromeos_startup and eliminates the need
for /var/empty to be set immutable.

BUG=chromium:933582

Change-Id: I1a540fe268ec2f49195e235a169cc3a4000301d3
Reviewed-on: https://chromium-review.googlesource.com/1508985
Commit-Ready: Allen Webb <allenwebb@google.com>
Tested-by: Allen Webb <allenwebb@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed
tree: 0401358ae370232fac92395dbff24357b22ce504
  1. COMMIT-QUEUE.ini
  2. PRESUBMIT.cfg
  3. README.md
  4. archive_mirrors.md
  5. ca_certs.md
  6. chrome_commit_pipeline.md
  7. contact.md
  8. containers_and_vms.md
  9. contributing.md
  10. cros_commit_pipeline.md
  11. cros_flash.md
  12. cros_vm.md
  13. dbus_best_practices.md
  14. dbus_in_chrome.md
  15. debug_buttons.md
  16. developer_guide.md
  17. development_basics.md
  18. eol_aue_process.md
  19. fuzzing.md
  20. glossary.md
  21. gsutil.md
  22. images/
  23. kernel_faq.md
  24. lsb-release.md
  25. navbar.md
  26. os_config.md
  27. platform2_gn.md
  28. reporting_bugs.md
  29. rust_on_cros.md
  30. sandboxing.md
  31. scripts/
  32. security_review_howto.md
  33. security_severity_guidelines.md
  34. security_sheriffing.md
  35. selinux.md
  36. simple_chrome_workflow.md
  37. source_layout.md
  38. unit_tests.md
README.md

Chromium OS docs

This directory contains public Chromium OS project documentation that is automatically rendered by Gitiles. The docs are written in Gitiles-flavored Markdown.

General guidelines

See the Chromium documentation guidelines and Chromium documentation best practices.

Style guide

Markdown documents must follow the style guide.

Making changes

This repository is managed by the repo tool, so you can make changes to it using the same techniques that you'd use for any other repositories in the project.

See the Contributing guide for more details.

Making changes without repo

You can also make changes to this repository without using the repo tool. This comes in handy when you don't have a Chromium OS checkout:

git clone https://chromium.googlesource.com/chromiumos/docs
curl -Lo .git/hooks/commit-msg https://gerrit-review.googlesource.com/tools/hooks/commit-msg
chmod +x .git/hooks/commit-msg
cd docs
git checkout -b changes
(make some changes)
git commit -a
git push origin HEAD:refs/for/master

The above steps will upload a patch to chromium-review.googlesource.com where you can get your patch reviewed, and submit.

Previewing changes

You can preview your local changes using scripts/preview_docs which utilizes Gerrit sandbox branches:

scripts/preview_docs README.md

You can also use md_browser, which is entirely local and does not require refs/sandbox/ push permission, but has somewhat inaccurate rendering:

# at top of Chromium OS checkout
./src/chromium/src/tools/md_browser/md_browser.py -d docs

Then browse to e.g. http://localhost:8080/README.md.

To review someone else's changes, apply them locally first, or just click the gitiles link near the top of a Gerrit file diff page.