RE: IPC and jail.

2003-02-17 Thread Chris Knight
Howdy,

Excellent!
For regression tools, look at the /usr/src/tools/regression
directory in the -current source tree. There are regression tests
for sysv there.

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au



> -Original Message-
> From: Pawel Jakub Dawidek [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 18 February 2003 4:39
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: IPC and jail.
>
>
> Hello hackers.
>
> I'm preparing a patch against FreeBSD 4.7 (for now) which splits IPC
> zones between jails and main host. Every entity will have his own IPC
> memory not shared with others (jails or main host). Message queues
> are already patched, but it need to be tested - that's why I'm
writing.
> Does anybody have any regression tests for IPC functionality?
> If not, which program use it and will be a good test?
>
> Thanks.
>
> --
> Pawel Jakub Dawidek
> UNIX Systems Administrator
> http://garage.freebsd.pl
> Am I Evil? Yes, I Am.
>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: IPC and jail.

2003-02-17 Thread Thierry Herbelot
Hello,

PostGreSQL (see the ports) is one (big) program which is difficult to set up 
in a pure jail, as it uses shared memory : it could be a good candidate for 
your test.

you may want to have first a patch against -Current, as this is the "One True 
Way" to introduce a new functionality to FreeBSD (futhermore, -Current is 
quite stable, these days)

TfH

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



RE: IPC and jail.

2003-02-17 Thread Mooneer Salem
Hello,

PostgreSQL might be a good test, since it uses IPC to an extent. I also have
some
code for 5.0 that adds a struct prison pointer to the IPC primitives for
tracking purposes.
Although it doesn't give each jail its own IPC cache, it does ensure they
don't step on each
other. For the purpose of seperating the jail from the main environment
though, your approach
may be better.

Thanks,

--
Mooneer Salem
GPLTrans: http://www.translator.cx/
lifeafterking.org: http://www.lifeafterking.org/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Pawel Jakub Dawidek
Sent: Monday, February 17, 2003 9:39 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: IPC and jail.


Hello hackers.

I'm preparing a patch against FreeBSD 4.7 (for now) which splits IPC zones
between jails and main host. Every entity will have his own IPC memory
not shared with others (jails or main host). Message queues are already
patched, but it need to be tested - that's why I'm writing.
Does anybody have any regression tests for IPC functionality?
If not, which program use it and will be a good test?

Thanks.

--
Pawel Jakub Dawidek
UNIX Systems Administrator
http://garage.freebsd.pl
Am I Evil? Yes, I Am.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



IPC and jail.

2003-02-17 Thread Pawel Jakub Dawidek
Hello hackers.

I'm preparing a patch against FreeBSD 4.7 (for now) which splits IPC zones
between jails and main host. Every entity will have his own IPC memory
not shared with others (jails or main host). Message queues are already
patched, but it need to be tested - that's why I'm writing.
Does anybody have any regression tests for IPC functionality?
If not, which program use it and will be a good test?

Thanks.

-- 
Pawel Jakub Dawidek
UNIX Systems Administrator
http://garage.freebsd.pl
Am I Evil? Yes, I Am.



msg39981/pgp0.pgp
Description: PGP signature