/[pdpsoft]/trunk/grid-mw-security/cgul/environ/environ.h
ViewVC logotype

Log of /trunk/grid-mw-security/cgul/environ/environ.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 11 15:33:33 2010 UTC (11 years, 8 months ago) by msalle
File length: 6460 byte(s)
Diff to previous 1512
Bringing environ back in sync with glexec: 
- new function int cgul_unsetenv_dst() needed to remove an entry from an 'saved'
  environment.


Revision 1512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 15 16:16:49 2010 UTC (12 years, 5 months ago) by msalle
File length: 6320 byte(s)
Diff to previous 1509
- new function cgul_add_src_pattern() to add substring pattern entries from a
  src environment to a target environment. E.g. for GLEXEC_ variables into the
  target process environment.
- reworked related cgul_add_src_list(), so that it is more or less consistent
  internally consistent with the new cgul_add_src_pattern()



Revision 1509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 14 12:31:10 2010 UTC (12 years, 5 months ago) by msalle
File length: 5494 byte(s)
Diff to previous 1491
Bringing environ back in sync with version in gLExec.



Revision 1491 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 9 16:30:01 2010 UTC (12 years, 6 months ago) by msalle
File length: 5393 byte(s)
Diff to previous 1452
- introduced cgul_ prefix for environ
- synchronized two proxy writing functions, thereby fixing a const char* writing
  issue (segfault).


Revision 1452 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 2 19:09:23 2010 UTC (12 years, 6 months ago) by msalle
File length: 5310 byte(s)
Diff to previous 1449
- introducing env_t (char **): now use &dst for creation/updating of
  environments instead of return value of functions.
  This makes it easier to have a few additions in a row etc.

- make sure when input whitelist and/or src is null everything works as
  expected: new environment should be created and initialized to empty, old
  environment should be left unchanged.

- make sure environ.h is effectively included once using a #ifndef


Revision 1449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 2 02:35:46 2010 UTC (12 years, 6 months ago) by msalle
File length: 5044 byte(s)
Diff to previous 1447
- added new function setenv_dst() adding a name, value pair to the dst
  environment, similar to add_namevalue()

- check explicitly that whitelists aren't NULL, which lead to a segfault...



Revision 1447 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 31 18:24:07 2010 UTC (12 years, 6 months ago) by msalle
File length: 4615 byte(s)
Diff to previous 1446
We're not in 2004... Changed year to 2010


Revision 1446 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 31 11:10:18 2010 UTC (12 years, 6 months ago) by msalle
File length: 4615 byte(s)
Diff to previous 1441
No copyright text for us, only EGEE allowed (instructions from Francesco).



Revision 1441 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 29 09:50:02 2010 UTC (12 years, 6 months ago) by msalle
File length: 3755 byte(s)
Diff to previous 1439
- Added a getenv for 'external' environments
- no more pointer arithmetics...


Revision 1439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 28 20:58:44 2010 UTC (12 years, 6 months ago) by msalle
File length: 3584 byte(s)
Diff to previous 1436
- fixed a few initialization (valgrind) problems.
- updated comments: remarks on strdup/putenv etc.



Revision 1436 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 28 16:48:35 2010 UTC (12 years, 6 months ago) by msalle
File length: 3285 byte(s)
Diff to previous 1429
- added a number of new functions to:
    add single pairs to external environment,
    put some general stuff in special functions,
- Fixed a few memory leaks, probably none left (-:



Revision 1429 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 25 16:42:10 2010 UTC (12 years, 6 months ago) by msalle
File length: 2423 byte(s)
Diff to previous 1420
- strarrlen returns NULL when argument is NULL (not just when list is empty).
  This is convenient...



Revision 1420 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Jan 25 10:40:31 2010 UTC (12 years, 6 months ago) by msalle
File length: 2383 byte(s)
environ.c / environ.h Provides methods to safely backup the environment, to
clear the current environment and to re-set certain parts from the backup
into it.



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

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28