Page MenuHomeFreeBSD

Add a "jail" keyword to list the name of a jail rather than its ID.
ClosedPublic

Authored by jhb on Mar 13 2018, 6:12 PM.
Tags
None
Referenced Files
F167892669: D14683.id40257.diff
Tue, Aug 25, 7:21 AM
F167890671: D14683.diff
Tue, Aug 25, 7:03 AM
Unknown Object (File)
Sat, Aug 22, 11:04 AM
Unknown Object (File)
Fri, Aug 21, 12:35 PM
Unknown Object (File)
Wed, Aug 12, 2:27 PM
Unknown Object (File)
Tue, Aug 11, 11:11 PM
Unknown Object (File)
Tue, Aug 11, 10:49 AM
Unknown Object (File)
Mon, Aug 10, 9:31 PM
Subscribers

Details

Test Plan
  • created a simple jail and then ran ps
  • if I commit this mwlucas@ will stop telling people to mount procfs in his book

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Sample output:

> sudo jail -c -n myjail command=/bin/sh
#

Then on the host:

> ps axO jail -J myjail
  PID JAIL   TT  STAT    TIME COMMAND
66392 myjail 36  I+J  0:00.00 /bin/sh
This revision is now accepted and ready to land.Mar 13 2018, 6:25 PM
This revision was automatically updated to reflect the committed changes.