[PATCH] include/paths.h comments about users

<[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
diff --git a/include/paths.h b/include/paths.h
index 5efd2328cb74..df6d4bc0a00f 100644
--- a/include/paths.h
+++ b/include/paths.h
@@ -37,7 +37,7 @@
 /*
  * Default user search path.
  * Set by login(1), rshd(8), rexecd(8)
- * Used by execvp(3) absent PATH from the environ(7)
+ * Used by execvp(3) and posix_spawnp(3) absent PATH from the environ(7)
  */
 #ifdef RESCUEDIR
 #define	_PATH_DEFPATH	RESCUEDIR ":/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin"
@@ -49,6 +49,7 @@
  * All standard utilities path.
  * Set by init(8) for system programs & scripts (e.g. /etc/rc)
  * Used by ttyaction(3), whereis(1)
+ * Used as default value by sysctl(8) for user.cs_path
  */
 #define	_PATH_STDPATH \
 	"/usr/bin:/bin:/usr/sbin:/sbin:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin:/usr/local/sbin"
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.