From 548564099e07b53ee401daeb555f0c6d8eb00bc7 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Sat, 26 Jan 2019 21:50:12 +0300 Subject: [PATCH] fs_mmap_rw_hugetlbfs_files is a more appropriate name for the interface --- policy/modules/kernel/filesystem.if | 2 +- policy/modules/services/postgresql.te | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/policy/modules/kernel/filesystem.if b/policy/modules/kernel/filesystem.if index a5328a63f..048b9d653 100644 --- a/policy/modules/kernel/filesystem.if +++ b/policy/modules/kernel/filesystem.if @@ -2350,7 +2350,7 @@ interface(`fs_rw_hugetlbfs_files',` ## ## # -interface(`fs_rmw_hugetlbfs_files',` +interface(`fs_mmap_rw_hugetlbfs_files',` gen_require(` type hugetlbfs_t; ') diff --git a/policy/modules/services/postgresql.te b/policy/modules/services/postgresql.te index 09824a8bb..3bdffe4f5 100644 --- a/policy/modules/services/postgresql.te +++ b/policy/modules/services/postgresql.te @@ -331,7 +331,7 @@ dev_read_urand(postgresql_t) fs_getattr_all_fs(postgresql_t) fs_search_auto_mountpoints(postgresql_t) -fs_rmw_hugetlbfs_files(postgresql_t) +fs_mmap_rw_hugetlbfs_files(postgresql_t) selinux_get_enforce_mode(postgresql_t) selinux_validate_context(postgresql_t)