Merge "Add documentation on mkdir about seclabel" am: 715ecbfb23

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2110586

Change-Id: I4eca56a15db5ef54eaa7ed92cdc83622fb4d7d54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Thiébaud Weksteen 2022-05-31 23:38:19 +00:00 committed by Automerger Merge Worker
commit 46e8d29a4f

View file

@ -606,8 +606,12 @@ provides the `aidl_lazy_test_1` interface.
group. If not provided, the directory is created with permissions 755 and
owned by the root user and root group. If provided, the mode, owner and group
will be updated if the directory exists already.
If the directory does not exist, it will receive the security context from
the current SELinux policy or its parent if not specified in the policy. If
the directory exists, its security context will not be changed (even if
different from the policy).
> _action_ can be one of:
> _action_ can be one of:
* `None`: take no encryption action; directory will be encrypted if parent is.
* `Require`: encrypt directory, abort boot process if encryption fails
* `Attempt`: try to set an encryption policy, but continue if it fails