File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 25
25
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26
26
.\" SUCH DAMAGE.
27
27
.\"
28
- .Dd August 26, 2019
28
+ .Dd April 20, 2024
29
29
.Dt KTRACE 1
30
30
.Os
31
31
.Sh NAME
151
151
and
152
152
.Ar command
153
153
options are mutually exclusive.
154
+ .Sh CAPABILITY VIOLATION TRACING
155
+ When the
156
+ .Cm p
157
+ trace point is specified,
158
+ .Nm
159
+ will record
160
+ .Xr capsicum 4
161
+ capability mode violations made by the traced process.
162
+ Violations will be logged regardless of whether the process has actually
163
+ entered capability mode.
164
+ .Pp
165
+ For developers that are interested in Capsicumizing their programs, the
166
+ .Cm c , n , p
167
+ trace points can help quickly identify any system calls and path lookups that
168
+ are triggering violations.
154
169
.Sh EXAMPLES
155
170
Run "make", then trace it and any child processes:
156
171
.Dl $ ktrace -i make
@@ -183,7 +198,8 @@ Disable tracing of all user-owned processes:
183
198
.Xr kdump 1 ,
184
199
.Xr truss 1 ,
185
200
.Xr ktrace 2 ,
186
- .Xr utrace 2
201
+ .Xr utrace 2 ,
202
+ .Xr capsicum 4
187
203
.Sh HISTORY
188
204
The
189
205
.Nm
You can’t perform that action at this time.
0 commit comments