From: Reiner S. <sa...@us...> - 2007-03-22 03:15:24
|
Hi, d_path is a core linux function and now defined in fs/dcache.c 1818 /* write full pathname into buffer and return start of pathname */ 1819 char * d_path(struct dentry *dentry, struct vfsmount *vfsmnt, 1820 char *buf, int buflen) 1821 { See:http://lxr.linux.no/source/fs/dcache.c#L1819 And yes, you are right. D_path offers a simple way to get the absolute path name for files we measure. Greetings Reiner __________________________________________________________ Reiner Sailer, Research Staff Member, Secure Systems Department IBM T J Watson Research Ctr, 19 Skyline Drive, Hawthorne NY 10532 Phone: 914 784 6280 (t/l 863) Fax: 914 784 6205, sa...@us... http://www.research.ibm.com/people/s/sailer/ From: JanuGerman <dou...@ya...> To: LInuxIMAUser <lin...@li...> Date: 03/21/2007 11:35 AM Subject: [Linux-ima-user] One question about the source code of IMA Hi Every one, Within the source code of IMA, ima_main.c/do_measure_file() function contains a function called "d_path". Where this function is defined within the IMA source code. Apparently, this function takes some struct file arguments and calculates the name of the file. Am I right? Thanks, MA ___________________________________________________________ Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Linux-ima-user mailing list Lin...@li... https://lists.sourceforge.net/lists/listinfo/linux-ima-user |