Log of /trunk/src
Directory Listing
Revision
383 -
Directory Listing
Modified
Sun Nov 9 13:20:55 2008 UTC
(9 years, 5 months ago)
by
vapier
remove remaining multilib code
Revision
381 -
Directory Listing
Modified
Sun Nov 9 12:49:18 2008 UTC
(9 years, 5 months ago)
by
vapier
unify banner message and drop "linux" from it
Revision
370 -
Directory Listing
Modified
Sun Nov 9 10:29:58 2008 UTC
(9 years, 5 months ago)
by
vapier
consolidate all random system includes into headers.h
Revision
369 -
Directory Listing
Modified
Sun Nov 9 09:48:28 2008 UTC
(9 years, 5 months ago)
by
vapier
cleanup whitespace and comments -- no functional changes
Revision
368 -
Directory Listing
Modified
Sun Nov 9 09:33:17 2008 UTC
(9 years, 5 months ago)
by
vapier
drop pointless cast
Revision
358 -
Directory Listing
Modified
Sat Nov 8 14:43:40 2008 UTC
(9 years, 5 months ago)
by
vapier
fix by David Leverton to properly use the return value of xrealloc #238231
Revision
347 -
Directory Listing
Modified
Sun Sep 3 08:02:05 2006 UTC
(11 years, 7 months ago)
by
vapier
update ignores
Revision
346 -
Directory Listing
Modified
Sun Sep 3 07:56:36 2006 UTC
(11 years, 7 months ago)
by
vapier
add missing header
Revision
343 -
Directory Listing
Modified
Thu Jul 13 16:17:56 2006 UTC
(11 years, 9 months ago)
by
azarah
Punt vim indentation line.
Revision
342 -
Directory Listing
Modified
Thu Jul 13 16:16:30 2006 UTC
(11 years, 9 months ago)
by
azarah
Punt old copyright stuff, as nearly everything was rewrited. If something is was not and is pointed out, I will rectify it.
Revision
341 -
Directory Listing
Modified
Thu Jul 13 16:12:29 2006 UTC
(11 years, 9 months ago)
by
azarah
Split out environment related functions, and make their naming a bit more sane.
Revision
329 -
Directory Listing
Modified
Wed Jul 12 15:49:47 2006 UTC
(11 years, 9 months ago)
by
azarah
Update for librcutil dynbuf function name changes.
Revision
324 -
Directory Listing
Modified
Tue Jul 11 16:27:38 2006 UTC
(11 years, 9 months ago)
by
azarah
Check log size before we open it.
Revision
323 -
Directory Listing
Modified
Tue Jul 11 16:22:46 2006 UTC
(11 years, 9 months ago)
by
azarah
Use IO related sb_*() functions, and improve error checking.
Revision
314 -
Directory Listing
Modified
Sun Jul 9 20:33:52 2006 UTC
(11 years, 9 months ago)
by
azarah
Remove file_length(), and rather use rc_get_size().
Revision
310 -
Directory Listing
Modified
Sun Jul 9 19:21:33 2006 UTC
(11 years, 9 months ago)
by
azarah
Move libsandbox to its own directory.
Revision
309 -
Directory Listing
Modified
Sun Jul 9 19:13:57 2006 UTC
(11 years, 9 months ago)
by
azarah
As we are using a symbol map for libsandbox, its no longer needed
to have all the internal functions static, and thus we can break
things out a bit and make the source layout more sane. Start by
moving librcutil to libsbutil, and adding all the defines and
helper functions needed by both libsandbox and sandbox.
Revision
308 -
Directory Listing
Modified
Sun Jul 9 17:52:07 2006 UTC
(11 years, 9 months ago)
by
azarah
Reformat previous added code a bit, and add debug messages
and even more error checking. Abort on some more unrecoverable
errors.
Revision
307 -
Directory Listing
Modified
Sun Jul 9 17:48:43 2006 UTC
(11 years, 9 months ago)
by
azarah
Apply patch to make reading and writing more reliable.
Patch from Alex Unleashed <unledev@gmail.com>.
Revision
305 -
Directory Listing
Modified
Sun Jul 9 00:26:56 2006 UTC
(11 years, 9 months ago)
by
azarah
Update comment.
Revision
304 -
Directory Listing
Modified
Sat Jul 8 23:24:31 2006 UTC
(11 years, 9 months ago)
by
azarah
Free child argv we allocated earlier, as at execve() duplicates
this, so no need to keep it around and waiste more memory. Make
sure we will not in future free them twice.
Revision
303 -
Directory Listing
Modified
Sat Jul 8 23:18:59 2006 UTC
(11 years, 9 months ago)
by
azarah
Free child environ we allocated earlier, as at execve() duplicates
this, so no need to keep it around and waiste more memory.
Revision
302 -
Directory Listing
Modified
Sat Jul 8 23:13:12 2006 UTC
(11 years, 9 months ago)
by
azarah
Rather link libsandbox against librcutil's libtool objects (.lo),
as it should be more portable, but do add the extra fat.
Revision
301 -
Directory Listing
Modified
Sat Jul 8 21:39:28 2006 UTC
(11 years, 9 months ago)
by
azarah
Add needed changes to get a working sandbox on FreeBSD. Patch
by Alex Unleashed <unledev@gmail.com>.
Revision
300 -
Directory Listing
Modified
Sat Jul 8 21:12:12 2006 UTC
(11 years, 9 months ago)
by
azarah
Remove debug printf() that I missed to remove.
Revision
299 -
Directory Listing
Modified
Sat Jul 8 21:01:51 2006 UTC
(11 years, 9 months ago)
by
azarah
Convert all string list operations to use the str_list_*() macro's.
This allow a nice cleanup of the bash argv stuff, and also actually
add error handling to that part of the code. Some more cleanup of
the environ stuff.
Revision
298 -
Directory Listing
Modified
Sat Jul 8 19:53:06 2006 UTC
(11 years, 9 months ago)
by
azarah
Set 'env_ptr = environ;' _after_ we unset and set variables, else the
block could have been reallocated, and leave us using the wrong pointer.
General cleanup of the env handling code. Free all memory used.
Revision
297 -
Directory Listing
Modified
Sat Jul 8 16:13:40 2006 UTC
(11 years, 9 months ago)
by
azarah
Fix double free() in sandbox.
Revision
291 -
Directory Listing
Modified
Thu Jul 6 19:18:09 2006 UTC
(11 years, 9 months ago)
by
azarah
Remove uneeded test, as setenv(,,0) do not replace.
Revision
290 -
Directory Listing
Modified
Thu Jul 6 17:25:46 2006 UTC
(11 years, 9 months ago)
by
azarah
Use debug versions of malloc(), realloc() and calloc().
Revision
287 -
Directory Listing
Modified
Thu Jul 6 16:44:48 2006 UTC
(11 years, 9 months ago)
by
azarah
Free some of our custom environment data.
Revision
286 -
Directory Listing
Modified
Thu Jul 6 16:37:20 2006 UTC
(11 years, 9 months ago)
by
azarah
Set default values via a config file. Also support sandbox.d
config directory for package specific configuration files.
Revision
283 -
Directory Listing
Modified
Thu Jul 6 08:49:13 2006 UTC
(11 years, 9 months ago)
by
azarah
Remove last libsandbox-only functions in favour for ones provided
by librcutil. Setup log_domain properly for debugging.
Revision
282 -
Directory Listing
Modified
Thu Jul 6 07:46:12 2006 UTC
(11 years, 9 months ago)
by
azarah
Updates for changes to librcutil.
Revision
281 -
Directory Listing
Modified
Wed Jul 5 17:06:40 2006 UTC
(11 years, 9 months ago)
by
azarah
Fix build failure due to exists() still being needed for libsandbox.
Revision
280 -
Directory Listing
Modified
Wed Jul 5 16:51:12 2006 UTC
(11 years, 9 months ago)
by
azarah
Use librcutil.
Revision
279 -
Directory Listing
Modified
Wed Jul 5 16:34:00 2006 UTC
(11 years, 9 months ago)
by
azarah
Rename EINFO, etc to SB_EINFO, etc to not conflict with macros from
librcutil.
Revision
271 -
Directory Listing
Modified
Wed Jul 5 15:14:07 2006 UTC
(11 years, 9 months ago)
by
azarah
Use is_env_on(ENV_SANDBOX_ON) now that we have is_env_on().
Revision
270 -
Directory Listing
Modified
Wed Jul 5 15:11:17 2006 UTC
(11 years, 9 months ago)
by
azarah
Abort on possible security breach.
Revision
269 -
Directory Listing
Modified
Wed Jul 5 15:01:57 2006 UTC
(11 years, 9 months ago)
by
azarah
Set NOCOLOR to 'no', else ebuild.sh do not set COLS, etc.
Revision
268 -
Directory Listing
Modified
Wed Jul 5 13:50:48 2006 UTC
(11 years, 9 months ago)
by
azarah
Just killing the child with SANDBOX_ABORT do not actually abort the make process
in many cases. So also kill the offending child, and pray that make will also
abort. This is really hackish, and we should rather kill the whole process tree,
but currently its too much work (considering that we are in signal context which
probably will make things difficult - not even talking about the bsd's ...), so it
will have to do.
Revision
267 -
Directory Listing
Modified
Wed Jul 5 11:35:24 2006 UTC
(11 years, 9 months ago)
by
azarah
Make stop_called volatile as its used in signal handler.
Revision
266 -
Directory Listing
Modified
Wed Jul 5 10:55:54 2006 UTC
(11 years, 9 months ago)
by
azarah
Add /dev/full to write allowed paths, bug #137240.
Revision
265 -
Directory Listing
Modified
Tue Jul 4 15:32:43 2006 UTC
(11 years, 9 months ago)
by
azarah
Add SANDBOX_INTRACTV logic, and Vapier's sandboxshell mojo.
Revision
264 -
Directory Listing
Modified
Tue Jul 4 15:10:37 2006 UTC
(11 years, 9 months ago)
by
azarah
Small logic simplification.
Revision
263 -
Directory Listing
Modified
Tue Jul 4 14:58:16 2006 UTC
(11 years, 9 months ago)
by
azarah
Add is_env_off(). Also check for true/false. Use is_env_*.
Revision
262 -
Directory Listing
Modified
Tue Jul 4 14:35:18 2006 UTC
(11 years, 9 months ago)
by
azarah
Slightly adjust log format header.
Revision
261 -
Directory Listing
Modified
Tue Jul 4 14:32:38 2006 UTC
(11 years, 9 months ago)
by
azarah
Theoretically add support to terminate immediately if we had an access violation,
bug #138499. Uses environment variable SANDBOX_ABORT.
Revision
260 -
Directory Listing
Modified
Tue Jul 4 14:22:30 2006 UTC
(11 years, 9 months ago)
by
azarah
Add is_env_on(), and some other environ variable defines we will be using.
Revision
259 -
Directory Listing
Modified
Tue Jul 4 12:44:54 2006 UTC
(11 years, 9 months ago)
by
azarah
Change log format, and add more info, especially cmdline, bug #138501.
Revision
258 -
Directory Listing
Modified
Fri Jun 30 11:13:24 2006 UTC
(11 years, 9 months ago)
by
azarah
Use EERROR for OOM message instead of EWARN.
Revision
257 -
Directory Listing
Modified
Fri Jun 30 11:10:35 2006 UTC
(11 years, 9 months ago)
by
azarah
Fix possible huge overflow with logging code.
Revision
253 -
Directory Listing
Modified
Tue May 9 09:30:16 2006 UTC
(11 years, 11 months ago)
by
azarah
Do not free buffer returned by getcwd() if it was not obtained by getcwd(),
bug #125701, thanks Mike.
Revision
252 -
Directory Listing
Modified
Mon May 8 14:15:00 2006 UTC
(11 years, 11 months ago)
by
azarah
Comment egetcwd() some more, and fix a double-free.
Revision
248 -
Directory Listing
Modified
Wed May 3 11:18:28 2006 UTC
(11 years, 11 months ago)
by
azarah
If glibc/kernel side of getcwd() screwed up, return ENAMETOOLONG.
Revision
246 -
Directory Listing
Modified
Tue Apr 25 08:25:37 2006 UTC
(12 years ago)
by
azarah
Try to triple check getcwd() sanity. Do not think it will help for
bug #125701, but we try.
Revision
242 -
Directory Listing
Modified
Mon Feb 6 04:11:43 2006 UTC
(12 years, 2 months ago)
by
vapier
ignore more generated files
Revision
240 -
Directory Listing
Modified
Mon Feb 6 04:08:59 2006 UTC
(12 years, 2 months ago)
by
vapier
ignore generated files
Revision
235 -
Directory Listing
Modified
Mon Dec 5 22:49:20 2005 UTC
(12 years, 4 months ago)
by
azarah
More configure related cleanups. Define HAVE_RTLD_NEXT
via config.h.
Revision
228 -
Directory Listing
Modified
Mon Dec 5 14:06:58 2005 UTC
(12 years, 4 months ago)
by
azarah
Small tweak.
Revision
226 -
Directory Listing
Modified
Mon Dec 5 13:54:04 2005 UTC
(12 years, 4 months ago)
by
azarah
Cleanup RTLD defines.
Revision
225 -
Directory Listing
Modified
Mon Dec 5 13:41:39 2005 UTC
(12 years, 4 months ago)
by
azarah
Remove getcwd.c, as its no longer used.
Revision
224 -
Directory Listing
Modified
Mon Dec 5 13:40:36 2005 UTC
(12 years, 4 months ago)
by
azarah
More changes to try and resolve OSes with generic getcwd() implementations.
Revision
223 -
Directory Listing
Modified
Mon Dec 5 11:24:20 2005 UTC
(12 years, 4 months ago)
by
azarah
FreeBSD have RTLD_NOW, but still have the getcwd() issue.
Revision
222 -
Directory Listing
Modified
Mon Dec 5 11:18:39 2005 UTC
(12 years, 4 months ago)
by
azarah
Split sandbox_on stuff out to libsandbox.h. Only enable if we do not
have RTLD_NEXT.
Revision
221 -
Directory Listing
Modified
Mon Dec 5 11:08:26 2005 UTC
(12 years, 4 months ago)
by
azarah
Add sandbox_on variable to tweak internally if sandbox is on or off.
Revision
220 -
Directory Listing
Modified
Mon Dec 5 10:10:47 2005 UTC
(12 years, 4 months ago)
by
azarah
Rather check for RTLD_NEXT than glibc. Some other cleanups.
Revision
219 -
Directory Listing
Modified
Mon Dec 5 09:54:40 2005 UTC
(12 years, 4 months ago)
by
azarah
More bsd fixes.
Revision
218 -
Directory Listing
Modified
Mon Dec 5 09:53:28 2005 UTC
(12 years, 4 months ago)
by
azarah
Add checks for bsd that have dlopen() in libc.
Revision
216 -
Directory Listing
Modified
Mon Dec 5 09:28:34 2005 UTC
(12 years, 4 months ago)
by
azarah
Rename sandbox_futils.c to sandbox_utils.c. Add gstrndup() and gbasename()
to sandbox_utils.c. Add check for glibc, and fixup things to not need glibc
only extensions if not needed for versioned symbols.
Revision
211 -
Directory Listing
Modified
Sat Dec 3 11:42:38 2005 UTC
(12 years, 4 months ago)
by
azarah
Change default prefix '__' to '_DEFAULT' suffix to avoid confusion
some people seem to have.
Revision
207 -
Directory Listing
Modified
Fri Dec 2 12:34:19 2005 UTC
(12 years, 4 months ago)
by
azarah
Use mempcpy() instead of __mempcpy(), as svn uClibc hides it.
Revision
204 -
Directory Listing
Modified
Fri Dec 2 08:49:38 2005 UTC
(12 years, 4 months ago)
by
azarah
Add /dev/shm to write path.
Revision
198 -
Directory Listing
Modified
Thu Dec 1 12:01:33 2005 UTC
(12 years, 4 months ago)
by
azarah
Some comment touch-ups.
Revision
197 -
Directory Listing
Modified
Thu Dec 1 11:56:29 2005 UTC
(12 years, 4 months ago)
by
azarah
Wrap mkfifo() as it seems it was missing.
Revision
196 -
Directory Listing
Modified
Thu Dec 1 11:33:20 2005 UTC
(12 years, 4 months ago)
by
azarah
Wrap mknod() as well. Misc cleanups.
Revision
195 -
Directory Listing
Modified
Thu Dec 1 11:04:31 2005 UTC
(12 years, 4 months ago)
by
azarah
Rather use fstat() to get file size in file_length() than lseek().
Revision
194 -
Directory Listing
Modified
Thu Dec 1 10:58:54 2005 UTC
(12 years, 4 months ago)
by
azarah
Use egetcwd() in sandbox.c.
Revision
193 -
Directory Listing
Modified
Thu Dec 1 10:54:12 2005 UTC
(12 years, 4 months ago)
by
azarah
Fixup SANDBOX_ON handling after already running changes.
Revision
192 -
Directory Listing
Modified
Thu Dec 1 10:45:43 2005 UTC
(12 years, 4 months ago)
by
azarah
Rename filter_path() to resolve_path() and other renames for clarity.
Revision
191 -
Directory Listing
Modified
Thu Dec 1 10:40:09 2005 UTC
(12 years, 4 months ago)
by
azarah
Cleanup local defines for egetcwd() and erealpath().
Revision
190 -
Directory Listing
Modified
Thu Dec 1 09:47:42 2005 UTC
(12 years, 4 months ago)
by
azarah
Rename src/symbols.in to src/symbols.h.in.
Revision
189 -
Directory Listing
Modified
Thu Dec 1 09:46:17 2005 UTC
(12 years, 4 months ago)
by
azarah
Remove the SB_STATIC and including of getcwd.c, etc voodoo, as we new use a
symbol map, and all non-exported symbols are local. Cleanup getcwd.c, as
the generic getcwd for older 2.4 kernels do not work properly anyhow, and
just makes things slower. Some other warning fixes.
Revision
185 -
Directory Listing
Modified
Wed Nov 30 23:21:55 2005 UTC
(12 years, 4 months ago)
by
azarah
Small syntax cleanup.
Revision
184 -
Directory Listing
Modified
Wed Nov 30 23:11:34 2005 UTC
(12 years, 4 months ago)
by
azarah
Only check SANDBOX_ACTIVE, and not its value. More BASH_ENV fixes.
Revision
183 -
Directory Listing
Modified
Wed Nov 30 22:54:36 2005 UTC
(12 years, 4 months ago)
by
azarah
Use versioned symbols on supported libc's for functions we wrap, as well as
provide all versions of specific functions. Some syntax cleanups.
Revision
182 -
Directory Listing
Modified
Wed Nov 30 08:42:30 2005 UTC
(12 years, 4 months ago)
by
azarah
Move dlvsym define. Add symbol_version macros.
Revision
181 -
Directory Listing
Modified
Mon Nov 28 11:35:30 2005 UTC
(12 years, 4 months ago)
by
azarah
Revert 64bit arch test, as we should build the 32bit version without full
path checking as well, and add --enable-multilib switch to configure.
Revision
178 -
Directory Listing
Added
Mon Nov 28 10:52:03 2005 UTC
(12 years, 4 months ago)
by
azarah
Reorder source layout.
Sticky Revision: |
|