Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Dec 2002 12:46:12 +0900
From:      JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp>
To:        Juan Francisco Rodriguez Hervella <jrh@it.uc3m.es>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Sysctl and root privileges, how could I avoid them ?
Message-ID:  <y7vu1hqv6d7.wl@ocean.jinmei.org>
In-Reply-To: <3DEB248E.9333E90@it.uc3m.es>
References:  <3DE7A145.18986834@it.uc3m.es> <y7vfztijs5g.wl@ocean.jinmei.org> <3DEB248E.9333E90@it.uc3m.es>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Mon, 02 Dec 2002 10:14:54 +0100, 
>>>>> Juan Francisco Rodriguez Hervella <jrh@it.uc3m.es> said:

> Are you talking about the flag CTLFLAG_RW ? I'm using req->oldptr ==
> NULL and
req-> newptr != NULL to add a new element into a kernel table.... and I
> plan
> to use req->oldptr & req->newptr != NULL to show the elements of the
> table...

If you just want to show (get) the elements, you don't have to have a
non NULL newptr.  Then the root privilege won't be required.

					JINMEI, Tatuya
					Communication Platform Lab.
					Corporate R&D Center, Toshiba Corp.
					jinmei@isl.rdc.toshiba.co.jp

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y7vu1hqv6d7.wl>