summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/seclabelfs/devptsseclabelfs.cil6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/seclabelfs/devptsseclabelfs.cil b/src/fs/seclabelfs/devptsseclabelfs.cil
index 4545f1f..3d17aed 100644
--- a/src/fs/seclabelfs/devptsseclabelfs.cil
+++ b/src/fs/seclabelfs/devptsseclabelfs.cil
@@ -2,10 +2,12 @@
;; SPDX-License-Identifier: Unlicense
(block devpts
-
(fsuse trans "devpts" fs_context)
(blockinherit .fs.macro_template_dirs)
(blockinherit .fs.macro_template_chr_files)
(blockinherit .fs.macro_template_fs)
- (blockinherit .seclabelfs.base_template))
+ (blockinherit .seclabelfs.base_template)
+
+ (filecon "/dev/pts" dir ())
+ (filecon "/dev/pts/.*" any ()))