| 1 | # ChangeLog for Path Sandbox |
1 | # ChangeLog for Path Sandbox |
| 2 | # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 |
2 | # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 |
| 3 | # $Header$ |
3 | # $Header$ |
| 4 | |
4 | |
|
|
5 | 22 Mar 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: |
|
|
6 | Allow lchown a symlink in write-allowed path pointing to write-denied |
|
|
7 | target. |
|
|
8 | |
|
|
9 | 21 Mar 2005; Marius Mauch <genone@gentoo.org> libsandbox.c: |
|
|
10 | Also show resolved symlink names in the log. |
|
|
11 | |
|
|
12 | 14 Mar 2005; Martin Schlemmer <azarah@gentoo.org> Makefile.am, libsandbox.c: |
|
|
13 | Seems -nostdlib was the problem with the constructor/destructor - remove it |
|
|
14 | from Makefile.am, and change the constructor/destructor names again. |
|
|
15 | |
|
|
16 | 14 Mar 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: |
|
|
17 | Also rename the _init() and _fini() declarations. |
|
|
18 | |
|
|
19 | 14 Mar 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c, sandbox.c: |
|
|
20 | Fixup the constructor/destructor function names again (they should be _init() |
|
|
21 | and _fini() it seems, and not being called caused sandbox_lib_path to be |
|
|
22 | unset, and thus breaking the execve() wrapper's LD_PRELOAD protection). |
|
|
23 | Add both the path in given SANDBOX_x variable, as well as its symlink |
|
|
24 | resolved path in init_env_entries(). Modify filter_path() to be able to |
|
|
25 | resolve paths without resolving symlinks, as well as to be able to resolve |
|
|
26 | symlinks. Fix a possible segfault in check_access(). Add symlink resolving |
|
|
27 | to check_access() resolving bug #31019. Add 'hack' for unlink, as the fix |
|
|
28 | for bug #31019 cause access violations if we try to remove a symlink that is |
|
|
29 | not in protected path, but points to a protected path. Fix a memory leak in |
|
|
30 | sandbox.c (sandbox_pids_file in main()). Fix the realpath() calls in main() |
|
|
31 | (sandbox.c) being unchecked. Fix the debug logname not having the pid in it |
|
|
32 | (pid_string was uninitialized). General syntax cleanups. |
|
|
33 | |
|
|
34 | 09 Mar 2005; Brian Harring <ferringb@gentoo.org> sandbox.c: Fixed the |
|
|
35 | infamous "pids file is not a regular file" w/out newline bug. |
|
|
36 | |
|
|
37 | 09 Mar 2005; Brian Harring <ferringb@gentoo.org> Makefile.am, configure.in: |
|
|
38 | Correct libc_version path detection, since it was screwing up if libdir != |
|
|
39 | "/lib/". |
|
|
40 | |
|
|
41 | 02 Mar 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: |
|
|
42 | Hack to make sure sandboxed process cannot remove a device node, bug #79836. |
|
|
43 | |
|
|
44 | 02 Mar 2005; Martin Schlemmer <azarah@gentoo.org> Makefile.am: |
|
|
45 | Fix symbols.in not added to dist. |
|
|
46 | |
|
|
47 | 02 Mar 2005; Martin Schlemmer <azarah@gentoo.org> Makefile.am, canonicalize.c, |
|
|
48 | getcwd.c, libsandbox.c, sandbox.c, sandbox.h, sandbox_futils.c: |
|
|
49 | White space fixes. |
|
|
50 | |
|
|
51 | 02 Mar 2005; Martin Schlemmer <azarah@gentoo.org> Makefile.am, canonicalize.c, |
|
|
52 | configure.in, getcwd.c, libsandbox.c, symbols.in: |
|
|
53 | Fix inverse test logic in canonicalize.c, use a strncpy. Fix gcc warning in |
|
|
54 | getcwd.c. Add symbols.in and logic to Makefile.am to generate symbol versions |
|
|
55 | for glibc and other libc's that use this. Update libsandbox.c to use these |
|
|
56 | symbol versions if available. Fix exec wrapper to re-export LD_PRELOAD if the |
|
|
57 | process unset it. |
|
|
58 | |
| 5 | 01 May 2005; Brian Harring <ferringb@gentoo.org> libsandbox.c: |
59 | 01 Mar 2005; Brian Harring <ferringb@gentoo.org> libsandbox.c: |
| 6 | killed off _init and _fini in favor of |
60 | killed off _init and _fini in favor of |
| 7 | void __attribute__ ((constructor)) init_func and |
61 | void __attribute__ ((constructor)) init_func and |
| 8 | void __attribute__ ((destructor)) closing_func. _(init|func) were deprecated. |
62 | void __attribute__ ((destructor)) closing_func. _(init|func) were deprecated. |
| 9 | |
63 | |
| 10 | 06 Dec 2004; Brian Harring <ferringb@gentoo.org> Makefile.am, libsandbox.c, |
64 | 06 Dec 2004; Brian Harring <ferringb@gentoo.org> Makefile.am, libsandbox.c, |