Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2019 15:21:19 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r352296 - stable/12/sbin/camcontrol
Message-ID:  <201909131521.x8DFLJ7W046704@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Sep 13 15:21:18 2019
New Revision: 352296
URL: https://svnweb.freebsd.org/changeset/base/352296

Log:
  MFC r352257: Report Trusted Computing feature set support.
  
  It practically means the device is SED.

Modified:
  stable/12/sbin/camcontrol/camcontrol.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/camcontrol/camcontrol.c
==============================================================================
--- stable/12/sbin/camcontrol/camcontrol.c	Fri Sep 13 15:20:30 2019	(r352295)
+++ stable/12/sbin/camcontrol/camcontrol.c	Fri Sep 13 15:21:18 2019	(r352296)
@@ -1736,6 +1736,9 @@ atacapprint(struct ata_params *parm)
 	} else {
 		printf("no\n");
 	}
+	printf("Trusted Computing              %s\n",
+	    ((parm->tcg & 0xc000) == 0x4000) && (parm->tcg & ATA_SUPPORT_TCG) ?
+	    "yes" : "no");
 	printf("encrypts all user data         %s\n",
 		parm->support3 & ATA_ENCRYPTS_ALL_USER_DATA ? "yes" : "no");
 	printf("Sanitize                       ");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909131521.x8DFLJ7W046704>