<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,32 +1,4 @@
-inline int PATHBUFLEN = 256;
-
-struct nameidata {
-        /*
-         * Arguments to namei/lookup.
-         */
-        user_addr_t ni_dirp;            /* pathname pointer */
-        enum    uio_seg ni_segflg;      /* location of pathname */
-        /*
-         * Arguments to lookup.
-         */
-        struct  vnode *ni_startdir;     /* starting directory */
-        struct  vnode *ni_rootdir;      /* logical root directory */
-        struct  vnode *ni_usedvp;       /* directory passed in via USEDVP */
-        /*
-         * Results: returned from/manipulated by lookup
-         */
-        struct  vnode *ni_vp;           /* vnode of result */
-        struct  vnode *ni_dvp;          /* vnode of intermediate directory */
-        /*
-         * Shared between namei and lookup/commit routines.
-         */
-        u_int   ni_pathlen;             /* remaining chars in path */
-        char    *ni_next;               /* next location in pathname */
-        char    ni_pathbuf[PATHBUFLEN];
-        u_long  ni_loopcnt;             /* count of symlinks encountered */
-
-        struct componentname ni_cnd;
-};
+typedef struct nameidata* nameidata_t;
 
 pid$target::dlopen:entry
 /arg0/
@@ -69,44 +41,31 @@ pid$target::open:entry
 
 /* opening the same file */
 
+/*
 pid$target::open:entry
 /self-&gt;path != 0 &amp;&amp; self-&gt;path == copyinstr(arg0)/
 {
   self-&gt;savefd = 1;
 }
+*/
 
 fbt::vn_open_auth:entry
 {
   this-&gt;ndp = arg0;
 }
 
-/*
-  printf(&quot;ndp-&gt;ni_vp: %x\n&quot;, (long)((struct nameidata*)this-&gt;ndp)-&gt;ni_vp);
-  printf(&quot;ndp-&gt;ni_pathlen: %u\n&quot;, ((struct nameidata*)this-&gt;ndp)-&gt;ni_pathlen);
-*/
-
 fbt::vn_open_auth:return
-/self-&gt;path == ((struct nameidata*)this-&gt;ndp)-&gt;ni_pathbuf/
+/self-&gt;path == ((nameidata_t)this-&gt;ndp)-&gt;ni_pathbuf/
 {
   printf(&quot;Got a match on %s\n&quot;, self-&gt;path);
-  this-&gt;vp = ((struct nameidata*)this-&gt;ndp)-&gt;ni_vp;
-  printf(&quot;vp-&gt;v_name: %s\n&quot;, stringof(((struct vnode *)this-&gt;vp)-&gt;v_name));
-  
-  exit(0);
-}
-
-/*
-fbt::vnode_pagein:entry
-/i &lt; 32/
-{
-  printf(&quot;vnode_pagein(vnode ptr: %x, upl: %x, upl_offset: %u, f_offset: %u, size: %u, flags: %d, ...)\n&quot;,
-    arg0, arg1, arg2, arg3, arg4, arg5);
-  i++;
+  this-&gt;vp = (vnode_t)((nameidata_t)this-&gt;ndp)-&gt;ni_vp;
+  this-&gt;lib = stringof((this-&gt;vp)-&gt;v_name);
+  self-&gt;vnode[this-&gt;vp] = this-&gt;lib;
+  self-&gt;fullpath[this-&gt;vp] = self-&gt;path;
 }
 
 fbt::vnode_pagein:entry
-/i &gt; 32/
+/self-&gt;vnode[(vnode_t)arg0] != 0/
 {
-  exit(0);
+  printf(&quot;vnode_pagein(vnode ptr: %x = %s, upl: %x, upl_offset: %u, f_offset: %u, size: %u, flags: %d, ...)\n&quot;, arg0, self-&gt;vnode[(vnode_t)arg0], arg1, arg2, arg3, arg4, arg5);
 }
-*/</diff>
      <filename>page-fault.d</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>614f22ac3a0bed4f9ecd78011b13f19d825de680</id>
    </parent>
  </parents>
  <author>
    <name>wagerlabs</name>
    <email>joelr1@gmail.com</email>
  </author>
  <url>http://github.com/wagerlabs/firefox-startup/commit/85b522b0fce02376491ad671cce9b38175e54224</url>
  <id>85b522b0fce02376491ad671cce9b38175e54224</id>
  <committed-date>2009-10-28T01:00:38-07:00</committed-date>
  <authored-date>2009-10-28T01:00:38-07:00</authored-date>
  <message>work in progress;</message>
  <tree>f201a49ce9b03405c679f8d4d390f4bebf888bab</tree>
  <committer>
    <name>wagerlabs</name>
    <email>joelr1@gmail.com</email>
  </committer>
</commit>
