Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2008 22:46:06 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 133749 for review
Message-ID:  <200801202246.m0KMk6el023367@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133749

Change 133749 by rwatson@rwatson_freebsd_capabilities on 2008/01/20 22:45:20

	Add rudimentary support for capability file types.  There's more to
	it than this if done properly, but we'll need to export the
	indirected file descriptor type and properties, as well as the mask.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/usr.bin/procstat/procstat_files.c#2 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/usr.bin/procstat/procstat_files.c#2 (text+ko) ====

@@ -205,6 +205,15 @@
 			str = "h";
 			break;
 
+		case KF_TYPE_CAPABILITY:
+			/*
+			 * XXXRW: Ideally, we'd display detailed information
+			 * on the object behind the capability, and the
+			 * rights on the capability.
+			 */
+			str = "a";
+			break;
+
 		case KF_TYPE_NONE:
 		case KF_TYPE_UNKNOWN:
 		default:



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