Page MenuHomeFreeBSD
Feed Advanced Search

May 25 2018

araujo committed rS334219: We don't need check if str is NULL as free(3) will handle NULL.
We don't need check if str is NULL as free(3) will handle NULL
May 25 2018, 7:12 PM
araujo committed rS334216: After a long discussion about assert(3), we gonna use a HardenedBSD.
After a long discussion about assert(3), we gonna use a HardenedBSD
May 25 2018, 6:55 PM
araujo updated the diff for D15548: Fix an uninitialized variable as well as an stdarg cleanup. (CID: 1194318 and 1194332).

Simplify both macros EFPRINTF and EFFLUSH and remove the unnecessary variable 'err'.
Likewise, remove varible 'err' from some functions that uses those two macros.

May 25 2018, 3:36 AM
araujo added inline comments to D15545: Rework the logic of register_mem_int(). (Based on CID 1194192: Resource leak).
May 25 2018, 2:12 AM
araujo updated the diff for D15545: Rework the logic of register_mem_int(). (Based on CID 1194192: Resource leak).

Address @jhb issue regards with the respect of style(9).

May 25 2018, 2:12 AM
araujo committed rS334199: Fix a memory leak on topology_parse()..
Fix a memory leak on topology_parse().
May 25 2018, 2:07 AM
araujo closed D15550: Fix a memory leak on topology_parse()..
May 25 2018, 2:07 AM

May 24 2018

araujo added a comment to D15550: Fix a memory leak on topology_parse()..

Please mark the commit as MFC-X with https://svnweb.freebsd.org/changeset/base/332298

May 24 2018, 1:34 PM
araujo updated the summary of D15550: Fix a memory leak on topology_parse()..
May 24 2018, 9:25 AM
araujo created D15550: Fix a memory leak on topology_parse()..
May 24 2018, 9:23 AM
araujo added reviewers for D15548: Fix an uninitialized variable as well as an stdarg cleanup. (CID: 1194318 and 1194332): grehan, neel, tychon, anish, jhb.
May 24 2018, 5:00 AM
araujo created D15548: Fix an uninitialized variable as well as an stdarg cleanup. (CID: 1194318 and 1194332).
May 24 2018, 4:58 AM
araujo abandoned D15547: Fix an uninitialized variable as well as an stdarg cleanup. (CID: 1194318 and 1194332).

oooops, I opened a revision with the wrong file 🗡

May 24 2018, 4:57 AM
araujo updated the summary of D15547: Fix an uninitialized variable as well as an stdarg cleanup. (CID: 1194318 and 1194332).
May 24 2018, 4:56 AM
araujo created D15547: Fix an uninitialized variable as well as an stdarg cleanup. (CID: 1194318 and 1194332).
May 24 2018, 4:55 AM
araujo updated the diff for D15545: Rework the logic of register_mem_int(). (Based on CID 1194192: Resource leak).

Sort one more header.

May 24 2018, 3:57 AM
araujo updated the summary of D15545: Rework the logic of register_mem_int(). (Based on CID 1194192: Resource leak).
May 24 2018, 3:33 AM
araujo created D15545: Rework the logic of register_mem_int(). (Based on CID 1194192: Resource leak).
May 24 2018, 3:31 AM

May 23 2018

araujo committed rS334084: pthread_rwlock_unlock(3) returns 0 if successful, otherwise an error number.
pthread_rwlock_unlock(3) returns 0 if successful, otherwise an error number
May 23 2018, 9:35 AM
araujo closed D15533: Fix coverity CID: 1391235, 1193654 and 1193651 (Unchecked return value).
May 23 2018, 9:35 AM
araujo added reviewers for D15533: Fix coverity CID: 1391235, 1193654 and 1193651 (Unchecked return value): grehan, neel, tychon, anish, jhb, avg.
May 23 2018, 9:18 AM
araujo created D15533: Fix coverity CID: 1391235, 1193654 and 1193651 (Unchecked return value).
May 23 2018, 9:16 AM

May 22 2018

araujo reopened D10009: Fix a memory leak in bhyve.

It breaks pci_emul in other places, needs further investigation.
I'm taking it.

