[uClibc-cvs] CVS update of uClibc/libc/misc/internals (__uClibc_main.c)

Erik Andersen andersen at codepoet.org
Mon Aug 16 19:22:52 UTC 2004


    Date: Monday, August 16, 2004 @ 13:22:52
  Author: andersen
    Path: /var/cvs/uClibc/libc/misc/internals

Modified: __uClibc_main.c (1.39 -> 1.40)

Be a bit more prominant about the fact that setuid handling
is not quite there...


Index: uClibc/libc/misc/internals/__uClibc_main.c
diff -u uClibc/libc/misc/internals/__uClibc_main.c:1.39 uClibc/libc/misc/internals/__uClibc_main.c:1.40
--- uClibc/libc/misc/internals/__uClibc_main.c:1.39	Mon Aug 16 13:21:42 2004
+++ uClibc/libc/misc/internals/__uClibc_main.c	Mon Aug 16 13:22:52 2004
@@ -47,13 +47,17 @@
  * environ symbol is also included.
  */
 
-extern int _dl_secure;
 size_t __pagesize = 0;
-
 char **__environ = 0;
 const char *__progname = 0;
 weak_alias(__environ, environ);
 
+/* FIXME */
+#if 0
+extern int _dl_secure;
+int __secure = 0;
+weak_alias(__secure, _dl_secure);
+#endif
 
 
 /* __uClibc_init completely initialize uClibc so it is ready to use.
@@ -86,12 +90,13 @@
 	__pthread_initialize_minimal();
 #endif
 
+    /* FIXME */
 #if 0
     /* Some security at this point.  Prevent starting a SUID binary
      * where the standard file descriptors are not opened.  We have
      * to do this only for statically linked applications since
      * otherwise the dynamic loader did the work already.  */
-    if (unlikely (__libc_enable_secure!=NULL))
+    if (unlikely (__secure!=NULL))
 	__libc_check_standard_fds ();
 #endif
 



More information about the uClibc-cvs mailing list