Fakechroot

Latest version: v0.2.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

2.11

12 Sep 2010

* Fixes were made for `getpeername`(2) and `getsockname`(2) functions.
`host 127.0.0.1` command currently is working. Thanks to Daniel Tschan.
* Fixes were made for `canonicalize_file_name`(3) function. `man-db` command
currently is working.
* New functions `__*_chk`(3) were added for GNU libc with fortify `level > 0`.
* New environment variable `FAKECHROOT_AF_UNIX_PATH` defines an optional
prefix for unix sockets.
* Better support for FreeBSD was made.
* Autoconf scripts were refactored.
* More test units were added.

2.10

25 Aug 2010

* Handle properly GNU libc `open`(2), `open64`(2), `openat`(2) and
`openat64`(2) inline functions.
* Compatibility were improved for `scandir`(3) and `scandir64`(3) functions
on the latest GNU libc.
* Fixed `lstat`(2) function returns correct `st_size`. Thanks to Daniel
Baumann.
* Fixed `readlink`(2) function. Correctly truncates content if buffer is too
small.
* Fixed `undefined symbol: rpl_malloc` error for compiled 32-bit library on
64-bit architecture by dropping `AC_FUNC_MALLOC` in `configure.ac`.
* Fixed `chroot`(2) function for path which contains dot character. Thanks to
Robie Basak.
* New function `utimensat`(2) fixes `cp` command on Debian sid.
* New functions `linkat`(2), `mknodat`(2), `mkfifoat`(2), `readlinkat`(2)
and `symlinkat`(2).
* New functions `popen`(3) and `system`(3) for GNU libc.
* `dpkg-shlibdeps(1)` works again because `cd $FAKECHROOT_BASE` does not
change current working directory to root directory.
* New `FAKECHROOT_CMD_SUBST` environment variable handles a list of
substituted commands. Thanks to Richard W.M. Jones.
* New scripts ldd and ldconfig with .fakechroot suffix are installed.
* New `make test` target uses Perl's `prove` tool to run test units.

2.9

31 Mar 2009

* Fixes were made for `getpeername`(2) and `getsockname`(2) functions. Thanks to
Axel Thimm and Fedora people.
* Fixes were made for `execve`(2):
* Always copy necessary variables to new environment.
* Do not make duplicates of environment variables. Thanks to Richard
W.M. Jones.
* Fixed were made for `chroot`(2). It is possible to escape chroot. Thanks
to Richard W.M. Jones.
* Fixed were made for `mktemp`(2). There was a buffer overflow. Thanks to
Mikhail Gusarov.
* New function: `futimesat`(2). Fixes `touch -m` command.
* New functions: `bindtextdomain`(3), `inotify_add_watch`(2).
* More test units was added, `make check` works as expected.

2.8

25 Jul 2008

* Fixes were made for `__fxstatat64`(3) function which broke `chown` command
on i386 architecture.
* Better support for FreeBSD was made.

2.7.1

17 Jul 2008

* Compiles with older GNU libc: readlink type of return value is detected.
* Compiles with uClibc: existence of getwd function is detected.

2.7

15 Jul 2008

* Stability and compatibility were improved for the latest libc.
* Fixes were made for latest version of coreutils.
* Fixed `readlink`(2) function to be ssize_t as it is in newer libc.
* New functions: `__fxstatat`(2), `__fxstatat64`(2), `fchmodat`(2),
`fchownat`(2), `__openat`(2), `__openat64`(2), `unlinkat`(2). It fixes
last coreutils.
* New functions: `mkdirat`(2), `renameat`(2).
* Fixed `chroot`(2) function to not change current working directory.
* Fixed `chroot`(2) function to handle relative path.
* Fixed `execve`(2) function to not expand argv0 and handle `!` correctly.
* New `eaccess`(3) function backported from Klik.
* New functions: `bind`(2), `connect`(2), `getpeername`(2), `getsockname`(2).
They support `PF_UNIX` sockets.
* More memory allocation for fakechroot_init.

Page 3 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.