May 22 2018, 6:05 AM
araujo committed rS334021: Revert: r334016.
Revert: r334016
May 22 2018, 6:02 AM
araujo committed rS334019: Include atkbdc header where there are declared the prototype functions.
Include atkbdc header where there are declared the prototype functions
May 22 2018, 5:22 AM
araujo committed rS334016: We must free the variable str..
We must free the variable str.
May 22 2018, 4:08 AM
araujo closed D10009: Fix a memory leak in bhyve.
May 22 2018, 4:08 AM
araujo edited reviewers for D2838: Add on bhyvectl the capability to list the running vms., added: tychon, anish, jhb; removed: • rodrigc, rgrimes, neel.
May 22 2018, 3:44 AM
araujo updated the diff for D2838: Add on bhyvectl the capability to list the running vms..

Update this patch and fix the latest suggestions.

May 22 2018, 3:43 AM

May 21 2018

araujo committed rP470565: Update to 2018.05.09.
Update to 2018.05.09
May 21 2018, 5:43 PM

May 19 2018

araujo added inline comments to D15473: Add on bhyverun a new option '-B' that gives the capability to change the smbios table type1 using an ucl based configuration file..
May 19 2018, 9:32 AM
araujo updated the diff for D15473: Add on bhyverun a new option '-B' that gives the capability to change the smbios table type1 using an ucl based configuration file..

ops gratuitous change slipped in, I fixed that. Thank you @imp!

May 19 2018, 9:30 AM

May 18 2018

araujo updated the summary of D15473: Add on bhyverun a new option '-B' that gives the capability to change the smbios table type1 using an ucl based configuration file..
May 18 2018, 6:55 AM
araujo updated the test plan for D15473: Add on bhyverun a new option '-B' that gives the capability to change the smbios table type1 using an ucl based configuration file..
May 18 2018, 6:54 AM
araujo created D15473: Add on bhyverun a new option '-B' that gives the capability to change the smbios table type1 using an ucl based configuration file..
May 18 2018, 6:53 AM

May 17 2018

araujo added a comment to D15421: bhyve: fix usage formatting.

Thanks for catch Roman, I have prepared a commit and sent it to my mentors for approval, with a fast track 3 day MFC as this made it into stable/11.

Wait! Do you just committed a patch sent by another developer?

@novel have you approved that?

Best

Yes, based on the facts: I was the person that committed the original bug, and @novel has a ports commit bit, so could not of committed this to src without approval.

May 17 2018, 1:50 PM
araujo added a comment to D15421: bhyve: fix usage formatting.

Thanks for catch Roman, I have prepared a commit and sent it to my mentors for approval, with a fast track 3 day MFC as this made it into stable/11.

May 17 2018, 1:26 PM

May 15 2018

araujo added a comment to D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..
In D15388#325307, @jhb wrote:

