[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [RFC] linux-2.6.10-auditfs-tc1.patch



Hello,

Just a note.  I've detected a rather careless bug.  When I switched
audit_watch from a void function to return an integer, the only case
where I'd get anything other then return of 0 would be if I failed on
memory allocation for a new inode->i_audit.  However, this -ENOMEM was
not being handled because it can not be escalated.  This being the
case, I'm having to rework the system and create a preallocation
stradegy that guarantees when I'm in audit_watch, I'll have the
necessary memory.  This also allows me to handle the -ENOMEM case,
just at an earlier point.

I hope to have this done by today, RCU locking tonight or tommorow.

-- 
- Timothy R. Chavez


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]