Page MenuHomeFreeBSD
Feed Advanced Search

Nov 7 2017

kaktus updated the test plan for D12972: sysctl_kern_proc_umask: fast path when operating on curproc.
Nov 7 2017, 3:51 PM
kaktus updated the summary of D12972: sysctl_kern_proc_umask: fast path when operating on curproc.
Nov 7 2017, 3:51 PM
kaktus created D12972: sysctl_kern_proc_umask: fast path when operating on curproc.
Nov 7 2017, 3:51 PM

Nov 3 2017

kaktus updated the diff for D12929: pget: don't acquire allproc_lock when operating on curproc.

Roll back to the original version and optimise only for the pid == curproc->p_pid case.

Nov 3 2017, 4:07 PM
kaktus added a comment to D12929: pget: don't acquire allproc_lock when operating on curproc.

Shouldn't then CPUCLOCK_WHICH_PID case in kern_clock_getcpuclockid2 be amended?

Nov 3 2017, 2:49 PM
kaktus added a comment to D12929: pget: don't acquire allproc_lock when operating on curproc.

I'll check pfind and create new review if needed.

Nov 3 2017, 2:05 PM
kaktus updated the diff for D12929: pget: don't acquire allproc_lock when operating on curproc.

Address @kib comment and check for tid too.

Nov 3 2017, 2:02 PM
kaktus created D12929: pget: don't acquire allproc_lock when operating on curproc.
Nov 3 2017, 1:40 PM

Oct 31 2017

kaktus added a comment to D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0.

OK, let me take a look at creating some in-kernel interface for this.

Oct 31 2017, 11:36 AM · network
kaktus added a comment to D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0.

I don't know if I understand. jexec uses exactly the same syscall, jail_attach to achieve the same effect. Putting ifconfig and route inside a jail allows even more actions to be taken by the in-jail admin.
Also, there is no obvious other way to achieve this with current API.
I see two other options: additional API to manage jails and vnet without attaching process to the jail, or finding a way to avoid duplicated interface names but adding some sort of unique id(?).

Oct 31 2017, 11:19 AM · network

Oct 28 2017

kaktus updated the diff for D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0.

Address comments and sync with r325058.

Oct 28 2017, 7:32 PM · network

Feb 17 2017

kaktus updated the diff for D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0.

Even better grammar!

Feb 17 2017, 9:44 PM · network
kaktus updated the diff for D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0.

Use proper diff.

Feb 17 2017, 8:29 PM · network
kaktus updated the diff for D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0.

man fixes: improve poor grammar, bump date, start sentences from new line.

Feb 17 2017, 8:25 PM · network
kaktus updated the test plan for D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0.
Feb 17 2017, 1:08 PM · network
kaktus updated the test plan for D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0.
Feb 17 2017, 1:08 PM · network
kaktus updated the test plan for D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0.
Feb 17 2017, 1:05 PM · network
kaktus retitled D9649: ifconfig(8) and route(8) should be able to manage vnet configurations from prison0 from to Enable VNET operations for ifconfig and route.
Feb 17 2017, 12:55 PM · network

Feb 14 2017

kaktus added a comment to D8290: Capsicumise bhyve.

As I wrote in a mail to @jhb - the idea is worth considering. I'd like to gather some feedback from broader audience as the code is in base now and start a new review with some ideas about polishing / improvements to the code.

Feb 14 2017, 5:07 PM
kaktus updated the diff for D8290: Capsicumise bhyve.

Remove extra ENOSYS check and notification about lack of Capsicum support in the kernel.

Feb 14 2017, 1:20 PM
kaktus added a comment to D8290: Capsicumise bhyve.

@grehan capsicum @emaste Guys, can this be reviewed and accepted once again so it could be safely committed?

Feb 14 2017, 12:55 PM

Feb 13 2017

kaktus updated the diff for D8290: Capsicumise bhyve.

Remove now empty #ifdef.

Feb 13 2017, 1:40 PM
kaktus updated the diff for D8290: Capsicumise bhyve.

@grehan Thank you for your help and the review.

Feb 13 2017, 1:26 PM

Feb 8 2017

kaktus updated the diff for D8290: Capsicumise bhyve.

Address @grehan comments:

  • use bcopy instead of memcpy to be consistent with the rest of the code,
  • use cap_ioctl_t instead of unsigned long,
  • style(9) fixes.
Feb 8 2017, 9:31 AM

Feb 4 2017

kaktus updated the diff for D8290: Capsicumise bhyve.

Drop executable permission in mmap.

Feb 4 2017, 11:42 AM
kaktus added inline comments to D8290: Capsicumise bhyve.
Feb 4 2017, 11:39 AM

Feb 1 2017

kaktus updated the diff for D8290: Capsicumise bhyve.

Allow pci_e82545 descriptor to be used by mevent.

Feb 1 2017, 10:59 PM

Jan 30 2017

kaktus updated the diff for D8290: Capsicumise bhyve.

Allow fsync(2) in block devices.

Jan 30 2017, 9:43 AM

Jan 10 2017

kaktus updated the diff for D8290: Capsicumise bhyve.
  • Address @grehan comments
  • Sync with r311881
  • Small style fixes
Jan 10 2017, 8:48 PM

Dec 15 2016

kaktus added inline comments to D8290: Capsicumise bhyve.
Dec 15 2016, 11:31 PM

Dec 14 2016

kaktus updated the diff for D8290: Capsicumise bhyve.
  • Address @grehan comments and move table with VM_ ioctls to a separate function in libvmmapi
  • Style fixes here and there
  • Sync with r310050
Dec 14 2016, 12:03 PM

Dec 12 2016

kaktus added a comment to D8290: Capsicumise bhyve.

