[lkml]   [2002]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] remove sys_security

----- Original Message -----
From: Stephen Smalley <>
To: Christoph Hellwig <>
Cc: <>; <>
Sent: 18 October 2002 18:15
Subject: Re: [PATCH] remove sys_security

> On Fri, 18 Oct 2002, Christoph Hellwig wrote:
> > It adds infrastructure to implement syscalls without peer review.
> > And then it ends being crap like the selinux syscalls.
> Yes, I think you've made your point. Go ahead, remove sys_security.
> We can look into revising the SELinux syscalls, hopefully with some
> constructive suggestions from people, to make them more acceptable.
> Feel free to send specific suggestions, or at least explain further why
> you hate the current ones.

I'm not sure the case for removal has been made. Some potential problems
with the LSM security syscall have been pointed out. Isn't it better to
fixes instead of ditching the syscall? Won't the absence of the syscall just
in even worse code being used? Presumably SELinux will have to implement
the syscall functionality some other way.

> > And exactly these hooks harm. They are all over the place, have
> > and code size impact and mess up readability. Why can't you just
> > an external patch like i.e. mosix folks that nead similar deep changes?
> LSM only came into existence based on Linus' statements about what he
> would be willing to consider for inclusion in the mainstream kernel. Of
> course, if LSM has diverged from Linus' expectations, then that divergence
> should be corrected. But that doesn't mean that LSM should be dropped out
> entirely, just pruned and refined. If the whole of LSM has to be
> maintained as a separate patch, then the various security projects have
> largely wasted their time transitioning to it.

Precisely. The whole reason for having LSM at all is that maintaining a
patch to add a security model is not sustainable. Adding a general kernel
framework to support security was the agreed way to go, and that is what
LSM does.

After the latest changes the LSM framework hurts no-one who
isn't using it, so I see no reason to ditch it. If there are
remaining problems let's fix them - not ditch the approach.


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: 2005-03-22 13:30    [W:0.110 / U:3.208 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site