Darren J Moffat wrote:
>But it is:
>
>usr/src/lib/libcontract/common/libcontract.c#200
>
>makes an ioctl call and we end up in:
>
usr/src/uts/common/fs/ctfs/ctfs_ctl.c#208
>
>208 case CT_CNEWCT:
>209 error = contract_newct(ct);
>210 break;
>
>usr/src/uts/common/os/contract.c#contract_newct
>
>582 contract_newct(contract_t *ct)
>583 {
>584 return (ct->ct_type->ct_type_ops->contop_newct(ct));
>585 }

Currently I’m working on solaris 5.11 release snv_47 and snv_54.
In this version the device contract in not implement, so I am talking about 
process contract.
In think there is version mismatch between yours and my.  
In usr/src/uts/common/fs/ctfs/ctfs_ctl.c
169  case CT_CNEWCT:
169  break;
170
171   case CT_CQREQ:
172   break;

That looks its not implemented and always return zero because in line
154     int   error = 0;
and function ctfs_ctl_ioctl() of usr/src/uts/common/fs/ctfs/ctfs_ctl.c return 
“error”
182     return (error);


So kindly tells me that ct_ctl_newct() and ct_ctl_qack() are implement or not 
in solaris 5.11 release snv_47 and snv_54 for contract process.

Reagards
Sushant
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to