Normally if you weren't planning to do a runtime check you would just not have 'n' at all. What you really kind of want is a working version of 'assert(vq_getchain(...) >=1)' but you can't do that safely. Andriy is right that the warning will be back with a NDEBUG build (but we don't define NDEBUG in FreeBSD builds, even for releases). The current version is perhaps the least evil. Other ideas I considered:

if (vq_getchain(...) < 1)
    abort();
if (vq_getchain(...) < 1)
   assert(false);
May 15 2018, 5:56 AM
araujo closed D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..
May 15 2018, 5:55 AM
araujo committed rS333622: vq_getchain() can return -1 if some descriptor(s) are invalid and prints.
vq_getchain() can return -1 if some descriptor(s) are invalid and prints
May 15 2018, 5:55 AM

May 13 2018

araujo edited reviewers for D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc., added: avg; removed: rgrimes.
May 13 2018, 4:49 AM
araujo updated the diff for D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..

Address @avg concern about idx becomes 0 and be passed to vq_relchain and perhaps
end up on vq_endchains with a bogus values.

May 13 2018, 4:47 AM

May 11 2018

araujo added inline comments to D15276: Add virtio-scsi block storage backend support.
May 11 2018, 7:02 PM
araujo added inline comments to D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..
May 11 2018, 3:13 PM
araujo added inline comments to D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..
May 11 2018, 2:29 PM
araujo added inline comments to D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..
May 11 2018, 2:10 PM
araujo updated the summary of D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..
May 11 2018, 9:29 AM
araujo updated the summary of D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..
May 11 2018, 8:36 AM
araujo updated the summary of D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..
May 11 2018, 8:35 AM
araujo created D15388: assert(3) vq_getchain() on pci_vtcon_notify_tx() spotted by gcc..
May 11 2018, 8:34 AM

May 10 2018

araujo abandoned D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.

Don't know why the review wasn't updated.
I just committed it: https://svnweb.freebsd.org/changeset/base/333446

May 10 2018, 4:17 AM
araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
  • Remove blank line and add copyright for the initial work made by @jceel.
May 10 2018, 3:30 AM
araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
  • Address the latest comments and fixed an issue with copy(9) on sys/cam/ctl/ctl.c.
May 10 2018, 3:16 AM

May 4 2018

araujo updated the test plan for D15276: Add virtio-scsi block storage backend support.
May 4 2018, 10:14 AM
araujo updated the diff for D15276: Add virtio-scsi block storage backend support.

Turn off debugs on pci_virtio_scsi.c, updated the review with this option on by mistake.

May 4 2018, 10:07 AM
araujo updated the diff for D15276: Add virtio-scsi block storage backend support.

Address avg@, @bcr and @rgrimes suggestions.

May 4 2018, 10:04 AM
araujo added a comment to D15276: Add virtio-scsi block storage backend support.
In D15276#322033, @avg wrote:

I wonder if this can be made to work with pass devices.

May 4 2018, 9:41 AM

May 3 2018

araujo updated the test plan for D15276: Add virtio-scsi block storage backend support.
May 3 2018, 7:25 AM
araujo updated the test plan for D15276: Add virtio-scsi block storage backend support.
May 3 2018, 7:23 AM
araujo removed a reviewer for D15276: Add virtio-scsi block storage backend support: rgrimes.
May 3 2018, 7:20 AM
araujo created D15276: Add virtio-scsi block storage backend support.
May 3 2018, 7:19 AM

Apr 30 2018

araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.

Fixed a sentence at the example section that was changed by mistake.

Apr 30 2018, 3:04 AM
araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.

Address @mav and @wblock changes requested.

Apr 30 2018, 2:55 AM

Apr 18 2018

araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
  • Restore again the updates on ctladm.8.
Apr 18 2018, 9:56 AM
araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
  • Remove an unnecessary free() that was commented already.
  • Initialize a variable to silence clang-analysis warning.
  • Use realloc instead of malloc.
Apr 18 2018, 9:53 AM
araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
  • Bring back ctladm.8 updated, removed by mistake.
Apr 18 2018, 5:14 AM
araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
  • Fix kernel panic when use 'ctladm portlist' and 'ctladm port -l' because of the misusage of variable cookie on nvlist_next. The variable cookie must be set to NULL for the first call and should not be changed later.
  • As we are inside KERNEL it is safer use dnv(9) and check if we have a return from dnvlist_get_string.
Apr 18 2018, 5:08 AM

Apr 13 2018

araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
  • Keep the on|off as option "o" or otherwise we will break POLA.
  • Instead to use "o" for pp|vp we will use "O".
  • Update manpage to reflect these changes.
  • Also remove a unnecessary free() that was creating a core dump on ctladm.
Apr 13 2018, 3:40 AM

Apr 12 2018

araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
  • Update ctladm(8) manpage to reflect all these changes.
  • Also reorganize the 'example' section where it should have first an explanation about the command line and then the command line example.
  • Add at the example section some examples how to use the new options ioctl frontend.
Apr 12 2018, 7:38 AM
araujo added a comment to D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
NOTE: One more commit will be done for the manpage update.
Apr 12 2018, 6:03 AM
araujo updated the diff for D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.

Sync this patch with the latest HEAD revision, also bump FreeBSD version due API changes and to make it explicite incompatible with other versions.

Apr 12 2018, 6:02 AM
araujo commandeered D9299: Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.

I'm taking over this review as I need it to be able to add virtio-scsi for bhyve.
All the credits are still maintained for the amazing work done by @jceel

Apr 12 2018, 5:58 AM

Apr 8 2018

araujo added a comment to D15015: sysutils/pfstat: Improve port.

Please bump portrevision as there's a new dependency.

Apr 8 2018, 4:42 PM
araujo accepted D15015: sysutils/pfstat: Improve port.

Lgtm!

Apr 8 2018, 4:40 PM

Mar 29 2018

araujo committed rS331729: MFC r305860, r306371.
MFC r305860, r306371
Mar 29 2018, 5:02 AM
araujo committed rS331728: MFC r329817:.
MFC r329817:
Mar 29 2018, 4:51 AM

Mar 18 2018

araujo added a comment to D12419: HD Audio Emulation For Bhyve (Based on D7840).

Oooops! I completely forgot this patch, I will add capsicum this week.
My bad!

Mar 18 2018, 2:41 AM

Mar 14 2018

araujo accepted D14692: www/youtube_dl: Update to 2018.03.10.

Lgtm! Feel free to commit it.

Mar 14 2018, 9:01 AM

Mar 11 2018

araujo accepted D14648: Add CR2 get/set to bhyvectl..

LGTM!

Mar 11 2018, 8:18 AM

Mar 7 2018

araujo committed rP463820: - Transfer projects to FreeNAS Github account..
- Transfer projects to FreeNAS Github account.
Mar 7 2018, 6:32 PM

Feb 22 2018

araujo committed rS329817: The firewall_type is ignored if not set in rc.conf or rc.conf.local,.
The firewall_type is ignored if not set in rc.conf or rc.conf.local,
Feb 22 2018, 8:25 AM
araujo closed D14286: firewall_type is ignored if not set in rc.conf or rc.conf.local.
Feb 22 2018, 8:25 AM

Feb 13 2018

araujo committed rS329193: - I'm not using nis(8) and ypldap(8) anymore, so I'm removing myself.
- I'm not using nis(8) and ypldap(8) anymore, so I'm removing myself
Feb 13 2018, 6:36 AM
araujo added a comment to D14286: firewall_type is ignored if not set in rc.conf or rc.conf.local.

@allanjude Do you have any other consideration?

Feb 13 2018, 6:27 AM

Feb 12 2018

araujo committed rP461570: - NO_PACKAGE as it needs to be compiled for a specific FreeBSD arch..
- NO_PACKAGE as it needs to be compiled for a specific FreeBSD arch.
Feb 12 2018, 9:51 AM

Feb 10 2018

araujo added a comment to D14286: firewall_type is ignored if not set in rc.conf or rc.conf.local.

For this to work right, shouldn't we load /etc/rc.conf.d/pf and maybe ipf as well?

Feb 10 2018, 5:51 AM
araujo added a reviewer for D14286: firewall_type is ignored if not set in rc.conf or rc.conf.local: araujo.
Feb 10 2018, 5:11 AM

Jan 31 2018

araujo committed rP460455: - Go get needs devel/git..
- Go get needs devel/git.
Jan 31 2018, 3:14 AM

Jan 29 2018

araujo committed rP460310: - Update to 1.7..
- Update to 1.7.
Jan 29 2018, 2:33 PM
araujo committed rP460309: - Update to 1.1..
- Update to 1.1.
Jan 29 2018, 2:27 PM
araujo committed rP460308: - Back to ports@, I'm not using these ports anymore..
- Back to ports@, I'm not using these ports anymore.
Jan 29 2018, 2:22 PM
araujo committed rP460307: - Update to 2018.01.27..
- Update to 2018.01.27.
Jan 29 2018, 2:20 PM
araujo committed rP460306: - Update to 8.13.7..
- Update to 8.13.7.
Jan 29 2018, 2:16 PM
araujo committed rP460305: - Add a virtual categories sysutils forgotten in my previous commit..
- Add a virtual categories sysutils forgotten in my previous commit.
Jan 29 2018, 1:57 PM
araujo committed rP460304: It is an agent developed using Go that runs inside guest virtual machines.
It is an agent developed using Go that runs inside guest virtual machines
Jan 29 2018, 1:50 PM
araujo committed rP460241: - Update textproc/py-sphinx to 1.6.5. [0].
- Update textproc/py-sphinx to 1.6.5. [0]
Jan 29 2018, 6:45 AM

Jan 23 2018

araujo added a comment to D14022: NVMe emulation for bhyve (improved).

There is no man page entry, maybe we could use the same man page changes from review D13995?

Jan 23 2018, 10:52 AM

Jan 5 2018

araujo committed rP458100: Update to 1.0.4..
Update to 1.0.4.
Jan 5 2018, 2:50 AM

Dec 28 2017

araujo committed rP457437: - Update to 0.9.10..
- Update to 0.9.10.
Dec 28 2017, 4:42 AM

Dec 22 2017

araujo committed rP456966: Update WWW..
Update WWW.
Dec 22 2017, 3:02 AM