# Allow socket creation
-c inet_dgram_socket_create grant
-c inet_stream_socket_create grant
-c unix_socket_create grant
-c unix_dgram_socket_bind grant
-c unix_dgram_socket_connect grant
-c unix_stream_socket_bind grant
-c unix_stream_socket_connect grant
-c unix_vmklink_socket_connect grant

#  block access to vmwLocalSocketAuthentication
-p unix_stream_socket_connect vmwLocalSocketAuthentication revoke
-p unix_stream_socket_bind vmwLocalSocketAuthentication revoke

# Allow bind and connect to local and remote hosts
-p inet_socket_bind all grant
-p inet_socket_connect loopback grant
-p inet_socket_connect nonloopback grant


-r /lib64 rx
-r /dev/char/vmkdriver/urandom r
-r /etc/resolv.conf r
-r /etc/localtime r
-r /etc/nsswitch.conf r
-r /etc/passwd r
-r /etc/group r
-r /etc/shadow
-r /usr/lib x
-r /etc/vmware/envoy/config.yaml r

-s cloneSys grant
-s execSys grant
-s forkSys grant
-s ioctlSys grant
-s killSys grant
-s mprotectSys grant
-s openSys grant
