| 1 | # ChangeLog for Path Sandbox |
1 | # ChangeLog for Path Sandbox |
| 2 | # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 |
2 | # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 |
| 3 | # $Header$ |
3 | # $Header$ |
|
|
4 | |
|
|
5 | 03 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c: |
|
|
6 | Add /dev/pty to default write list. Noticed by Morfic. |
|
|
7 | |
|
|
8 | 02 May 2005; Mike Frysinger <vapier@gentoo.org> configure.in, localdecls.h, |
|
|
9 | sandbox.h: |
|
|
10 | uClibc doesn't support dlvsym() so add a configure check to make sure it doesn't |
|
|
11 | exist. Also update localdecls.h so BROKEN_RTLD_NEXT isn't defined in uClibc. |
|
|
12 | |
|
|
13 | * sandbox-1.2.3 (2005/04/29) |
|
|
14 | |
|
|
15 | 29 Apr 2005; Martin Schlemmer <azarah@gentoo.org> configure.in: |
|
|
16 | Do not check for (*&#$(* CXX or F77. |
|
|
17 | |
|
|
18 | 29 Apr 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: |
|
|
19 | Do not append '/' to pathname in filter_path() if it already ends with it. |
|
|
20 | |
|
|
21 | 28 Apr 2005; Mike Frysinger <vapier@gentoo.org> Makefile.am, configure.in: |
|
|
22 | With az's help, clean up autotools to work with cross-compiling. |
|
|
23 | |
|
|
24 | * sandbox-1.2.2 (2005/04/28) |
|
|
25 | |
|
|
26 | 28 Apr 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: |
|
|
27 | Only check for /dev/{null,zero} for unlink hack, else ricers using /dev/shm |
|
|
28 | have issues; bug #90592. |
|
|
29 | |
|
|
30 | * sandbox-1.2.1 (2005/04/23) |
|
|
31 | |
|
|
32 | 23 Apr 2005; Martin Schlemmer <azarah@gentoo.org> Makefile.am, canonicalize.c, |
|
|
33 | getcwd.c, libsandbox.c, localdecls.h, sandbox.h, sandbox_futils.c: |
|
|
34 | Make sure all functions used in libsandbox.c is declared static. Define |
|
|
35 | SB_STATIC in localdecls.h for this. Include sandbox_futils.c rather than |
|
|
36 | linking with its object. Hopefully this will fix bug #90153. |
|
|
37 | |
|
|
38 | * sandbox-1.2 (2005/04/23) |
|
|
39 | |
|
|
40 | 22 Mar 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: |
|
|
41 | Allow lchown a symlink in write-allowed path pointing to write-denied |
|
|
42 | target. |
|
|
43 | |
|
|
44 | 21 Mar 2005; Marius Mauch <genone@gentoo.org> libsandbox.c: |
|
|
45 | Also show resolved symlink names in the log. |
|
|
46 | |
|
|
47 | 14 Mar 2005; Martin Schlemmer <azarah@gentoo.org> Makefile.am, libsandbox.c: |
|
|
48 | Seems -nostdlib was the problem with the constructor/destructor - remove it |
|
|
49 | from Makefile.am, and change the constructor/destructor names again. |
|
|
50 | |
|
|
51 | 14 Mar 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: |
|
|
52 | Also rename the _init() and _fini() declarations. |
|
|
53 | |
|
|
54 | 14 Mar 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c, sandbox.c: |
|
|
55 | Fixup the constructor/destructor function names again (they should be _init() |
|
|
56 | and _fini() it seems, and not being called caused sandbox_lib_path to be |
|
|
57 | unset, and thus breaking the execve() wrapper's LD_PRELOAD protection). |
|
|
58 | Add both the path in given SANDBOX_x variable, as well as its symlink |
|
|
59 | resolved path in init_env_entries(). Modify filter_path() to be able to |
|
|
60 | resolve paths without resolving symlinks, as well as to be able to resolve |
|
|
61 | symlinks. Fix a possible segfault in check_access(). Add symlink resolving |
|
|
62 | to check_access() resolving bug #31019. Add 'hack' for unlink, as the fix |
|
|
63 | for bug #31019 cause access violations if we try to remove a symlink that is |
|
|
64 | not in protected path, but points to a protected path. Fix a memory leak in |
|
|
65 | sandbox.c (sandbox_pids_file in main()). Fix the realpath() calls in main() |
|
|
66 | (sandbox.c) being unchecked. Fix the debug logname not having the pid in it |
|
|
67 | (pid_string was uninitialized). General syntax cleanups. |
|
|
68 | |
|
|
69 | 09 Mar 2005; Brian Harring <ferringb@gentoo.org> sandbox.c: Fixed the |
|
|
70 | infamous "pids file is not a regular file" w/out newline bug. |
|
|
71 | |
|
|
72 | 09 Mar 2005; Brian Harring <ferringb@gentoo.org> Makefile.am, configure.in: |
|
|
73 | Correct libc_version path detection, since it was screwing up if libdir != |
|
|
74 | "/lib/". |
|
|
75 | |
|
|
76 | 02 Mar 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: |
|
|
77 | Hack to make sure sandboxed process cannot remove a device node, bug #79836. |
|
|
78 | |
|
|
79 | 02 Mar 2005; Martin Schlemmer <azarah@gentoo.org> Makefile.am: |
|
|
80 | Fix symbols.in not added to dist. |
|
|
81 | |
|
|
82 | 02 Mar 2005; Martin Schlemmer <azarah@gentoo.org> Makefile.am, canonicalize.c, |
|
|
83 | getcwd.c, libsandbox.c, sandbox.c, sandbox.h, sandbox_futils.c: |
|
|
84 | White space fixes. |
|
|
85 | |
|
|
86 | 02 Mar 2005; Martin Schlemmer <azarah@gentoo.org> Makefile.am, canonicalize.c, |
|
|
87 | configure.in, getcwd.c, libsandbox.c, symbols.in: |
|
|
88 | Fix inverse test logic in canonicalize.c, use a strncpy. Fix gcc warning in |
|
|
89 | getcwd.c. Add symbols.in and logic to Makefile.am to generate symbol versions |
|
|
90 | for glibc and other libc's that use this. Update libsandbox.c to use these |
|
|
91 | symbol versions if available. Fix exec wrapper to re-export LD_PRELOAD if the |
|
|
92 | process unset it. |
|
|
93 | |
|
|
94 | 01 Mar 2005; Brian Harring <ferringb@gentoo.org> libsandbox.c: |
|
|
95 | killed off _init and _fini in favor of |
|
|
96 | void __attribute__ ((constructor)) init_func and |
|
|
97 | void __attribute__ ((destructor)) closing_func. _(init|func) were deprecated. |
|
|
98 | |
|
|
99 | 06 Dec 2004; Brian Harring <ferringb@gentoo.org> Makefile.am, libsandbox.c, |
|
|
100 | canonicalize.c, getcwd.c: Fixed compilation *again*. Hopefully cvs is done |
|
|
101 | having the hick-ups. |
|
|
102 | |
|
|
103 | 04 Dec 2004; Brian Harring <ferringb@gentoo.org> libsandbox.c, getcwd.c, |
|
|
104 | Makefile.am: Fixed compilation. |
| 4 | |
105 | |
| 5 | 01 Dec 2004; Brian Harring <ferringb@gentoo.org> aclocal.m4: |
106 | 01 Dec 2004; Brian Harring <ferringb@gentoo.org> aclocal.m4: |
| 6 | Gutted the bugger so it stops checking for a c++ and fortran compiler. |
107 | Gutted the bugger so it stops checking for a c++ and fortran compiler. |
| 7 | Do *not* regenerate aclocal.m4 for making a release until a better |
108 | Do *not* regenerate aclocal.m4 for making a release until a better |
| 8 | solution is created. |
109 | solution is created. |