/[path-sandbox]/trunk/src/sandbox_futils.c
Gentoo

Log of /trunk/src/sandbox_futils.c

Parent Directory Parent Directory | Revision Log Revision Log



Revision 196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 1 11:33:20 2005 UTC (8 years, 9 months ago) by azarah
File length: 3502 byte(s)
Diff to previous 195
Wrap mknod() as well.  Misc cleanups.

Revision 195 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 1 11:04:31 2005 UTC (8 years, 9 months ago) by azarah
File length: 3500 byte(s)
Diff to previous 191
Rather use fstat() to get file size in file_length() than lseek().

Revision 191 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 1 10:40:09 2005 UTC (8 years, 9 months ago) by azarah
File length: 3515 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, 9 months ago) by azarah
File length: 3562 byte(s)
Diff to previous 181
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 181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 11:35:30 2005 UTC (8 years, 9 months ago) by azarah
File length: 3662 byte(s)
Diff to previous 178
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 10:52:03 2005 UTC (8 years, 9 months ago) by azarah
File length: 3664 byte(s)
Copied from: trunk/sandbox_futils.c revision 172
Diff to previous 152
Reorder source layout.

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


Revision 145 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 8 14:52:26 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 3270 byte(s)
Diff to previous 143
Try to cleanup and make error handling/printing consistent.

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


Revision 142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 22:14:57 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 3237 byte(s)
Diff to previous 141
Remove unused includes and variables.

Revision 141 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 22:08:17 2005 UTC (9 years, 2 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 3446 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, 2 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 3949 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, 2 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 4113 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, 2 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 12776 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, 2 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 12750 byte(s)
Diff to previous 117
Remove unused 'pids file' code.

Revision 117 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 11 07:25:36 2005 UTC (9 years, 3 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 13015 byte(s)
Diff to previous 108
Some strncpy/strncat and other cleanups.

Revision 108 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 8 13:52:33 2005 UTC (9 years, 3 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 13013 byte(s)
Diff to previous 101
Do not abort if TMPDIR is not valid, but rather use '/tmp', bug #94360.  Also
make sure we re-export the new TMPDIR environment variable.


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


Revision 99 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 13 13:30:51 2005 UTC (9 years, 4 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 12798 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, 4 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 12630 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, 4 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 11876 byte(s)
Diff to previous 92
More path limit fixes.  Declare SB_BUF_LEN global and use it where needed.


Revision 92 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 11 23:59:50 2005 UTC (9 years, 4 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 11869 byte(s)
Diff to previous 82
Fix paths limited to 255 chars.  Fix get_sandbox_dir() returning a string
with '(null)' in it if we did not call sandbox with absolute path.


Revision 82 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 10 07:38:49 2005 UTC (9 years, 4 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 11862 byte(s)
Diff to previous 43
Fix typo in code that checks if we got valid group information, causing a
segmentation fault, bug #91637.


Revision 43 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 23 20:44:15 2005 UTC (9 years, 4 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 11855 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, 6 months ago) by azarah
Original Path: trunk/sandbox_futils.c
File length: 11655 byte(s)
Diff to previous 16
White space fixes.


Revision 16 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 20 13:21:37 2004 UTC (9 years, 10 months ago) by ferringb
Original Path: trunk/sandbox_futils.c
File length: 11770 byte(s)
Diff to previous 13
corrections to remove hardcoded paths.


Revision 13 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 20 13:05:24 2004 UTC (9 years, 10 months ago) by ferringb
Original Path: trunk/sandbox_futils.c
File length: 11756 byte(s)
Diff to previous 2
removed the /usr/lib/portage/ hardcoded reference for bashrc.


Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Nov 19 22:03:42 2004 UTC (9 years, 10 months ago) by ferringb
Original Path: trunk/sandbox_futils.c
File length: 11733 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 215)

  ViewVC Help
Powered by ViewVC 1.1.20