/[path-sandbox]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 90 Revision 167
1# ChangeLog for Path Sandbox 1# ChangeLog for Path Sandbox
2# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 2# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
3# $Header$ 3# $Header$
4
5* sandbox-1.2.12 (2005/09/12)
6
7 12 Sep 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c, libsandbox.c:
8
9 Do not handle adding working directory to SANDBOX_WRITE, as portage does it
10 itself.
11
12 Make libsb_fini() do cleanup a bit more complete just in case we get another
13 uClibc 'call preloaded library fini before that of app' issue ... probably
14 will not help much, but we try.
15
16 04 Sep 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c:
17
18 Also allow symlink() system call to operate on a symlink in a writable path
19 that points to non-writable path, bug #104711.
20
21* sandbox-1.2.12 (2005/08/05)
22
23 05 Aug 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c, sandbox.c,
24 sandbox.h:
25
26 Do not give an access violation if the access() system call do not have
27 write/read access - it does not actually modify, so we only need to return
28 not being able to write/read. Noted by Andres Loeh <kosmikus@gentoo.org>,
29 bug #101433.
30
31 If we are called from the command line, do not care about PORTAGE_TMPDIR,
32 and make the current directory the work directory. Also rename the variable
33 portage_tmp_dir to work_dir.
34
35 Remove the tmp_dir variable - we do not need it.
36
37 Improve error handling for get_sandbox_*_envvar() functions.
38
39 01 Aug 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c:
40
41 Still do normal log if debugging is requested.
42
43 Add support for SANDBOX_VERBOSE (enabled by default). Adjust SANDBOX_DEBUG
44 to only enable if equal to "1" or "yes".
45
46 Add /dev/tts to write permit, bug #42809.
47
48 27 July 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c, sandbox.h,
49 sandbox_futils.c:
50
51 Do not resolve symlinks in PORTAGE_TMPDIR in sandbox .. we will handle that
52 in libsandbox .. bug #100309.
53
54 22 July 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.h:
55
56 Print all logging to stderr, bug #90343, comment #15, by Zac Medico.
57
58* sandbox-1.2.11 (2005/07/14)
59
60 14 July 2005; Martin Schlemmer <azarah@gentoo.org> getcwd.c:
61 Fix getcwd, bug #98419.
62
63 08 July 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c, sandbox_futils.c,
64 libsandbox.c:
65 - Try to cleanup and make error handling/printing consistent.
66 - Remove old logs if present and conflicting with current.
67 - Fix compile error with previous change, and return rather then exit().
68
69 07 July 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c, sandbox.c,
70 sandbox.h, sandbox_futils.c:
71 - Fix possible segfault in env init code.
72 - Major cleanup of sandbox_futils.c. Removed most of the functions as we now
73 write to /var/log/sandbox/, so in theory do not need all that.
74 - Redo the interface of the get_* functions so that we do not leak memory.
75 - Remove sandbox_dir and co - we are not using it anymore.
76 - Remove unused includes and variables.
77 - Only declare functions in sandbox_futils.c that are used in libsandbox.c when
78 OUTSIDE_LIBSANDBOX is not defined.
79 - Cleanup access/log printing. Make access printing honour NOCOLOR. Fix log
80 printing's last line not honouring NOCOLOR.
81
82 06 July 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.h, sandbox_futils.c,
83 libsandbox.c:
84 - Change log dir to /var/log/sandbox/. Make sure the sandboxed process cannot
85 write to it.
86 - Clean up logging in libsandbox.c, and hopefully make it more consistant.
87 - Add check_prefixes() with major cleanup on check_access().
88 - Cleanup init_env_entries() and check_prefixes().
89
90 05 July 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c, sandbox.h,
91 sandbox_futils.c, libsandbox.c:
92 Remove unused 'pids file' code.
93
94* sandbox-1.2.10 (2005/07/03)
95
96 03 July 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c:
97 Add PREDICT items for nss-db, bug #92079. Patch from Robin Johnson.
98
99 17 June 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c:
100 General cleanups:
101 - Remove fooling around with exit codes - we error out on presence of a log
102 anyhow.
103 - Move get_sandbox_*_envvar() to sandbox_setup_environ(), as its more
104 appropriate there.
105
106 12 June 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c:
107 Cleanup the fail_nametoolong stuff a bit more.
108
109 11 June 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c:
110 Remove hopefully the last ld.so.preload bits we do not use anymore.
111
112 11 June 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c:
113 Remove the unneeded canonicalize() calls in the wrappers - we do it anyhow
114 in check_syscall(). Should speed things up a bit (at least for the getcwd()
115 and long path name test it goes down to under a second, and not 10+ seconds
116 like before). Also warn if we skip checking due to the canonicalized path
117 being too long.
118
119 11 June 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c:
120 More comment/readability cleanups.
121
122 10 June 2005; Martin Schlemmer <azarah@gentoo.org> canonicalize.c, getcwd.c,
123 sandbox_futils.c, libsandbox.c:
124 Some strncpy/strncat and other cleanups.
125
126* sandbox-1.2.9 (2005/06/09)
127
128 09 June 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c:
129 Move symlink hack down a bit to try and minimize on the amount of lstat()
130 calls we do.
131
132 09 June 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c, sandbox.c:
133 Add hack to allow writing to /proc/self/fd (or /dev/fd), bug #91516.
134
135 09 June 2005; Martin Schlemmer <azarah@gentoo.org> symbols.in, libsandbox.c:
136 Add wrapper for access() function, bug #85413.
137
138 09 June 2005; Martin Schlemmer <azarah@gentoo.org> getcwd.c:
139 Use generic getcwd() implementation from uclibc - should be more portable
140 and looks a bit cleaner.
141
142 09 June 2005; Martin Schlemmer <azarah@gentoo.org> getcwd.c, libsandbox.c:
143 Make sure our true_* pointers are initialized to NULL, and that we check for
144 all references that they are valid.
145
146 09 June 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c:
147 Be default we will fail if the path name we try to canonicalize is too long.
148 This however could cause issues with some things (bug #94630 and #21766), so
149 if fail_nametoolong == 0, canonicalize() will return a null length string and
150 do not fail.
151
152 08 June 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c, sandbox_futils.c:
153 Do not abort if TMPDIR is not valid, but rather use '/tmp', bug #94360. Also
154 make sure we re-export the new TMPDIR environment variable.
155
156 08 June 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c:
157 Fix incorrect free of non-malloc'd array, bug #92313 and #94020. Fix noted
158 by Marcus D. Hanwell <cryos@gentoo.org>.
159
160 08 June 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c:
161 Add /dev/console to write list, bug #38588.
162
163* sandbox-1.2.8 (2005/05/13)
164
165 13 May 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c, sandbox.c,
166 sandbox.h, sandbox_futils.c:
167 General cleanups.
168
169 13 May 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c, sandbox.c,
170 sandbox.h:
171 Various LD_PRELOAD cleanups. Do not unset LD_PRELOAD for parent.
172
173 13 May 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c, sandbox.c,
174 sandbox.h, sandbox_futils.c:
175 Modify get_sandbox_pids_file(), get_sandbox_log() and get_sandbox_debug_log()
176 to use TMPDIR if present in environment.
177
178 13 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c:
179 Remove sandbox_log_file from main() as its no longer used.
180
181 13 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c, sandbox.h,
182 sandbox_futils.c:
183 Add get_sandbox_debug_log(), and use it (add behaviour similar to SANDBOX_LOG
184 if already exported when sandbox started). Fix get_sandbox_log() and new
185 get_sandbox_debug_log() to not use already exported environment variables if
186 they have '/' in them. Use snprintf()'s instead of strncpy()'s. More
187 SB_PATH_MAX fixes.
188
189* sandbox-1.2.7 (2005/05/12)
190
191 12 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c, sandbox.h,
192 sandbox_futils.c:
193 More path limit fixes. Declare SB_BUF_LEN global and use it where needed.
194
195 12 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox_futils.c:
196 Fix paths limited to 255 chars. Fix get_sandbox_dir() returning a string
197 with '(null)' in it if we did not call sandbox with absolute path.
198
199 12 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c:
200 Set SANDBOX_ON *before* doing the child's env stuff, else its not set
201 for the child.
4 202
5 12 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c: 203 12 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c:
6 Remove global preload_adaptable as it is no longer used. 204 Remove global preload_adaptable as it is no longer used.
7 205
8 12 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c: 206 12 May 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.c:

Legend:
Removed from v.90  
changed lines
  Added in v.167

  ViewVC Help
Powered by ViewVC 1.1.20