Date: Thu, 2 Jul 2009 09:15:30 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sys_process.c src/sys/security/audit audit_bsm.c Message-ID: <200907020916.n629G8T1065513@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-07-02 09:15:30 UTC
FreeBSD src repository
Modified files:
sys/kern sys_process.c
sys/security/audit audit_bsm.c
Log:
SVN rev 195280 on 2009-07-02 09:15:30Z by rwatson
Clean up a number of aspects of token generation from audit arguments to
system calls:
- Centralize generation of argument tokens for VM addresses in a macro,
ADDR_TOKEN(), and properly encode 64-bit addresses in 64-bit arguments.
- Fix up argument numbers across a large number of syscalls so that they
match the numeric argument into the system call.
- Don't audit the address argument to ioctl(2) or ptrace(2), but do keep
generating tokens for mmap(2), minherit(2), since they relate to passing
object access across execve(2).
Approved by: re (audit argument blanket)
Obtained from: TrustedBSD Project
MFC after: 1 week
Revision Changes Path
1.155 +0 -1 src/sys/kern/sys_process.c
1.47 +55 -69 src/sys/security/audit/audit_bsm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907020916.n629G8T1065513>
