sslab-gatech / fakeroot-p

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FakeRoot-P

FakeRoot is a tool that offers applications the illusion of root privileges. This is most often used for building packages with correct permissions. FakeRoot-P is a performance-oriented re-design of FakeRoot, scalable on multi-core architectures. Please see PDF for more information.

Building

Like FakeRoot, FakeRoot-P can be built using either System V or TCP as a transport mechanism between clients and server. However, the scalable design of FakeRoot-P is only implemented with the System V method of communication. When built with the TCP option, FakeRoot-P retains the lack of scalability of the original FakeRoot code.

SysV IPC is the default; to build for TCP, run configure with --with-ipc=tcp (case-sensitive).

To build, run:

cd src/
./configure
make
make install

FreeBSD: to compile --with-ipc=tcp and gcc, make sure the -pthread flag is used.

Notes

Cases for which the SYSV IPC version fails or causes problems but for which fakeroot-tcp has been observed to work well include the items listed below.

  • Multithreaded applications (using pthread)
  • Running under realtime-preempt kernel

Portability: On OS X, only binaries that do NOT rely on Mach-based [e]uid/[e]gid/mode APIs will correctly use fakeroot altered ownership/permissions. See README_MACOSX.txt for further information.

About

License:GNU General Public License v3.0


Languages

Language:Makefile 36.4%Language:Shell 34.6%Language:C 16.8%Language:Groff 9.4%Language:M4 1.7%Language:Awk 0.6%Language:XS 0.2%Language:Perl 0.2%Language:Perl 6 0.0%Language:JavaScript 0.0%Language:SystemVerilog 0.0%Language:NewLisp 0.0%