Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gen/getprogname.3,v retrieving revision 1.6 retrieving revision 1.7 diff -u -p -r1.6 -r1.7 --- src/lib/libc/gen/getprogname.3 2003/07/26 19:24:42 1.6 +++ src/lib/libc/gen/getprogname.3 2008/03/29 16:51:40 1.7 @@ -1,4 +1,4 @@ -.\" $NetBSD: getprogname.3,v 1.6 2003/07/26 19:24:42 salo Exp $ +.\" $NetBSD: getprogname.3,v 1.7 2008/03/29 16:51:40 dholland Exp $ .\" .\" Copyright (c) 2001 Christopher G. Demetriou .\" All rights reserved. @@ -32,7 +32,7 @@ .\" .\" <> .\" -.Dd February 11, 2001 +.Dd March 29, 2008 .Dt GETPROGNAME 3 .Os .Sh NAME @@ -109,3 +109,8 @@ and .Nm setprogname function calls appeared in .Nx 1.6 . +.Sh RESTRICTIONS +The string returned by +.Fn getprogname +is supplied by the invoking process and should not be trusted by +setuid or setgid programs.