Date: Tue, 6 Oct 2009 12:57:07 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 169264 for review Message-ID: <200910061257.n96Cv7iv075448@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=169264 Change 169264 by rwatson@rwatson_cinnamon on 2009/10/06 12:56:28 OpenBSM bits for ENOTCAPABLE on FreeBSD. Affected files ... .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_errno.c#20 edit .. //depot/projects/trustedbsd/openbsm/sys/bsm/audit_errno.h#6 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_errno.c#20 (text+ko) ==== @@ -26,7 +26,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_errno.c#19 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_errno.c#20 $ */ #include <sys/types.h> @@ -684,6 +684,13 @@ ERRNO_NO_LOCAL_MAPPING, #endif ES("Key was rejected by service") }, + { BSM_ERRNO_ENOTCAPABLE, +#ifdef ENOTCAPABLE + ENOTCAPABLE, +#else + ERRNO_NO_LOCAL_MAPPING, +#endif + ES("Capabilities insufficient") }, }; static const int bsm_errnos_count = sizeof(bsm_errnos) / sizeof(bsm_errnos[0]); ==== //depot/projects/trustedbsd/openbsm/sys/bsm/audit_errno.h#6 (text+ko) ==== @@ -26,7 +26,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_errno.h#5 $ + * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_errno.h#6 $ */ #ifndef _BSM_AUDIT_ERRNO_H_ @@ -204,6 +204,7 @@ #define BSM_ERRNO_EKEYEXPIRED 220 /* Linux-specific. */ #define BSM_ERRNO_EKEYREVOKED 221 /* Linux-specific. */ #define BSM_ERRNO_EKEYREJECTED 222 /* Linux-specific. */ +#define BSM_ERRNO_ENOTCAPABLE 223 /* FreeBSD-specific. */ /* * In the event that OpenBSM doesn't have a file representation of a localhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910061257.n96Cv7iv075448>
