Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2013 17:03:41 +0200
From:      tuchalia <tuchalia@gmail.com>
To:        soc-status@freebsd.org
Subject:   Port data compression services and video codecs to Capsicum, Weekl #11
Message-ID:  <CA%2ByaQw-r8DFzV7nONAyYNnAvPNP=voq6HavJNGUuP1Pw7JNZCA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi everybody,

It seems that zcaplib (zlib with capabilties) has to change a lot.

After talking with pjd@ of possible better ways to develop zcaplib, as well
as its current design flaws, he realized that I was not using a good design
since I only had a unique sandboxed process doing all the zlib stuff, and
passing "commands" back and forth from the child (worker) process, and the
parent process.

pjd@ then introduced me to pdfork(2). That is, a process that has been
tought just to sandboxing. Than really changes all that I've been doing
with the library.

The library, it will be more quick to port, that's true. The only problem
is starting form the beginning again.

But well, we're here to learn, aren't we?

-- 
Daniel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2ByaQw-r8DFzV7nONAyYNnAvPNP=voq6HavJNGUuP1Pw7JNZCA>