summaryrefslogtreecommitdiff
path: root/bin/systrace/intercept-translate.c
AgeCommit message (Collapse)Author
2004-07-07fix an issue when scripts are exec'd under systrace wheremarius eriksen
the argv[0] would be normalized, and hence break scripts that depend on how they were called. this fixes an issue in the ports builds. ok provos@ deraadt@; lots of testing during hackathon sturm@ naddy@
2003-10-08originally from cb@openbsd.org, adapted by provosNikolay Sturm
itojun@ ok fix a race condition between path resolution in userland and the subsequent namei(): inform the kernel portion of valid filenames and then disallow symlink lookups for those filenames by means of a hook in namei(). with suggestions from provos@ also, add (currently unused) seqnr field to struct systrace_replace, from provos@
2002-08-01the last component in a filename for unlink may be a symlinkNiels Provos
2002-07-20compile on sparc64Niels Provos
2002-07-19constify, have missing prototypes, use pedantic compilation options.Jun-ichiro itojun Hagino
niels ok
2002-07-14argv translation for exeveNiels Provos
2002-07-13use correct length for PF_LOCAL sockets; not all applications fill inNiels Provos
sa_len
2002-06-21rewrite all system call arguments in the permit case. use realpathNiels Provos
when we still have the root and we of the monitored process. this eliminates almost all race coniditions.
2002-06-19more careful buffer handling; pointed out by deraadt@Niels Provos
2002-06-04KNFTheo de Raadt
2002-06-04initial import of systrace. don't touch this, more stuff coming in a whileNiels Provos