Re: åäéèfdæåæåæäçèåååç

From: Helight.Xu
Date: Fri Nov 20 2009 - 04:54:23 EST


Xiaotian Feng wrote:
in fs/open.c
sys_open
| --> do_sys_open
|---> fd_install

Then fd is installed into file_fdtable

in fs/file_table.c
fget_light/fget
|----> fcheck_files

Then kernel get files from fd.
struct file is easy to get : current->files->fd_array[fd]

but I didn't find the file name!
2009/11/20 Helight.Xu <helight.xu@xxxxxxxxx>:
åçæçåäæåæäèèçèïéååæäåäèéèopenåçfd
ææåçåæåæäçèååååååï

--
---------------------------------
Zhenwen Xu - Open and Free
Home Page: http://zhwen.org

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/




--
---------------------------------
Zhenwen Xu - Open and Free
Home Page: http://zhwen.org

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/