PERFORCE change 133749 for review
Robert Watson
rwatson at FreeBSD.org
Sun Jan 20 14:46:07 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=133749
Change 133749 by rwatson at 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:
More information about the p4-projects
mailing list