site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi, Any help is appreciated, Thanks, Matt _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I have defined my own sysctl variables in my NKE , and they are working great and everything, but I would like a non-root application to be able to set my variables, but it is not letting me even though I am doing this: SYSCTL_STRUCT(_kern, OID_AUTO, jaffaethernode, CTLFLAG_RW|CTLFLAG_ANYBODY, &somo2, EtherNode, "EtherNode"); I thought that setting the flag to CTLFLAG_ANYBODY would allow anyone to be able to set this structure no matter if it is a root app or regular user app. Is it because I am branching off of _kern that it will only allow a root app to set my structure. And if is this way, must I branch off of something else like _user to allow me to modify it with a non-root app. I have tried to tie my structure to the _user branch, but it doesn't register it with _user so that when I do sysctlbyname it returns ENOENT = 2. So that is why I am sticking with _kern, but would really like it if a non-root app can modify my variable jaffaethernode. This email sent to site_archiver@lists.apple.com