Skip to contentSkip to conversation

AppArmor security module overview

PATCH Jeff Schroeder 1 participant 1 message Apr 29, 2007

lore
Share & tools
lore
#0 lore raw

From: David Wagner <daw <at> cs.berkeley.edu>
Subject:

Quoted 1 line

David Wagner wrote:

...snip...

Quoted 4 lines
Quoted 4 lines

I still think that ptrace() is not the best way to implement this kind of security tool, and I think it's entirely understandable that they did not use ptrace. I do not think it is a fair criticism of AppArmor to say "AppArmor should have used ptrace()".

Take a look at utrace in -mm, it offers a completely backwards compatible ptrace() syscall implemented as a module ontop of it. utrace looks like the way things will be going forward
http://people.redhat.com/roland/utrace/2.6-current/0-intro.txt

Think of ptrace() implemented using utrace as ptrace that "Sucks Less TM". Maybe Andy will let utrace out of -mm for 2.6.23.

(please cc: me in any responses)

Signature · 3 lines
Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.