From owner-p4-projects@FreeBSD.ORG Wed Feb 8 13:11:38 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 61CDA16A423; Wed, 8 Feb 2006 13:11:38 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E54D16A420 for ; Wed, 8 Feb 2006 13:11:38 +0000 (GMT) (envelope-from wsalamon@computer.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB00943D46 for ; Wed, 8 Feb 2006 13:11:37 +0000 (GMT) (envelope-from wsalamon@computer.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k18DBbCJ092462 for ; Wed, 8 Feb 2006 13:11:37 GMT (envelope-from wsalamon@computer.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k18DBbd9092459 for perforce@freebsd.org; Wed, 8 Feb 2006 13:11:37 GMT (envelope-from wsalamon@computer.org) Date: Wed, 8 Feb 2006 13:11:37 GMT Message-Id: <200602081311.k18DBbd9092459@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to wsalamon@computer.org using -f From: Wayne Salamon To: Perforce Change Reviews Cc: Subject: PERFORCE change 91394 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 13:11:39 -0000 http://perforce.freebsd.org/chv.cgi?CH=91394 Change 91394 by wsalamon@gretsch on 2006/02/08 13:11:28 Add items about clarifiying the interaction of naflags, current audit state, and what userspace might need to do. Also add item about kernel's audit state indicators. Affected files ... .. //depot/projects/trustedbsd/audit3/notes/TODO_audit.txt#5 edit Differences ... ==== //depot/projects/trustedbsd/audit3/notes/TODO_audit.txt#5 (text+ko) ==== @@ -75,3 +75,18 @@ kernel event mapping. Make the synchronization code a library function in OpenBSM so that the same code can be used in both auditd and the audit test suite. + +- Determine what the correct behavior should be for processes that +are started before audit is enabled: Should they be audited based +on naflags AFTER audit is enabled, or do they not get audited. + +- For programs that set the audit masks for authenticated users +(login, sshd, etc.) need to consider the audit off vs. audit +disabled (a temporary condition) state. Should the flags for +the process be set in the disabled state but not the off state? + +- Review the kernel audit_enabled and audit_suspended flags, making +sure they are used consistently, and they map to the exposed state +(AUC_DISABLED, AUC_AUDITING, and AUC_NOAUDIT). + +- Clearly document whatever is decided for the three items above.