On 6/17/06, James Morris <[EMAIL PROTECTED]> wrote:
On Fri, 16 Jun 2006, Stephen Hemminger wrote:

> This is so short, it would make sense to put it in scm.h
> and why not have it return the value instead of call by reference?
> Same goes for selinux_get_inode_sid

Actually, all of the SELinux API functions are like this, and I'm not sure
why for void return methods (it's a good idea when they return errnos).


Yes, the reason I used void return method is consistency with the
remaining SELinux API functions.

Once this area has settled down (post 2.6.18), I'm planning to do some
cleanups for this API anyway, and can fix these all at the same time.


OK.

Thanks,
Catherine
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to