Date: Sun, 02 Aug 1998 00:09:21 -0500 From: Jacques Vidrine <n@nectar.com> To: hackers@FreeBSD.ORG Subject: Another sysctl question Message-ID: <E0z2qOX-0000GC-00@spawn.nectar.com>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- kern_sysctl.c is not easy to follow for me ... How can I tell inside a sysctl handler whether or not I've been invoked from userland via a system call or from some other part of the kernel? I want to muck about with what sysctl_kern_proc does when called ultimately from a user process, based on some info in the proc structure. At least the code in kern_proc.c has been a good enough example for me to figure out my previous sysctl question ;-) Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNcP0gTeRhT8JRySpAQF0ogP/SyibaVhXqSzotRr1DAwsfCasnoUnGqeP DcvOmmsfPMYvWOOBPAXxLKXBXCc1awZV6XT9Zo28jMhsUGZM5PCngdrCExJv3ltW VSA5iUvJutAi78tY/stZ0I34zHhqEZKFX3ASb6Le9Cd9dvt3t+en7HJA335eYzO0 wncat2X05bs= =WbBW -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0z2qOX-0000GC-00>