[fmac-discuss] [PATCH] typo in truss for security_getenforce/setenforce

John Weeks john.weeks at sun.com
Thu Jul 24 18:14:25 PDT 2008


security_getenforce/setenforce shouldn't have an underscore between the
get/set and the enforce.

-John

diff --git a/usr/src/cmd/truss/systable.c b/usr/src/cmd/truss/systable.c
--- a/usr/src/cmd/truss/systable.c
+++ b/usr/src/cmd/truss/systable.c
@@ -840,8 +840,8 @@ const	struct systable sidsystable[] = {
 #define	NSIDSYSCODE	(sizeof (sidsystable) / sizeof (struct systable))

 const	struct systable fmacsystable[] = {
-{"security_get_enforce",	1, DEC, NOV, HID},		/* 0 */
-{"security_set_enforce",	2, DEC, NOV, HID, DEC},		/* 1 */
+{"security_getenforce",		1, DEC, NOV, HID},		/* 0 */
+{"security_setenforce",		2, DEC, NOV, HID, DEC},		/* 1 */
 {"security_load_policy",	2, UNS, UNS, HID, STG},		/* 2 */
 {"is_fmac_enabled",		1, DEC, NOV, HID},		/* 3 */
 {"security_compute_av",	6, DEC, NOV, HID, STG, STG, DEC, DEC, HEX}, /* 4 */



More information about the fmac-discuss mailing list