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

Log of /trunk/libsandbox.c

Parent Directory Parent Directory | Revision Log Revision Log



Revision 37 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 14 00:28:10 2005 UTC (9 years, 6 months ago) by azarah
File length: 37278 byte(s)
Diff to previous 36
Seems -nostdlib was the problem with the constructor/destructor - remove it
from Makefile.am, and change the constructor/destructor names again.


Revision 36 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 13 23:29:28 2005 UTC (9 years, 6 months ago) by azarah
File length: 37496 byte(s)
Diff to previous 35
Also rename the _init() and _fini() declarations.


Revision 35 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 13 23:23:00 2005 UTC (9 years, 6 months ago) by azarah
File length: 37500 byte(s)
Diff to previous 32
Fixup the constructor/destructor function names again (they should be _init()
and _fini() it seems, and not being called caused sandbox_lib_path to be
unset, and thus breaking the execve() wrapper's LD_PRELOAD protection).
Add both the path in given SANDBOX_x variable, as well as its symlink
resolved path in init_env_entries().  Modify filter_path() to be able to
resolve paths without resolving symlinks, as well as to be able to resolve
symlinks.  Fix a possible segfault in check_access().  Add symlink resolving
to check_access() resolving bug #31019.  Add 'hack' for unlink, as the fix
for bug #31019 cause access violations if we try to remove a symlink that is
not in protected path, but points to a protected path.  Fix a memory leak in
sandbox.c (sandbox_pids_file in main()).  Fix the realpath() calls in main()
(sandbox.c) being unchecked.  Fix the debug logname not having the pid in it
(pid_string was uninitialized).  General syntax cleanups.


Revision 32 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 17:30:16 2005 UTC (9 years, 7 months ago) by azarah
File length: 32684 byte(s)
Diff to previous 30
Hack to make sure sandboxed process cannot remove a device node, bug #79836.


Revision 30 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 09:04:45 2005 UTC (9 years, 7 months ago) by azarah
File length: 32834 byte(s)
Diff to previous 29
White space fixes.


Revision 29 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 09:01:36 2005 UTC (9 years, 7 months ago) by azarah
File length: 33215 byte(s)
Diff to previous 28
Fix inverse test logic in canonicalize.c, use a strncpy.  Fix gcc warning in
getcwd.c.  Add symbols.in and logic to Makefile.am to generate symbol versions
for glibc and other libc's that use this.  Update libsandbox.c to use these
symbol versions if available.  Fix exec wrapper to re-export LD_PRELOAD if the
process unset it.


Revision 28 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 05:48:12 2005 UTC (9 years, 7 months ago) by ferringb
File length: 32959 byte(s)
Diff to previous 26
killed off _init and _fini in favor of
void __attribute__ ((constructor)) init_func and
void __attribute__ ((destructor)) closing_func.  _(init|func) were deprecated.


Revision 26 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 6 21:42:51 2004 UTC (9 years, 9 months ago) by ferringb
File length: 32794 byte(s)
Diff to previous 25
hopefully cvs is done being stupid.  Compilation fixes, along w/ make dist fix.


Revision 25 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 5 06:14:21 2004 UTC (9 years, 9 months ago) by ferringb
File length: 32795 byte(s)
Diff to previous 24
compilation fixups.


Revision 24 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 5 05:42:10 2004 UTC (9 years, 9 months ago) by ferringb
File length: 32770 byte(s)
Diff to previous 22
should make things compile again


Revision 22 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 2 05:20:50 2004 UTC (9 years, 10 months ago) by vapier
File length: 32768 byte(s)
Diff to previous 2
need to include config.h


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
File length: 32748 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