fstools: Handle resizes of the root filesystem.
Resize2fs will create a .ismount-test-file temp file in the root of a filesystem to resize. Signed-off-by: Chris PeBenito <Christopher.PeBenito@microsoft.com>
This commit is contained in:
parent
28ca7991df
commit
27bb8aead9
|
@ -47,6 +47,9 @@ can_exec(fsadm_t, fsadm_exec_t)
|
|||
allow fsadm_t fsadm_tmp_t:dir manage_dir_perms;
|
||||
allow fsadm_t fsadm_tmp_t:file manage_file_perms;
|
||||
files_tmp_filetrans(fsadm_t, fsadm_tmp_t, { file dir })
|
||||
# resize2fs will create a .ismount-test-file temp file
|
||||
# in the root of a filesystem to resize
|
||||
files_root_filetrans(fsadm_t, fsadm_tmp_t, file)
|
||||
|
||||
allow fsadm_t fsadm_run_t:dir manage_dir_perms;
|
||||
allow fsadm_t fsadm_run_t:file manage_file_perms;
|
||||
|
|
Loading…
Reference in New Issue