public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* Format of EXECVE
@ 2007-09-17 16:50 Matthew Booth
  2007-09-17 18:07 ` Steve Grubb
  2007-09-17 20:54 ` Valdis.Kletnieks
  0 siblings, 2 replies; 4+ messages in thread
From: Matthew Booth @ 2007-09-17 16:50 UTC (permalink / raw)
  To: linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 780 bytes --]

Firstly, on RHEL4 U5, I've noticed that if an argument has spaces in it,
it won't be pretty printed in the EXECVE record. E.g.:

# /bin/echo foo
EXECVE... argv[1]="foo"

# /bin/echo "foo bar"
EXECVE... argv[1]=1234ABCD

Is that a feature?

Secondly, I noticed that the sequence of messages is:
SYSCALL
EXECVE
CWD
PATH

I'm considering expanding argv[0] of EXECVE to be an absolute path.
However, that would mean either buffering things or moving EXECVE after
the PATH record. Would that break any contract, or reasonable
expectations that anyone's aware of?

Thanks,

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat, Global Professional Services

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2007-09-17 21:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-17 16:50 Format of EXECVE Matthew Booth
2007-09-17 18:07 ` Steve Grubb
2007-09-17 20:54 ` Valdis.Kletnieks
2007-09-17 21:31   ` Matthew Booth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox