Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457033

RE: [RFC 3/4] security/checmate: Add Checmate sample

From "Reshetova, Elena" <elena.reshetova@intel.com>
Newsgroups linux.kernel
Subject RE: [RFC 3/4] security/checmate: Add Checmate sample
Date 2016-08-05 13:20 +0200
Message-ID <s2Lku-6NT-1@gated-at.bofh.it> (permalink)
References <s2l6F-5K2-5@gated-at.bofh.it> <s2Lku-6NT-3@gated-at.bofh.it> <s2Lku-6NT-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Sorry have to resend from normal mail client due to gmail stupid interface. I 
am not able to find plain text button anywhere anymore...

>On Fri, 5 Aug 2016 at 13:49 Elena Reshetova <elena.reshetova@gmail.com> 
>wrote:

>The Checmate sample installs a policy barring new AF_INET connections
>to port 1. We install the hook, and show an example of connect
>returning EPERM, and then reset the policy.

Could you actually provide a more complex example, where you actually need to 
share a state between different hooks?
Even minor LSMs need to keep internal info in one way or another to make 
useful decisions. Like Yama needs to track ptrace info, Hardchroot would need 
to track if process is inside chroot or not and etc.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC 3/4] security/checmate: Add Checmate sample Sargun Dhillon <sargun@sargun.me> - 2016-08-04 09:20 +0200
  RE: [RFC 3/4] security/checmate: Add Checmate sample "Reshetova, Elena" <elena.reshetova@intel.com> - 2016-08-05 13:20 +0200

csiph-web