/[path-sandbox]/trunk/src/sandbox.h
Gentoo

Log of /trunk/src/sandbox.h

Parent Directory Parent Directory | Revision Log Revision Log



Revision 280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 16:51:12 2006 UTC (8 years ago) by azarah
File length: 3613 byte(s)
Diff to previous 279
Use librcutil.


Revision 279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 16:34:00 2006 UTC (8 years ago) by azarah
File length: 3715 byte(s)
Diff to previous 263
Rename EINFO, etc to SB_EINFO, etc to not conflict with macros from
librcutil.


Revision 263 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 14:58:16 2006 UTC (8 years ago) by azarah
File length: 3706 byte(s)
Diff to previous 260
Add is_env_off().  Also check for true/false. Use is_env_*.


Revision 260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 14:22:30 2006 UTC (8 years ago) by azarah
File length: 3632 byte(s)
Diff to previous 259
Add is_env_on(), and some other environ variable defines we will be using.


Revision 259 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 12:44:54 2006 UTC (8 years ago) by azarah
File length: 3458 byte(s)
Diff to previous 224
Change log format, and add more info, especially cmdline, bug #138501.


Revision 224 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 5 13:40:36 2005 UTC (8 years, 7 months ago) by azarah
File length: 3420 byte(s)
Diff to previous 216
More changes to try and resolve OSes with generic getcwd() implementations.

Revision 216 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 5 09:28:34 2005 UTC (8 years, 7 months ago) by azarah
File length: 3386 byte(s)
Diff to previous 196
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 196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 1 11:33:20 2005 UTC (8 years, 8 months ago) by azarah
File length: 3210 byte(s)
Diff to previous 191
Wrap mknod() as well.  Misc cleanups.

Revision 191 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 1 10:40:09 2005 UTC (8 years, 8 months ago) by azarah
File length: 3320 byte(s)
Diff to previous 189
Cleanup local defines for egetcwd() and erealpath().

Revision 189 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 1 09:46:17 2005 UTC (8 years, 8 months ago) by azarah
File length: 3208 byte(s)
Diff to previous 182
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 182 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 08:42:30 2005 UTC (8 years, 8 months ago) by azarah
File length: 3278 byte(s)
Diff to previous 178
Move dlvsym define.  Add symbol_version macros.

Revision 178 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 10:52:03 2005 UTC (8 years, 8 months ago) by azarah
File length: 3350 byte(s)
Copied from: trunk/sandbox.h revision 175
Diff to previous 175
Reorder source layout.

