From owner-freebsd-current Wed Jan 27 18:28:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA21012 for freebsd-current-outgoing; Wed, 27 Jan 1999 18:28:51 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA21003 for ; Wed, 27 Jan 1999 18:28:49 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id VAA14247; Wed, 27 Jan 1999 21:28:47 -0500 (EST) (envelope-from wollman) Date: Wed, 27 Jan 1999 21:28:47 -0500 (EST) From: Garrett Wollman Message-Id: <199901280228.VAA14247@khavrinen.lcs.mit.edu> To: Robert Watson Cc: freebsd-current@FreeBSD.ORG Subject: Naming files in sys/kern In-Reply-To: References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > It's not clear to me, when thinking of introducing a new file (say, for > auditing support :), what I should name it. Would it be kern_audit.c or > sys_audit.c? Depends on what it is auditing. If it only auditing the basic I/O operations, then it would go in sys_*.c. If it's a more general kernel facility, then it goes in kern_*.c. > Or, if it is POSIX.1e, would it go into a /usr/src/sys/posix1e > directory as the posix4 realtime stuff did (assuming that support > for additional features from that posix draft were going to be > forthcoming)? Giving the unhelpful tendency of Project 1003 to renumber its standards after-the-fact (or fold them into the main 1003.1 document), I would suggest against using committee identifiers like this. If it's controlled by a compile-time option, it should probably be called POSIX_AUDITING rather than POSIX_1e or something of that nature, since your statement implies that there is a useful granularity of features. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message