On (03/06/08 11:26), Garrett D'Amore wrote:
>> If the concern is around the lack of error reporting, the synopsis
>> of mac_register_priv_prop can be changed to return an int, with 0
>> return status indicating success, and EEXIST indicating that the
>> registered name is a duplicate.   
>
> Probably not of much value, IMO.  (We need to be trying to wean  
> developers off of private properties and ndd, and if I can avoid having  
> to have error checks in the driver, it will make for  
> shorter/cleaner/simpler code in the driver -- that's a good thing IMO.)   

I could not agree more.

> I'd like to ensure that the "names" passed to mac_register_priv_prop  
> also start with an underscore.

And have mac_ndd shim strip out (or add in) the "_" prefix to retain
compatibility with existing snv output  (or input) for the same command? 

--Sowmini



Reply via email to