All of lore.kernel.org
 help / color / mirror / Atom feed
* System call audit
@ 2008-05-13  0:06 Mathieu Desnoyers
  2008-05-13  9:24 ` David Woodhouse
  0 siblings, 1 reply; 8+ messages in thread
From: Mathieu Desnoyers @ 2008-05-13  0:06 UTC (permalink / raw)
  To: David Woodhouse, linux-kernel; +Cc: mingo

Hi David,

As I am looking into the system-wide system call tracing problem, I
start to wonder how auditsc deals with the fact that user-space could
concurrently change the content referred to by the __user pointers.

This would be the case for execve. If we create a program with two
thread; one is executing execve syscalls and the other thread would be
modifying the userspace string containing the name of the program to
execute. Since we have two copy_from_user, one in auditsc and one in the
real execve() function, the string passed to the OS could differ from
the string seen by auditsc.

Regards,

Mathieu


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-05-13 13:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13  0:06 System call audit Mathieu Desnoyers
2008-05-13  9:24 ` David Woodhouse
2008-05-13 12:51   ` Mathieu Desnoyers
2008-05-13 12:59     ` David Woodhouse
2008-05-13 13:12       ` Mathieu Desnoyers
2008-05-13 13:19         ` Stephen Smalley
2008-05-13 13:51       ` Mathieu Desnoyers
2008-05-13 13:12     ` Stephen Smalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.