From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 8 09:12:21 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5464B16A4BF; Mon, 8 Sep 2003 09:12:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB32043FE1; Mon, 8 Sep 2003 09:12:20 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (rwatson@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h88GCKUp087980; Mon, 8 Sep 2003 09:12:20 -0700 (PDT) (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h88GCKvU087976; Mon, 8 Sep 2003 09:12:20 -0700 (PDT) Date: Mon, 8 Sep 2003 09:12:20 -0700 (PDT) From: Robert Watson Message-Id: <200309081612.h88GCKvU087976@freefall.freebsd.org> To: rwatson@FreeBSD.org, freebsd-bugs@FreeBSD.org, rwatson@FreeBSD.org Subject: Re: bin/56595: sys/mac.h, sys/mac_policy.h cannot be used as is in C++ X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 16:12:21 -0000 Synopsis: sys/mac.h, sys/mac_policy.h cannot be used as is in C++ Responsible-Changed-From-To: freebsd-bugs->rwatson Responsible-Changed-By: rwatson Responsible-Changed-When: Mon Sep 8 09:10:39 PDT 2003 Responsible-Changed-Why: Take ownership of this bug as it relates to MAC. I'm currently on travel, but will merge the mac.h change shortly; we actually do use MAC labels with C++ KDE apps here, so there must have been a regression at some point. Regarding mac_policy.h: this is a kernel-only API. Right now, FreeBSD kernel-only headers are not generally C++-aware. If there's a compelling reason to fix this (i.e., you're using C++ in your kernel), I'd be happy to change this. http://www.freebsd.org/cgi/query-pr.cgi?pr=56595