Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161842475
D44886.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D44886.diff
View Options
diff --git a/usr.bin/ktrace/ktrace.1 b/usr.bin/ktrace/ktrace.1
--- a/usr.bin/ktrace/ktrace.1
+++ b/usr.bin/ktrace/ktrace.1
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd August 26, 2019
+.Dd April 20, 2024
.Dt KTRACE 1
.Os
.Sh NAME
@@ -151,6 +151,21 @@
and
.Ar command
options are mutually exclusive.
+.Sh CAPABILITY VIOLATION TRACING
+When the
+.Cm p
+trace point is specified,
+.Nm
+will record
+.Xr capsicum 4
+capability mode violations made by the traced process.
+Violations will be logged regardless of whether the process has actually
+entered capability mode.
+.Pp
+For developers that are interested in Capsicumizing their programs, the
+.Cm c , n , p
+trace points can help quickly identify any system calls and path lookups that
+are triggering violations.
.Sh EXAMPLES
Run "make", then trace it and any child processes:
.Dl $ ktrace -i make
@@ -183,7 +198,8 @@
.Xr kdump 1 ,
.Xr truss 1 ,
.Xr ktrace 2 ,
-.Xr utrace 2
+.Xr utrace 2 ,
+.Xr capsicum 4
.Sh HISTORY
The
.Nm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 8, 7:50 AM (13 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34837313
Default Alt Text
D44886.diff (1 KB)
Attached To
Mode
D44886: ktrace: Describe CAPFAIL trace point in man page
Attached
Detach File
Event Timeline
Log In to Comment