summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jls
Commit message (Collapse)AuthorAgeFilesLines
* Sync code with the error report: calloc(number, 1) is equivalent topjd2005-08-191-1/+1
| | | | malloc(number).
* Not sure why, but SYSCTL_OUT() can sometimes keep returning ENOMEMpjd2005-08-151-11/+17
| | | | | | | | | | | | | | | | | | in sysctl_jail_list(). Because of this, jls(8) could enter into an endless loop. The strange thing is, that we can call jls(8) while the other one is in loop and it will succeed - SYSCTL_OUT() will not return ENOMEM there. Maybe SYSCTL_OUT() returns first ENOMEM, because there is no memory, but is marking some memory range as wired even on failure and another SYSCTL_OUT() calls are not going to succeed, because process exceeds limit of wired memory? ENOVMCLUE. Anyway. Fix jls(8) to ignore ENOMEM and retry only 4 times. Submitted by: Niklas Saers PR: kern/79245 MFC after: 3 days
* IP addresses can be up to 15 characters long, not 12.mike2003-04-221-2/+2
| | | | PR: 50904
* Fixed an err() format error in rev.1.1. This should have been fatalbde2003-04-171-1/+1
| | | | | since WARNS was high in rev.1.1, but __printf0like() has been temporarily disabled for 9 months.
* o Add jls(8) for listing active jails.mike2003-04-093-0/+134
o Add jexec(8) to execute a command in an existing jail. o Add -j option for killall(1) to kill all processes in a specified jail. o Add -i option to jail(8) to output jail ID of newly created jail.
OpenPOWER on IntegriCloud