Chris wrote: > Are you using the bprm security checks? You should be able to get the >parent inode info from: >bprm->file->f_dentry->d_parent->d_inode >The inode has i_mode, i_uid, i_gid fields which sounds like all you >need. >Hope that helps, >-chris Yeah. I think that'll probably be the best way. I was using bprm->file->.. etc, to get the parent file name for sys_newstat within the binprm_set_security function. It will have to change the TPE structure as a result (I'll have to add a "few" more calls), so I was just hoping to find that short cut. Just being a lazy programmer. :-) Thanks so much for all your help. I'll let you all know how it comes along. Thanks, Niki _______________________________________________ linux-security-module mailing list linux-security-moduleat_private http://mail.wirex.com/mailman/listinfo/linux-security-module
This archive was generated by hypermail 2b30 : Wed Jun 05 2002 - 15:35:35 PDT