Hello,
I have a question concerning "struct sysctl_oid"s initial value for
oid_refcnt. Why is oid_refcnt set to 0 with the SYSCTL_OID macro
but to 1 if created with sysctl_add_oid()?
And another question: Is it guaranteed that all sysctls from a
modules "sysctl_set" (obtained with 'sysctls = (struct linker_set*)
linker_file_lookup_symbol(lf, "sysctl_set", 0);' in kern_linker.c)
are initialized with "oid_refcnt==0"?

thanks in advance

Martin

-- 
"At the beginning of the week, we sealed ten BSD programmers into a
 computer room with a single distribution of BSD Unix. Upon opening
 the room after seven days, we found all ten programmers dead,
 clutching each others throats, and thirteen new flavors of BSD."

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to