Date: Fri, 22 May 2009 09:59:34 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192577 - head/sys/sys Message-ID: <200905220959.n4M9xY6f000199@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Fri May 22 09:59:34 2009 New Revision: 192577 URL: http://svn.freebsd.org/changeset/base/192577 Log: Add privileges for Capi4BSD to control: - controller reset/firmware loading. - controller level tracing and tracing of capi messages of applications running with different user credentials. Reviewed by: rwatson MFC after: 2 weeks Modified: head/sys/sys/priv.h Modified: head/sys/sys/priv.h ============================================================================== --- head/sys/sys/priv.h Fri May 22 05:11:03 2009 (r192576) +++ head/sys/sys/priv.h Fri May 22 09:59:34 2009 (r192577) @@ -458,9 +458,15 @@ #define PRIV_CPUCTL_UPDATE 641 /* Update cpu microcode. */ /* + * Capi4BSD privileges. + */ +#define PRIV_C4B_RESET_CTLR 650 /* Load firmware, reset controller. */ +#define PRIV_C4B_TRACE 651 /* Unrestricted CAPI message tracing. */ + +/* * Track end of privilege list. */ -#define _PRIV_HIGHEST 642 +#define _PRIV_HIGHEST 652 /* * Validate that a named privilege is known by the privilege system. Invalid
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905220959.n4M9xY6f000199>