bin/56595: sys/mac.h, sys/mac_policy.h cannot be used as is in C++

Robert Watson rwatson at FreeBSD.org
Mon Sep 8 09:12:21 PDT 2003


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


More information about the freebsd-bugs mailing list