/[path-sandbox]/trunk/libsbutil/is_env_off.c
Gentoo

Log of /trunk/libsbutil/is_env_off.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)

Revision 370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 9 10:29:58 2008 UTC (5 years, 9 months ago) by vapier
File length: 427 byte(s)
Diff to previous 369
consolidate all random system includes into headers.h

Revision 369 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 9 09:48:28 2008 UTC (5 years, 9 months ago) by vapier
File length: 466 byte(s)
Diff to previous 340
cleanup whitespace and comments -- no functional changes

Revision 340 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 13 15:41:48 2006 UTC (8 years, 1 month ago) by azarah
File length: 1160 byte(s)
Copied from: trunk/libsbutil/sbutil.c revision 328
Diff to previous 314
Split out util functions.


Revision 314 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 20:33:52 2006 UTC (8 years, 1 month ago) by azarah
Original Path: trunk/libsbutil/sbutil.c
File length: 3489 byte(s)
Diff to previous 313
Remove file_length(), and rather use rc_get_size().


Revision 313 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 20:28:18 2006 UTC (8 years, 1 month ago) by azarah
Original Path: trunk/libsbutil/sbutil.c
File length: 3630 byte(s)
Diff to previous 309
Make sure the first realpath() in get_tmp_dir() failing do
not set errno and thus trigger DBG_MSG().


Revision 309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 19:13:57 2006 UTC (8 years, 1 month ago) by azarah
Original Path: trunk/libsbutil/sbutil.c
File length: 3572 byte(s)
Copied from: trunk/src/sandbox_utils.c revision 304
Diff to previous 283
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 283 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 08:49:13 2006 UTC (8 years, 1 month ago) by azarah
Original Path: trunk/src/sandbox_utils.c
File length: 3036 byte(s)
Diff to previous 282
Remove last libsandbox-only functions in favour for ones provided
by librcutil.  Setup log_domain properly for debugging.


Revision 282 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 07:46:12 2006 UTC (8 years, 1 month ago) by azarah
Original Path: trunk/src/sandbox_utils.c
File length: 4080 byte(s)
Diff to previous 281
Updates for changes to librcutil.


Revision 281 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 17:06:40 2006 UTC (8 years, 1 month ago) by azarah
Original Path: trunk/src/sandbox_utils.c
File length: 4084 byte(s)
Diff to previous 280
Fix build failure due to exists() still being needed for libsandbox.


Revision 280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 16:51:12 2006 UTC (8 years, 1 month ago) by azarah
Original Path: trunk/src/sandbox_utils.c
File length: 3726 byte(s)
Diff to previous 263
Use librcutil.


Revision 263 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 14:58:16 2006 UTC (8 years, 1 month ago) by azarah
Original Path: trunk/src/sandbox_utils.c
File length: 4722 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, 1 month ago) by azarah
Original Path: trunk/src/sandbox_utils.c
File length: 4400 byte(s)
Diff to previous 216
Add is_env_on(), and some other environ variable defines we will be using.


Revision 216 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 5 09:28:34 2005 UTC (8 years, 8 months ago) by azarah
Original Path: trunk/src/sandbox_utils.c
File length: 4183 byte(s)
Copied from: trunk/src/sandbox_futils.c revision 209
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
Original Path: trunk/src/sandbox_futils.c
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, 8 months ago) by azarah
Original Path: trunk/src/sandbox_futils.c
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, 8 months ago) by azarah
Original Path: trunk/src/sandbox_futils.c
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, 8 months ago) by azarah
Original Path: trunk/src/sandbox_futils.c
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, 8 months ago) by azarah
Original Path: trunk/src/sandbox_futils.c
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, 8 months ago) by azarah
Original Path: trunk/src/sandbox_futils.c
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 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 2 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, 2 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 5 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, 9 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, 9 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, 9 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:

  ViewVC Help
Powered by ViewVC 1.1.20