blob: 1ddd0d3b958393e06da746d0c915011c28ca44b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
;; SPDX-FileCopyrightText: M-BM-) 2025 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense
(block hugetlb
(fsuse trans "hugetlbfs" fs_context)
(blockinherit .fs.macro_template_dirs)
(blockinherit .fs.macro_template_files)
(blockinherit .seclabelfs.template)
(filecon "/dev/hugepages" dir ())
(filecon "/dev/hugepages/.*" any ())
(allow fs self (filesystem (associate))))
|