Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Monday, August 4, 2008 - 5:51 pm

On Mon, Aug 04, 2008 at 08:32:54PM -0400, Eric Paris wrote:

Are suid binaries something that you feel is necessary to scan from?

I don't see it on the list above :)


So, if this isn't really going to protect anything, how can anyone
justify adding it to the kernel?  I sure would not allow that.


No, your field definitions are incorrect.

You must use __u8 and friends for variables that cross the
userspace/kernel boundry.  None of the uint_* crap :)


Not doing this in the kernel at all.

Seriously.

I mean it.

Oh, and after that, not using a binary interface, have we not learned
from the ioctl mess?  I sure thought we had...


Why would the kernel have to worry about that?


Yes, that is what I was referring to.


audit passed the value in a binary structure from the kernel to
userspace?  Really?  Ick.


Don't add things that are not needed, _everything_ must be justified.


Oh, forgot about the fact that the code blocks.  That's probably a race
in itself :)


How do you do that?


Simple enough :)


How long does this whole process take?  Seriously is it worth the added
kernel code for something that is not measurable?


Why an LSM hook?  You aren't an LSM.


Why?  If the cache is also in userspace, it should be the same, right?


And when you did run a foolish userspace client?

If you did it all in userspace, if the userspace code isn't being
called, the kernel build time should be the same as well :)


Again, do it all in userspace (caching, and scanning).  I still really
don't see the need to do this in the kernel becides it being "the way
people have always done it."

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux inte ..., Greg KH, (Mon Aug 4, 5:51 pm)
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux inte ..., David Collier-Brown, (Wed Aug 6, 4:31 am)
Sidebar to [malware-list] [RFC 0/5] [TALPA] Intro to a lin ..., David Collier-Brown, (Wed Aug 6, 4:40 am)
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxinter ..., David Collier-Brown, (Mon Aug 11, 9:11 am)