A patch for libresolv

Geoff Keating geoffk@ozemail.com.au
Mon Oct 11 17:37:00 GMT 1999


> Date: Mon, 11 Oct 1999 17:26:42 -0700 (PDT)
> Cc: libc-hacker@sourceware.cygnus.com (GNU C Library)
> From: hjl@valinux.com (H.J. Lu)

> They are off by default. You have to turn them on by hand in
> /etc/resolv.conf or via an environment variable. They are a few
> sites on the Internet which rerquires them. I'd like to be able
> to do
> 
> # RES_OPTS=insecure2 foobar
> 
> What is the problem with that? Are you suggesting we should check
> 
> # rm -rf /dev
> 
> now?

So your proposed patch checks for getuid() == 0?

-- 
Geoffrey Keating <geoffk@cygnus.com>


More information about the Libc-hacker mailing list