Please, note that second patch should be modified to work on illumos (it should look like the first one).
Please, note that second patch should be modified to work on illumos (it should look like the first one).