Re: svn commit: r364791 - head/usr.sbin/jail

2020-08-26 Thread James Gritton
On 2020-08-26 09:32, Kyle Evans wrote: On Wed, Aug 26, 2020 at 6:58 AM Roman Bogorodskiy wrote: Jamie Gritton wrote: > Author: jamie > Date: Wed Aug 26 00:42:59 2020 > New Revision: 364791 > URL: https://svnweb.freebsd.org/changeset/base/364791 > > Log: > Handle jail.conf variables that

Re: svn commit: r333263 - in head: lib/libjail sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocfs sys/compat/linsysfs sys/fs/devfs sys/fs/fdescfs sys/fs/nullfs sys/fs/procfs sys/fs/ps

2018-11-16 Thread James Gritton
On 2018-11-16 16:30, Alan Somers wrote: > On Fri, Nov 16, 2018 at 2:28 PM James Gritton wrote: > > On 2018-11-16 10:34, Alan Somers wrote: > > On Fri, May 4, 2018 at 2:54 PM Jamie Gritton wrote: > Author: jamie > Date: Fri May 4 20:54:27 2018 > New Revis

Re: svn commit: r333263 - in head: lib/libjail sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocfs sys/compat/linsysfs sys/fs/devfs sys/fs/fdescfs sys/fs/nullfs sys/fs/procfs sys/fs/ps

2018-11-16 Thread James Gritton
On 2018-11-16 10:34, Alan Somers wrote: > On Fri, May 4, 2018 at 2:54 PM Jamie Gritton wrote: > >> Author: jamie >> Date: Fri May 4 20:54:27 2018 >> New Revision: 333263 >> URL: https://svnweb.freebsd.org/changeset/base/333263 >> >> Log: >> Make it easier for filesystems to count themselves

Re: svn commit: r340319 - head/usr.sbin/jail

2018-11-10 Thread James Gritton
On 2018-11-10 06:03, Eugene Grosbein wrote: 10.11.2018 19:12, Bjoern A. Zeeb wrote: Usually also jls is the command which will give information (compared to actions) on jails, would that not fit there? jls(8) currently does not parse /etc/jail.conf and I'd like to avoid code duplication

Re: svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread James Gritton
On 2018-08-16 13:58, Rodney W. Grimes wrote: On 2018-08-16 13:36, Rodney W. Grimes wrote: >> OK, so noted. But seeing as I've already done the partial in this >> case, >> what's best to do now? Should I add another commit to revert the >> so-far >> unreverted files? > > Thats a mixed bag,

Re: svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread James Gritton
On 2018-08-16 13:36, Rodney W. Grimes wrote: OK, so noted. But seeing as I've already done the partial in this case, what's best to do now? Should I add another commit to revert the so-far unreverted files? Thats a mixed bag, how many files is it, and what would the commit message before

Re: svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread James Gritton
OK, so noted. But seeing as I've already done the partial in this case, what's best to do now? Should I add another commit to revert the so-far unreverted files? - Jamie On 2018-08-16 13:27, Rodney W. Grimes wrote: Author: jamie Date: Thu Aug 16 19:09:43 2018 New Revision: 337925 URL:

Re: svn commit: r298656 - head/sys/kern

2016-04-26 Thread James Gritton
It turns out I was just about to commit that anyway, so the only difference is I didn't need to put "(mis)" in the comment :-). ipcs(1) was prone to allocation errors that I could bypass by rewriting the sysctls without sbufs. So false positive, but for the best anyway. - Jamie On

Re: svn commit: r298585 - in head: sys/kern usr.sbin/jail

2016-04-25 Thread James Gritton
That's a big oops on my part - msg and sem had nearly identical logic, but I got it backwards on shm. I'll put a fix in shortly. - Jamie On 2016-04-25 14:28, Subbsd wrote: I do not know how it works for/in jails, but looks like this breaks work SHM in host. I've got on any QT-based

