"Roger A. Faulkner" <Roger.Faulkner at sun.com> wrote: > =========================================================== > > Retain these old system call traps; > make sure they are called from libc as always so that > existing DTrace scripts continue to work as always: > open() > open64() > stat() > lstat() > fstat() > stat64() > lstat64() > fstat64() > rename() > unlink() > rmdir() > chown() > lchown() > fchown() > access() > > Delete these in favor of open*(path, O_WRONLY | O_CREAT | O_TRUNC, mode): > creat() > creat64() > > Delete this in favor of fcntl(F_DUPFD): > dup() > > Delete these from i386 code in favor of *stat() amd mknod() > (they should have been deleted when COFF support was dropped): > _xstat() > _lxstat() > _fxstat() > _xmknod() > > Delete these (they are never called from libc): > exec() > fork1() > forkall() > poll() > utime() > utimes() > umount() > wait() > lwp_mutex_lock() > lwp_sema_wait() > > Delete this: > fsat() > in favor of individual (new) system call traps for each of its subcodes: > openat() > openat64() > fstatat() > fstatat64() > renameat() > unlinkat() > fchownat() > faccessat() > > ===========================================================
This revised plan looks OK. J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily