|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
4fc0a279 |
| 17-Feb-2018 |
Mariusz Zaborski <[email protected]> |
Introduce channel flags in libcasper.
Instead of passing flags (which describe a type of nvlist) every send/recv we remember them in channel. It's enough for use to extract them only during unwrap.
Introduce channel flags in libcasper.
Instead of passing flags (which describe a type of nvlist) every send/recv we remember them in channel. It's enough for use to extract them only during unwrap. This simplify use of Casper.
Reviewed by: bruffer@, bcr@ (both man page) Differential Revision: https://reviews.freebsd.org/D14196 (man page)
show more ...
|
| #
c1d2583d |
| 27-Jan-2018 |
Mariusz Zaborski <[email protected]> |
Add cap_random.3 to build system. This should be done with r328494.
|
| #
0dfac7ee |
| 04-Nov-2017 |
Mariusz Zaborski <[email protected]> |
The src.opts.mk sets default value for the SHLIBDIR, so our set was not respected.
Please notice that libcasper is already in ObsoleteFiles so we don't add it again.
Reported by: Herbert J. Skuhra
The src.opts.mk sets default value for the SHLIBDIR, so our set was not respected.
Please notice that libcasper is already in ObsoleteFiles so we don't add it again.
Reported by: Herbert J. Skuhra <[email protected]> Reviewed by: bdrewery@ Differential Revision: https://reviews.freebsd.org/D12918
show more ...
|
| #
95844abe |
| 04-Nov-2017 |
Mariusz Zaborski <[email protected]> |
Casper work's only as shared library - disable building static ones.
Reviewed by: bdrewery@ Differential Revision: https://reviews.freebsd.org/D12917
|
| #
ceb36bc9 |
| 28-Oct-2017 |
Mariusz Zaborski <[email protected]> |
Introduce caspermocks.
The idea behinds mocks is that we don't need to ifdef a lot of code in tools itself but those defines are hidden in the casper library. Right now the mocks are implemented as
Introduce caspermocks.
The idea behinds mocks is that we don't need to ifdef a lot of code in tools itself but those defines are hidden in the casper library. Right now the mocks are implemented as define/inlines functions. There was a very long discussion how this should be implemented. This approach has some advantages like we don't need to link to any additional libraries. Unfortunately there are also some disadvantages for example it is easy to get library out of sync between two versions of functions or that we need extra define to compile program with casper support. This isn't an ideal solution but it's good enough for now and should simplify capsicumizing programs. This also doesn't close us any other ways to do those mocks and this should evolve in time.
Discussed with: pjd, emaste, ed, rwatson, bapt, cem, bdrewery Differential Revision: https://reviews.freebsd.org/D8753
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
e6f17963 |
| 26-Feb-2016 |
Bryan Drewery <[email protected]> |
Remove unneeded lines.
- WARNS can be inherited from lib/Makefile.inc - CFLAGS referred to a non-existent directory and this shouldn't be needed anyhow due to the build picking up includes from WO
Remove unneeded lines.
- WARNS can be inherited from lib/Makefile.inc - CFLAGS referred to a non-existent directory and this shouldn't be needed anyhow due to the build picking up includes from WORLDTMP.
Sponsored by: EMC / Isilon Storage Division
show more ...
|
| #
c501d73c |
| 25-Feb-2016 |
Mariusz Zaborski <[email protected]> |
Convert casperd(8) daemon to the libcasper. After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We
Convert casperd(8) daemon to the libcasper. After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We have the same cwd as the original process. 2. The same uid, gid and groups. 3. The same MAC labels. 4. The same descriptor table. 5. The same routing table. 6. The same umask. 7. The same cpuset(1). From now services are also in form of libraries. We also removed libcapsicum at all and converts existing program using Casper to new architecture.
Discussed with: pjd, jonathan, ed, [email protected], emaste Partially reviewed by: [email protected], bdrewery Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D4277
show more ...
|