Re: svn commit: r297935 - head/sys/kern

2016-04-13 Thread James Gritton
On 2016-04-13 17:45, Mateusz Guzik wrote: On Wed, Apr 13, 2016 at 08:14:13PM +, Jamie Gritton wrote: Author: jamie Date: Wed Apr 13 20:14:13 2016 New Revision: 297935 URL: https://svnweb.freebsd.org/changeset/base/297935 Log: Separate POSIX sem/shm objects in jails, by prepending the

Re: svn commit: r278323 - in head: etc/rc.d usr.sbin/jail

2015-02-09 Thread James Gritton
On 2015-02-06 22:23, Garrett Cooper wrote: On Feb 6, 2015, at 18:38, James Gritton ja...@freebsd.org wrote: On 2015-02-06 19:23, Garrett Cooper wrote: I think you broke the Jenkins tests runs, and potentially jail support in some edgecases: https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2

Re: svn commit: r278323 - in head: etc/rc.d usr.sbin/jail

2015-02-06 Thread James Gritton
On 2015-02-06 22:31, Garrett Cooper wrote: On Feb 6, 2015, at 21:27, James Gritton ja...@freebsd.org wrote: On 2015-02-06 22:18, Garrett Cooper wrote: On Feb 6, 2015, at 9:54, Jamie Gritton ja...@freebsd.org wrote: Modified: head/usr.sbin/jail/command.c

Re: svn commit: r278323 - in head: etc/rc.d usr.sbin/jail

2015-02-06 Thread James Gritton
On 2015-02-06 22:23, Garrett Cooper wrote: On Feb 6, 2015, at 18:38, James Gritton ja...@freebsd.org wrote: On 2015-02-06 19:23, Garrett Cooper wrote: On Feb 6, 2015, at 9:54, Jamie Gritton ja...@freebsd.org wrote: Author: jamie Date: Fri Feb 6 17:54:53 2015 New Revision: 278323 URL

Re: svn commit: r278323 - in head: etc/rc.d usr.sbin/jail

2015-02-06 Thread James Gritton
On 2015-02-06 22:18, Garrett Cooper wrote: On Feb 6, 2015, at 9:54, Jamie Gritton ja...@freebsd.org wrote: Modified: head/usr.sbin/jail/command.c == --- head/usr.sbin/jail/command.cFri Feb 6 17:43:13 2015

Re: svn commit: r278323 - in head: etc/rc.d usr.sbin/jail

2015-02-06 Thread James Gritton
On 2015-02-06 19:23, Garrett Cooper wrote: On Feb 6, 2015, at 9:54, Jamie Gritton ja...@freebsd.org wrote: Author: jamie Date: Fri Feb 6 17:54:53 2015 New Revision: 278323 URL: https://svnweb.freebsd.org/changeset/base/278323 Log: Add mount.procfs jail parameter, so procfs can be mounted

Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-02-04 Thread James Gritton
On 2/4/2014 6:23 AM, Julian Elischer wrote: On 2/4/14, 3:40 PM, Robert N. M. Watson wrote: On 3 Feb 2014, at 23:53, Doug Ambrisko ambri...@ambrisko.com wrote: It's unfortunate that vimage requires jail. I want to use vimage but not have the security restrictions of a jail. To do this I

Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-01-31 Thread James Gritton
On 1/31/2014 5:34 AM, Robert Watson wrote: On Wed, 29 Jan 2014, Alexander Leidinger wrote: It does. I included a warning in jail.8 that this will pretty much undo jail security. There are still reasons some may want to do this, but it's definitely not for everyone or even most people. It

Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-01-29 Thread James Gritton
It does. I included a warning in jail.8 that this will pretty much undo jail security. There are still reasons some may want to do this, but it's definitely not for everyone or even most people. - Jamie On 1/29/2014 6:43 AM, Gleb Smirnoff wrote: On Wed, Jan 29, 2014 at 01:41:13PM +,