Merge pull request #317 from gtrentalancia/master

This commit is contained in:
Chris PeBenito 2020-11-09 11:44:51 -05:00
commit 67814510fc
1 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,8 @@ allow lvm_t self:netlink_kobject_uevent_socket create_socket_perms;
allow lvm_t self:sem create_sem_perms; allow lvm_t self:sem create_sem_perms;
# gt: the following is for sockets in the AF_ALG namespace (userspace interface to the kernel Crypto API) # gt: the following is for sockets in the AF_ALG namespace (userspace interface to the kernel Crypto API)
allow lvm_t self:socket create_stream_socket_perms; allow lvm_t self:socket create_stream_socket_perms;
# gt: the following allows opening cryptsetup devices
allow lvm_t self:key { search write };
allow lvm_t self:unix_stream_socket { connectto create_stream_socket_perms }; allow lvm_t self:unix_stream_socket { connectto create_stream_socket_perms };
allow lvm_t clvmd_t:unix_stream_socket { connectto rw_socket_perms }; allow lvm_t clvmd_t:unix_stream_socket { connectto rw_socket_perms };