summaryrefslogtreecommitdiff
path: root/src/dev/stordev/fusestordev.cil
blob: ea6f76179f8250bf97172b09f3532675f5482daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;; SPDX-FileCopyrightText: M-BM-) 2025 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense

(block fuse    

    (blockinherit .stordev.base_template)
    (blockinherit .stordev.macro_template_chr_files)

    (filecon "/dev/fuse" char stordev_context)
    (filecon "/sys/fs/fuse/connections" dir ())
    (filecon "/sys/fs/fuse/connections/.*" any ())
    
    (call .rbacsep.exempt.obj.type (stordev)))