Revision 175 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 10:24:06 2005 UTC (8 years, 8 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 3350 byte(s)
Diff to previous 173
Make sure we use our bashrc.

Revision 173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 10:05:52 2005 UTC (8 years, 8 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 3307 byte(s)
Diff to previous 157
Cleanup environ variables.

Revision 157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 5 13:55:08 2005 UTC (8 years, 11 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 3114 byte(s)
Diff to previous 152
If we are called from the command line, do not care about PORTAGE_TMPDIR,
and make the current directory the work directory.  Also rename the variable
portage_tmp_dir to work_dir.


Revision 152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 27 18:04:35 2005 UTC (9 years ago) by azarah
Original Path: trunk/sandbox.h
File length: 3074 byte(s)
Diff to previous 151
Do not resolve symlinks in PORTAGE_TMPDIR in sandbox .. we will handle that
in libsandbox .. bug #100309.


Revision 151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 22 08:13:25 2005 UTC (9 years ago) by azarah
Original Path: trunk/sandbox.h
File length: 3013 byte(s)
Diff to previous 144
Print all logging to stderr, bug #90343, comment #15, by Zac Medico.

Revision 144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 22:58:16 2005 UTC (9 years ago) by azarah
Original Path: trunk/sandbox.h
File length: 2977 byte(s)
Diff to previous 143
Cleanup access/log printing.  Make access printing honour NOCOLOR.  Fix log
printing's last line not honouring NOCOLOR.


Revision 143 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 22:19:52 2005 UTC (9 years ago) by azarah
Original Path: trunk/sandbox.h
File length: 2250 byte(s)
Diff to previous 141
Only declare functions in sandbox_futils.c that are used in libsandbox.c when
OUTSIDE_LIBSANDBOX is not defined.


Revision 141 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 22:08:17 2005 UTC (9 years ago) by azarah
Original Path: trunk/sandbox.h
File length: 2134 byte(s)
Diff to previous 140
Remove sandbox_dir and co - we are not using it anymore.

Revision 140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 22:01:14 2005 UTC (9 years ago) by azarah
Original Path: trunk/sandbox.h
File length: 2237 byte(s)
Diff to previous 139
Redo the interface of the get_* functions so that we do not leak memory.

Revision 139 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 21:42:33 2005 UTC (9 years ago) by azarah
Original Path: trunk/sandbox.h
File length: 2219 byte(s)
Diff to previous 134
Major cleanup of sandbox_futils.c.  Removed most of the functions as we now
write to /var/log/sandbox/, so in theory do not need all that.


Revision 134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 6 17:35:30 2005 UTC (9 years ago) by azarah
Original Path: trunk/sandbox.h
File length: 2630 byte(s)
Diff to previous 133
Change log dir to /var/log/sandbox/.  Make sure the sandboxed process cannot write to it.

Revision 133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 6 00:36:46 2005 UTC (9 years ago) by azarah
Original Path: trunk/sandbox.h
File length: 2580 byte(s)
Diff to previous 101
Remove unused 'pids file' code.

Revision 101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 13 15:23:28 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2690 byte(s)
Diff to previous 100
General cleanups.


Revision 100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 13 14:18:05 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2648 byte(s)
Diff to previous 99
Various LD_PRELOAD cleanups.  Do not unset LD_PRELOAD for parent.


Revision 99 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 13 13:30:51 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2558 byte(s)
Diff to previous 97
Modify get_sandbox_pids_file(), get_sandbox_log() and get_sandbox_debug_log()
to use TMPDIR if present in environment.


Revision 97 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 13 12:52:10 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2298 byte(s)
Diff to previous 93
Add get_sandbox_debug_log(), and use it (add behaviour similar to SANDBOX_LOG
if already exported when sandbox started).  Fix get_sandbox_log() and new
get_sandbox_debug_log() to not use already exported environment variables if
they have '/' in them.  Use snprintf()'s instead of strncpy()'s.  More
SB_PATH_MAX fixes.


Revision 93 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 12 00:07:21 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2257 byte(s)
Diff to previous 86
More path limit fixes.  Declare SB_BUF_LEN global and use it where needed.


Revision 86 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 11 15:42:45 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2220 byte(s)
Diff to previous 84
Remove NO_FORK stuff, as its not used, and 'strace -f' works just fine.


Revision 84 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 11 15:39:13 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2390 byte(s)
Diff to previous 83
Remove USE_SYSTEM_SHELL stuff, as it is not secure, and not in use.


Revision 83 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 11 15:36:36 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2499 byte(s)
Diff to previous 70
Remove ld.so.preload crap - we are not going to use it again.


Revision 70 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 3 21:43:50 2005 UTC (9 years, 3 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2608 byte(s)
Diff to previous 64
Fixup sandbox and sandbox.bashrc to call bash with the proper .bashrc.


Revision 64 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 2 23:58:47 2005 UTC (9 years, 3 months ago) by vapier
Original Path: trunk/sandbox.h
File length: 2560 byte(s)
Diff to previous 62
whitespace fixes


Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 2 23:53:39 2005 UTC (9 years, 3 months ago) by vapier
Original Path: trunk/sandbox.h
File length: 2447 byte(s)
Diff to previous 43
dlvsym doesnt exist in uClibc


Revision 43 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 23 20:44:15 2005 UTC (9 years, 3 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2355 byte(s)
Diff to previous 30
Make sure all functions used in libsandbox.c is declared static.  Define
SB_STATIC in localdecls.h for this.  Include sandbox_futils.c rather than
linking with its object.  Hopefully this will fix bug #90153.


Revision 30 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 09:04:45 2005 UTC (9 years, 5 months ago) by azarah
Original Path: trunk/sandbox.h
File length: 2170 byte(s)
Diff to previous 2
White space fixes.


Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Nov 19 22:03:42 2004 UTC (9 years, 8 months ago) by ferringb
Original Path: trunk/sandbox.h
File length: 2168 byte(s)
Initial revision


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sticky Revision:
(Current path doesn't exist after revision 308)

  ViewVC Help
Powered by ViewVC 1.1.20