m...@freebsd.org wrote: > I thought CTLFLAG_TUN was only used to provide a more useful error > message when writing to a read-only sysctl? I think the CTLFLAG_TUN > should not be here for a RW sysctl.
Yes, that's the only use for CTLFLAG_TUN _now_. Perhaps in the future there could be other uses, such as a flag to sysctl to list names which are also tunables. Or some other creative use. sysctl(9) says: CTLFLAG_TUN Also declare a system tunable with the same name to ini‐ tialize this variable. While the above is not true or very ambiguous at the very least, I still don't see any reason not to use the flag in this case. -- Andriy Gapon _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"