[lkml]   [2007]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook

    > > If we want "/etc/shadow" to be the only way to access the shadow file
    > > we could label the data with "/etc/shadow". Any attempts to access
    > > this data using a renamed file or link would be denied (attempts to
    > > link or rename could also be denied).
    > Eloquently put.
    > AppArmor actually does something similar to this, by mediating all of
    > the ways that you can make an alias to a file. These are:
    > * Hard links: AppArmor explicitly mediates permission to make a hard

    Unfortunately, aparmor is by design limited to subset of distro
    (network daemons). Unfortunately, some other programs (passwd, vi)
    routinely make hardlinks. So AA mediating hardlink is not enough, as
    vi will happily hardlink /etc/shadow into /etc/.vi-shadow-1234.

    (cesky, pictures)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-05-29 16:53    [W:0.019 / U:27.380 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site