Re: Opening files from within geom filters

2011-06-04 Thread Ali Mashtizadeh
Hi Benjamin, Thanks for the reference. I originally wanted to open an fd in userspace as suggested, but the alq(9) API did not support that. I guess I'll try adding a new alq creation function for this purpose. Similarly, geom did not support that as well. I guess I'll spend sometime on adding tha

Re: Opening files from within geom filters

2011-06-04 Thread Benjamin Kaduk
On Sat, 4 Jun 2011, Ali Mashtizadeh wrote: Hi Folks, I'm working on a small geom filter where I need to open a file with vn_open_cred, but this causes an assert because of a null pointer because g_run_event proc structure has null pointer for the current working directory. Hi Ali, In general

Opening files from within geom filters

2011-06-04 Thread Ali Mashtizadeh
Hi Folks, I'm working on a small geom filter where I need to open a file with vn_open_cred, but this causes an assert because of a null pointer because g_run_event proc structure has null pointer for the current working directory. Thanks, -- Ali Mashtizadeh __