lkml.org 
[lkml]   [2009]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [TOMOYO #16 03/25] LSM: Pass original mount flags to security_sb_mount().
    Tetsuo Handa wrote:
    > This patch allows LSM modules to determine based on original mount flags
    > passed to mount(). A LSM module can get masked mount flags (if needed) by
    >
    > flags &= ~(MS_NOSUID | MS_NOEXEC | MS_NODEV | MS_ACTIVE |
    > MS_NOATIME | MS_NODIRATIME | MS_RELATIME| MS_KERNMOUNT |
    > MS_STRICTATIME);

    This looks good, and would also have use in AppArmor.


    \
     
     \ /
      Last update: 2009-10-08 19:27    [W:0.067 / U:0.340 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site