Re: [PATCH][RFC] selinux: remove noop secondary_ops calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-01-28 at 19:55 -0800, James Morris wrote:
> These patches remove calls to secondary_ops where there is no
> real capability hook, and a couple of SELinux hooks which only
> called these noop hooks.
> 
> (Following this, the noop capabilities hooks should also be removed).

I don't think you can - the capability stubs now serve as the
default/dummy hooks used by security_fixup_ops(), so it has to define a
stub for every hook.

> Please review.
> 
> James Morris (18):
>       selinux: remove unused bprm_check_security hook
>       selinux: remove secondary ops call to bprm_committing_creds
>       selinux: remove secondary ops call to bprm_committed_creds
>       selinux: remove secondary ops call to sb_mount
>       selinux: remove secondary ops call to sb_umount
>       selinux: remove secondary ops call to inode_link
>       selinux: remove secondary ops call to inode_unlink
>       selinux: remove secondary ops call to inode_mknod
>       selinux: remove secondary ops call to inode_follow_link
>       selinux: remove secondary ops call to inode_permission
>       selinux: remove secondary ops call to inode_setattr
>       selinux: remove secondary ops call to file_mprotect
>       selinux: remove secondary ops call to task_create
>       selinux: remove unused cred_commit hook
>       selinux: remove secondary ops call to task_setrlimit
>       selinux: remove secondary ops call to task_kill
>       selinux: remove secondary ops call to unix_stream_connect
>       selinux: remove secondary ops call to shm_shmat
> 
>  security/selinux/hooks.c |   92 +---------------------------------------------
>  1 files changed, 2 insertions(+), 90 deletions(-)
> 
> 
-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux