From owner-cvs-src@FreeBSD.ORG Fri Sep 1 11:45:44 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBCE716A4DE; Fri, 1 Sep 2006 11:45:44 +0000 (UTC) (envelope-from wsalamon@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3F8243D72; Fri, 1 Sep 2006 11:45:40 +0000 (GMT) (envelope-from wsalamon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k81BjeST029153; Fri, 1 Sep 2006 11:45:40 GMT (envelope-from wsalamon@repoman.freebsd.org) Received: (from wsalamon@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k81BjeRZ029152; Fri, 1 Sep 2006 11:45:40 GMT (envelope-from wsalamon) Message-Id: <200609011145.k81BjeRZ029152@repoman.freebsd.org> From: Wayne Salamon Date: Fri, 1 Sep 2006 11:45:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/bsm audit_record.h src/sys/kern kern_exec.c src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_token.c audit_private.h audit_syscalls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 11:45:45 -0000 wsalamon 2006-09-01 11:45:40 UTC FreeBSD src repository Modified files: sys/bsm audit_record.h sys/kern kern_exec.c sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_token.c audit_private.h audit_syscalls.c Log: Audit the argv and env vectors passed in on exec: Add the argument auditing functions for argv and env. Add kernel-specific versions of the tokenizer functions for the arg and env represented as a char array. Implement the AUDIT_ARGV and AUDIT_ARGE audit policy commands to enable/disable argv/env auditing. Call the argument auditing from the exec system calls. Obtained from: TrustedBSD Project Approved by: rwatson (mentor) Revision Changes Path 1.5 +7 -2 src/sys/bsm/audit_record.h 1.295 +9 -0 src/sys/kern/kern_exec.c 1.18 +8 -0 src/sys/security/audit/audit.c 1.8 +5 -0 src/sys/security/audit/audit.h 1.6 +42 -0 src/sys/security/audit/audit_arg.c 1.10 +14 -1 src/sys/security/audit/audit_bsm.c 1.7 +56 -8 src/sys/security/audit/audit_bsm_token.c 1.10 +6 -0 src/sys/security/audit/audit_private.h 1.5 +8 -1 src/sys/security/audit/audit_syscalls.c