Re: [PATCH] LSM hooks for audit

From: Serge E. Hallyn (hallyn@private)
Date: Wed Sep 15 2004 - 12:31:42 PDT


> Sorry, I wasn't thinking in my initial response.  These operations are
> exported via netlink, which is async, right?  Hence, permission checks

I was wondering about that.  Based on the original code I assumed that
it was synchronous.

Taking a second look at net/netlink, I guess not.

Is there any reason why we can't find the task belonging to
NETLINK_CREDS(skb)->pid and send that along to the security_* hooks?

thanks,
-serge



This archive was generated by hypermail 2.1.3 : Wed Sep 15 2004 - 12:33:10 PDT