source: trunk/base/src/darwintracelib1.0/darwintrace.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @136398   5 years cal base: darwintrace: don't use fread(3) and fwrite(3) fread(3) and …
(edit) @129895   6 years ionic base: typo fix in comment.
(edit) @127673   6 years cal base: trace mode: deal with resource forks, add error checks, use …
(edit) @127033   6 years cal trace mode: deal with volfs paths correctly, remove unnecessary …
(edit) @124216   6 years cal base: trace mode: track unknown files in $prefix separately, refactor …
(edit) @124146   6 years cal base: darwintrace: fix ignoring of /usr/local and /Library/Frameworks …
(edit) @117959   6 years cal darwintrace: comment unused function to avoid error with clang 5.1
(edit) @116827   7 years toby daemondo, darwintracelib1.0: Fix -Wunreachable-code warnings.
(edit) @114131   7 years cal darwintrace: Don't always follow symlinks Only follow symlinks in …
(edit) @114096   7 years cal darwintrace: fix expansion of multiple symlinks Expanding a series of …
(edit) @113469   7 years jeremyhu comment out dead code to fix build on Leopard
(edit) @113228   7 years toby darwintracelib1.0, pextlib1.0: Fix -Wdocumentation issues
(edit) @113026   7 years cal darwintrace: major overhaul, now successfully compiles all ports I …
(edit) @112642   7 years cal darwintrace: fix build error introduced by last commit
(edit) @112641   7 years cal darwintrace: avoid some calls to stdlib string functions to avoid call …
(edit) @112640   7 years cal darwitnrace: use booleans in darwintrace_is_in_sandbox
(edit) @112611   7 years cal darwintrace: fix build errors introduced by r112610
(edit) @112610   7 years cal darwintrace: comment unused code
(edit) @112608   7 years cal darwintrace: avoid unnecessary strcpy(3) in the default cause of …
(edit) @112607   7 years cal darwintrace: use bools instead of int return values, avoid call to strcmp
(edit) @112606   7 years cal darwintrace: fix allowing access to "/", remove outdated comment
(edit) @110689   7 years jeremyhu darwintrace requires gcc-4.2 or later
(edit) @110144   7 years cal darwintrace: more comments, implement avoiding reporting sandbox …
(edit) @108469   7 years cal darwintrace: fix build error
(edit) @108468   7 years cal darwintrace: don't hide directories in access(2), different solution …
(edit) @108467   7 years cal darwintrace: always allow access to '/'. A filesystem without '/' …
(edit) @108434   7 years cal darwintrace: clean up execve code, add support for access(2) used by CMake
(edit) @108152   7 years cal darwintrace: avoid using non-portable SUN_LEN
(edit) @108151   7 years cal darwintrace: fix warning on Linux, where pthread_self() doesn't return …
(edit) @108150   7 years cal darwintrace: revert r108149, since it breaks the build on Mac OS
(edit) @108149   7 years cal darwintrace: fix build and warnings on Linux
(edit) @108069   7 years jmr check for strlcat and provide an implementation when not present in the OS
(edit) @108032   7 years cal darwintrace: use uint32_t as size field in the communication protocol …
(edit) @107864   7 years cal darwintrace/tracelib: lots of bug fixes - tracelib: switched to …
(edit) @107799   7 years cal darwintrace: remove dead code
(edit) @107798   7 years cal darwintrace: reformat astyle --style=java -t -SKLwpHUjc -k3 --mode=c …
(edit) @107797   7 years cal darwintrace: complete overhaul - lots of cleanup and removal of …
(edit) @107551   7 years cal darwintrace: fix disabling the sandbox, continue searching if …
(edit) @107521   7 years cal darwintrace: factor out filemap iteration, reformat and cleanup file …
(edit) @107520   7 years cal darwintrace: remove unneeded debug code, whitespace
(edit) @107519   7 years cal darwintrace: declare all helper functions static
(edit) @107518   7 years cal darwintrace: provide dt_pathbeginswith() Previously, prefixes of …
(edit) @106710   7 years cal darwintrace: deal with non-canonical paths This fixes one of the last …
(edit) @106639   7 years jmr update copyright notices
(edit) @105633   7 years cal darwintrace: only handle getdirentries64 on systems with 64 bit …
(edit) @105632   7 years cal darwintrace: move definition of struct dirent32 closer to the …
(edit) @105628   7 years cal darwintrace: return -1 from getdirentries64 on error
(edit) @105627   7 years cal darwintrace: align & re-word comments
(edit) @102866   8 years cal darwintrace: declare darwintrace_setup() static
(edit) @100365   8 years cal darwintrace: loop around first recv(2), too Sometimes, I saw "!!! …
(edit) @100221   8 years cal darwintrace: make the darwintrace FD a moving target, hide files …
(edit) @100077   8 years cal darwintrace: fix random crash and loss of socket caused by "exec 6>&1" …
(edit) @100073   8 years cal general (and incomplete) overhaul of the darwintrace code - add …
(edit) @80069   9 years raimue Rename dprintf to debug_printf to avoid name clash with POSIX
(edit) @79593   9 years jmr update copyright notices
(edit) @74369   10 years jmr only use stat64 and friends when available, as per jeremyhu's …
(edit) @74318   10 years jmr wrap stat64 and lstat64 in darwintracelib (fixes #21582)
(edit) @66640   10 years raimue darwintrace: Better dprintf accepting multiple arguments for pre-C99
(edit) @66625   10 years raimue darwintrace: Handle getcwd and connect failures with abort()
(edit) @65131   10 years raimue darwintracelib1.0: Fix compilation with clang
(edit) @64294   10 years jmr error checking, sprintf -> snprintf, strcpy -> strncpy
(edit) @50702   11 years toby compile with clang
(edit) @50700   11 years toby darwintrace.c: add newline at end of file
(edit) @40051   12 years toby fix warnings
(edit) @30381   13 years epimenov tracelib: hackaround. Something strange happend, seems socket come …
(edit) @28091   13 years epimenov Port trace: dep check, SDK redirect
(edit) @26806   13 years ryandesign grammer/spacing fixes in comments
(edit) @26804   13 years jmpp Small grammar correction ;-)
(edit) @26682   13 years epimenov Trace lib on unix sockets. No dep check for now.
(edit) @19376   14 years yeled add svn:keywords Id
(edit) @19004   14 years pguyot Changes to strengthen the trace mode: - the values of the global …
(edit) @18988   14 years pguyot -t now forbids renaming files/dirs and deleting directories outside …
(edit) @18781   14 years pguyot darwintrace now reports creation of directories outside the sandbox. …
(edit) @18777   14 years pguyot Add sys/paths to configure.ac. Get darwintrace.c to compile on foreign …
(edit) @18769   14 years pguyot Fix darwintrace.c on 10.3 (tentative, no 10.3 box here) by determining …
(edit) @18721   14 years pguyot Improvement in tests Makefile. darwintrace (-t) now also blocks file …
(edit) @18709   14 years pguyot option -t update : now creations (and file write) outside workpath, …
(edit) @18692   14 years pguyot Prefix internal functions and use inline to avoid them to be inserted.
(edit) @18673   14 years pguyot Removed an old unwanted junk line.
(edit) @18671   14 years pguyot More debug code. Removed the execve workaround now that I figured out …
(edit) @18667   14 years pguyot Port features from darwinbuild's darwintrace 1.13.
(edit) @18665   14 years pguyot (Finally) fix execve failures with -t option. Bug: #4522
(edit) @16356   15 years landonf Don't try to use volfs/F_GETPATH on non-Apple systems
(edit) @16352   15 years landonf Use the autoheader #define for crt_externs.h
(edit) @13738   15 years pguyot Add a lot of missing $Id$
(edit) @13640   15 years pguyot When execve fails, the fd should be reset to -2 since the OS closes …
(edit) @13378   15 years pguyot Fixed a problem introduced with latest commit (-t would no longer …
(edit) @13220   15 years pguyot O_WRONLY+O_NONBLOCK doesn't do what I thought it does. …
(edit) @13207   15 years pguyot Open access is now non-blocking (works better with fifo)
(edit) @13179   15 years pguyot Synchronized darwintrace.c with latest version. I actually: - added …
(add) @13169   15 years pguyot Added darwintracelib to the project. I fixed bugs and standard …
Note: See TracRevisionLog for help on using the revision log.