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

Log of /trunk/sandbox_futils.c

Parent Directory Parent Directory | Revision Log Revision Log



Revision 145 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 8 14:52:26 2005 UTC (9 years ago) by azarah
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 ago) by azarah
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 ago) by azarah
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 ago) by azarah
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 ago) by azarah
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 ago) by azarah
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 ago) by azarah
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 ago) by azarah
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, 1 month ago) by azarah
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, 1 month ago) by azarah
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, 2 months ago) by azarah
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, 2 months ago) by azarah
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, 2 months ago) by azarah
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, 2 months ago) by azarah
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, 2 months ago) by azarah
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, 2 months ago) by azarah
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, 3 months ago) by azarah
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, 4 months ago) by azarah
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, 8 months ago) by ferringb
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, 8 months ago) by ferringb
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, 8 months ago) by ferringb
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 177)

  ViewVC Help
Powered by ViewVC 1.1.20