@lattera-gmail.com Thank you for the tests! I'd also want to appeal to anyone else who can help testing it in any configuration.

Dec 12 2016, 5:11 PM

Dec 10 2016

kaktus updated the diff for D8543: Capsicumise dd.

Fix regression when stdin/out/err fds are are overridden by shell.
Found by Kyua tests.

Dec 10 2016, 2:57 PM · capsicum
kaktus updated the diff for D8290: Capsicumise bhyve.

Wops, wrong differential, sorry.

Dec 10 2016, 2:56 PM
kaktus removed a reviewer for D8290: Capsicumise bhyve: ngie.
Dec 10 2016, 2:54 PM
kaktus updated the diff for D8290: Capsicumise bhyve.

Fix regression when stdin/out/err fds are are overridden by shell.
Found by Kyua tests.

Dec 10 2016, 2:53 PM

Dec 7 2016

kaktus updated the diff for D8543: Capsicumise dd.

Update diff with one that survived building head@r309672:

  1. buildword && buildkernel on FreeBSD 10.3-R i386
  2. universe on FreeBSD 11.0-R amd64
Dec 7 2016, 10:52 PM · capsicum

Dec 6 2016

kaktus added a comment to D8543: Capsicumise dd.

Since dd was removed from bootstrap in 309412, can this be recommitted?

Dec 6 2016, 6:41 PM · capsicum

Dec 2 2016

kaktus added a comment to D8290: Capsicumise bhyve.

Ping after two weeks of silence.

Dec 2 2016, 10:32 AM

Nov 21 2016

kaktus added a comment to D8543: Capsicumise dd.

As I see libcapsicum is header only https://svnweb.freebsd.org/base/head/lib/libcapsicum/Makefile?revision=306726&view=markup.
The breakage was obviously caused by lack of that header in installed system older than 12-C.

Nov 21 2016, 8:34 PM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.

Make it compile on older releases as dd is part of bootstrap and pre 12-C don't have capsicum_helpers.h installed.

Nov 21 2016, 12:06 PM · capsicum

Nov 18 2016

kaktus added a comment to D8290: Capsicumise bhyve.

Does VNC disconnect/reconnect work ? (I'll try and test this out)

Nov 18 2016, 8:08 PM
kaktus updated the diff for D8543: Capsicumise dd.
  • be more consistent with lowercase in err().
Nov 18 2016, 7:38 PM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.

Fix indentation.

Nov 18 2016, 4:51 PM · capsicum
kaktus added inline comments to D8543: Capsicumise dd.
Nov 18 2016, 10:50 AM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.

Updated diff after requested changes.

Nov 18 2016, 10:48 AM · capsicum

Nov 17 2016

kaktus updated the diff for D8543: Capsicumise dd.

Regenerate, this time with -U999999.

Nov 17 2016, 11:13 AM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.

Regenerate patch.

Nov 17 2016, 11:10 AM · capsicum

Nov 16 2016

kaktus added inline comments to D8543: Capsicumise dd.
Nov 16 2016, 9:48 PM · capsicum
kaktus retitled D8543: Capsicumise dd from to Capsicumise dd.
Nov 16 2016, 9:37 PM · capsicum
kaktus updated the diff for D8290: Capsicumise bhyve.
  • use helper instead of raw catopen
  • remove unneeded call to cap_rights_remove
  • sort capabilities alphabetically
Nov 16 2016, 1:45 PM

Nov 15 2016

kaktus added inline comments to D8290: Capsicumise bhyve.
Nov 15 2016, 10:45 AM
kaktus added inline comments to D8290: Capsicumise bhyve.
Nov 15 2016, 10:44 AM
kaktus updated the diff for D8290: Capsicumise bhyve.
  • bvmcons, stdin/out/err, uart are now properly limited, that means that all descriptors used should be now properly restricted
  • additionally tested with nmdm
  • style fixes
  • small rewrites to reduce capabilities
Nov 15 2016, 10:41 AM

Oct 25 2016

kaktus updated the diff for D8290: Capsicumise bhyve.
  • apply some rights later to limit capabilities needed
  • remove CAP_FCNTL in uart code after the last use
  • regenerate diff to match phabricate preferences
  • #ifndef some missed cases
  • fix spurious tabs
Oct 25 2016, 1:53 PM

Oct 20 2016

kaktus updated the diff for D8290: Capsicumise bhyve.

Update diff:

Oct 20 2016, 10:51 PM

Oct 19 2016

kaktus updated D8290: Capsicumise bhyve.
Oct 19 2016, 11:14 PM
kaktus updated the diff for D8290: Capsicumise bhyve.

Remove some spurious tabs to spaces.

Oct 19 2016, 11:11 PM
kaktus retitled D8290: Capsicumise bhyve from to Capsicumise bhyve.
Oct 19 2016, 11:04 PM

Jul 29 2015

kaktus added a comment to D3209: lang/pypy: simplify port.

Obviously it should be

Jul 29 2015, 1:47 PM · Python
kaktus added a comment to D3209: lang/pypy: simplify port.

Thank you for your work on that port.

Jul 29 2015, 10:55 AM · Python

Mar 27 2015

kaktus added a comment to D2130: Unmout devfs when killing a jail..
In D2130#23, @mjg wrote:

Or to re-state, I consider userspace approach inherently flawed. I also consider a kernel one relatively easy to achieve (pass filesystem list along when the jail is created, then let the kernel act on it when it decides to kill the jail).

Mar 27 2015, 2:09 PM
kaktus added a comment to D2130: Unmout devfs when killing a jail..

Thank you all for the constructive feedback. A bit of history. I wrote this more that two year ago as a quick hack to solve a problem of leftovers after removing jails using jids. From the two years perspective I see that now I'd write it differently.

Mar 27 2015, 12:24 PM