On Wed, May 24, 2006 at 07:10:52PM -0500, Mike Gerdts wrote: > If it were unlink(3C) rather than unlink(2), an interposer library > could make this functionality generally available. Surely there must > be a dtrace hack that could redirect calls destined for unlink() to > safe_unlink(), subject to environment information.
You most certainly can interpose on system calls just as with any C function calls -- after all applications have to call function stubs for them that in turn do the actual trapping to the kernel. Nico -- _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss