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).

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.


- James
-- 
James Morris
<[EMAIL PROTECTED]>
-
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