<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-08-03)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-03 Joel Sherrill <joel.sherrill@oarcorp.com>

        PR 1649/cpukit
        * libcsupport/Makefile.am, libcsupport/src/getgid.c: Make sure all get
        and set gid and egid routines are present and in their own files.
        * libcsupport/src/setegid.c, libcsupport/src/setgid.c: New files.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2546&r2=text&tr2=1.2547&diff_format=h">M</a></td><td width='1%'>1.2547</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/Makefile.am.diff?r1=text&tr1=1.129&r2=text&tr2=1.130&diff_format=h">M</a></td><td width='1%'>1.130</td><td width='100%'>cpukit/libcsupport/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/getgid.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libcsupport/src/getgid.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/setegid.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/libcsupport/src/setegid.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/setgid.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/libcsupport/src/setgid.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2546 rtems/cpukit/ChangeLog:1.2547
--- rtems/cpukit/ChangeLog:1.2546       Tue Aug  3 10:44:05 2010
+++ rtems/cpukit/ChangeLog      Tue Aug  3 10:46:51 2010
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2010-08-03    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       PR 1649/cpukit
+       * libcsupport/Makefile.am, libcsupport/src/getgid.c: Make sure all get
+       and set gid and egid routines are present and in their own files.
+       * libcsupport/src/setegid.c, libcsupport/src/setgid.c: New files.
+
</font> 2010-08-03        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * configure.ac: Apply RTEMS_CHECK_FUNC for set/get*id family of

<font color='#006600'>diff -u rtems/cpukit/libcsupport/Makefile.am:1.129 rtems/cpukit/libcsupport/Makefile.am:1.130
--- rtems/cpukit/libcsupport/Makefile.am:1.129  Mon Aug  2 13:10:10 2010
+++ rtems/cpukit/libcsupport/Makefile.am        Tue Aug  3 10:46:51 2010
</font><font color='#997700'>@@ -85,7 +85,8 @@
</font> 
 ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
     src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
<font color='#880000'>-    src/setuid.c src/seteuid.c src/setpgid.c src/setsid.c
</font><font color='#000088'>+    src/seteuid.c src/setgid.c src/setuid.c src/seteuid.c src/setpgid.c \
+    src/setsid.c
</font> 
 MALLOC_C_FILES = src/malloc_initialize.c src/calloc.c src/malloc.c \
     src/realloc.c src/_calloc_r.c src/_malloc_r.c \

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/getgid.c:1.2 rtems/cpukit/libcsupport/src/getgid.c:1.3
--- rtems/cpukit/libcsupport/src/getgid.c:1.2   Sun Apr 18 01:05:34 2004
+++ rtems/cpukit/libcsupport/src/getgid.c       Tue Aug  3 10:46:52 2010
</font><font color='#997700'>@@ -6,42 +6,13 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <string.h>
-#include <sys/types.h>
-
-#include <rtems/system.h>
-#include <rtems/score/object.h>
-#include <rtems/seterr.h>
-
</font> #include <rtems/userenv.h>
 
 /*
<font color='#880000'>- * MACRO in userenv.h
- *
-gid_t _POSIX_types_Gid = 0;
-*/
-
-/*PAGE
- *
</font>  *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
  *        P1003.1b-1993, p. 84
  */
<font color='#880000'>-
</font> gid_t getgid( void )
 {
   return _POSIX_types_Gid;
 }
<font color='#880000'>-
-/*PAGE
- *
- *  4.2.2 Set User and Group IDs, P1003.1b-1993, p. 84
- */
-
-int setgid(
-  gid_t  gid
-)
-{
-  _POSIX_types_Gid = gid;
-  return 0;
-}
</font>
<font color='#006600'>diff -u /dev/null rtems/cpukit/libcsupport/src/setegid.c:1.1
--- /dev/null   Tue Aug  3 11:10:25 2010
+++ rtems/cpukit/libcsupport/src/setegid.c      Tue Aug  3 10:46:52 2010
</font><font color='#997700'>@@ -0,0 +1,28 @@
</font><font color='#000088'>+/*
+ *  $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <limits.h>
+#include <string.h>
+#include <sys/types.h>
+
+#include <rtems/system.h>
+#include <rtems/score/object.h>
+#include <rtems/seterr.h>
+#include <rtems/userenv.h>
+
+/*
+ *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
+ *        P1003.1b-1993, p. 84
+ */
+int setegid(
+  gid_t  gid
+)
+{
+  _POSIX_types_Egid = gid;
+  return 0;
+}
</font>
<font color='#006600'>diff -u /dev/null rtems/cpukit/libcsupport/src/setgid.c:1.1
--- /dev/null   Tue Aug  3 11:10:26 2010
+++ rtems/cpukit/libcsupport/src/setgid.c       Tue Aug  3 10:46:52 2010
</font><font color='#997700'>@@ -0,0 +1,21 @@
</font><font color='#000088'>+/*
+ *  $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems/userenv.h>
+
+/*
+ *
+ *  4.2.2 Set User and Group IDs, P1003.1b-1993, p. 84
+ */
+int setgid(
+  gid_t  gid
+)
+{
+  _POSIX_types_Gid = gid;
+  return 0;
+}
</font></pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-03 Ralf Corsépius <ralf.corsepius@rtems.org>

        * aclocal/check-func.m4: New.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2544&r2=text&tr2=1.2545&diff_format=h">M</a></td><td width='1%'>1.2545</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/aclocal/check-func.m4?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/aclocal/check-func.m4</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2544 rtems/cpukit/ChangeLog:1.2545
--- rtems/cpukit/ChangeLog:1.2544       Tue Aug  3 00:29:11 2010
+++ rtems/cpukit/ChangeLog      Tue Aug  3 10:42:43 2010
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2010-08-03        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * aclocal/check-func.m4: New.
+
+2010-08-03     Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font>   * configure.ac: Add checks for [get|set][e][uid,gid] family of
        functions.
 

<font color='#006600'>diff -u /dev/null rtems/cpukit/aclocal/check-func.m4:1.1
--- /dev/null   Tue Aug  3 11:10:26 2010
+++ rtems/cpukit/aclocal/check-func.m4  Tue Aug  3 10:42:44 2010
</font><font color='#997700'>@@ -0,0 +1,24 @@
</font><font color='#000088'>+# $Id$
+
+# Check whether FUNCTION is declared in INCLUDES
+# and whether rtems_stub_FUNCTION or FUNCTION is supplied.
+
+# RTEMS_CHECK_FUNC(FUNCTION[,INCLUDES])
+AC_DEFUN([RTEMS_CHECK_FUNC],
+[AC_REQUIRE([RTEMS_CHECK_NEWLIB])
+AC_CHECK_DECLS([$1],
+[
+  AC_CACHE_CHECK([for $1],[ac_cv_$1],[
+    AC_LINK_IFELSE(
+      [AC_LANG_PROGRAM([[$2]],[[rtems_stub_$1()]])],
+      [ac_cv_$1="stub"],
+      [AC_LINK_IFELSE(
+        [AC_LANG_PROGRAM([[$2]],[[$1()]])],
+        [ac_cv_$1="yes"],
+        [ac_cv_$1="no"])
+      ])
+    ])
+  ])
+AS_IF([test "$ac_cv_$1" = yes],
+  [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_]$1),[1],[Define to 1 if you have the `$1' function.])])
+])
</font></pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-03 Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.ac: Apply RTEMS_CHECK_FUNC for set/get*id family of
        functions. Extend set/get*id family of checks.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2545&r2=text&tr2=1.2546&diff_format=h">M</a></td><td width='1%'>1.2546</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/configure.ac.diff?r1=text&tr1=1.190&r2=text&tr2=1.191&diff_format=h">M</a></td><td width='1%'>1.191</td><td width='100%'>cpukit/configure.ac</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2545 rtems/cpukit/ChangeLog:1.2546
--- rtems/cpukit/ChangeLog:1.2545       Tue Aug  3 10:42:43 2010
+++ rtems/cpukit/ChangeLog      Tue Aug  3 10:44:05 2010
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2010-08-03        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * configure.ac: Apply RTEMS_CHECK_FUNC for set/get*id family of
+       functions. Extend set/get*id family of checks.
</font>   * aclocal/check-func.m4: New.
 
 2010-08-03     Ralf Corsépius <ralf.corsepius@rtems.org>

<font color='#006600'>diff -u rtems/cpukit/configure.ac:1.190 rtems/cpukit/configure.ac:1.191
--- rtems/cpukit/configure.ac:1.190     Tue Aug  3 00:29:16 2010
+++ rtems/cpukit/configure.ac   Tue Aug  3 10:44:05 2010
</font><font color='#997700'>@@ -61,15 +61,22 @@
</font> AC_CHECK_DECLS([funlockfile],[AC_CHECK_FUNCS([funlockfile])],,[#include <stdio.h>])
 AC_CHECK_DECLS([ftrylockfile],[AC_CHECK_FUNCS([ftrylockfile])],,[#include <stdio.h>])
 
<font color='#880000'>-# Mandated by POSIX, decls not present in some versions of newlib
-AC_CHECK_DECLS([seteuid],[AC_CHECK_FUNCS([seteuid])],,[#include <unistd.h>])
-AC_CHECK_DECLS([setegid],[AC_CHECK_FUNCS([setegid])],,[#include <unistd.h>])
-AC_CHECK_DECLS([setuid],[AC_CHECK_FUNCS([setuid])],,[#include <unistd.h>])
-AC_CHECK_DECLS([setgid],[AC_CHECK_FUNCS([setgid])],,[#include <unistd.h>])
-AC_CHECK_DECLS([geteuid],[AC_CHECK_FUNCS([geteuid])],,[#include <unistd.h>])
-AC_CHECK_DECLS([getegid],[AC_CHECK_FUNCS([getegid])],,[#include <unistd.h>])
-AC_CHECK_DECLS([getuid],[AC_CHECK_FUNCS([getuid])],,[#include <unistd.h>])
-AC_CHECK_DECLS([getgid],[AC_CHECK_FUNCS([getgid])],,[#include <unistd.h>])
</font><font color='#000088'>+# Mandated by POSIX, decls not present in some versions of newlib,
+# some versions stubbed in newlib's rtems crt0
+RTEMS_CHECK_FUNC([seteuid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([geteuid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([setegid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([getegid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([setuid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([getuid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([setgid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([getgid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([setsid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([getsid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([setpgid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([getpgid],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([setpgrp],[#include <unistd.h>])
+RTEMS_CHECK_FUNC([getpgrp],[#include <unistd.h>])
</font> 
 # Newlib's unix/ directory
 AC_CHECK_FUNCS([ttyname getcwd])
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Remove redundant includes.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/getegid.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>cpukit/libcsupport/src/getegid.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/geteuid.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libcsupport/src/geteuid.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/getpid.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>cpukit/libcsupport/src/getpid.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/getppid.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libcsupport/src/getppid.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/getuid.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>cpukit/libcsupport/src/getuid.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/setegid.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/libcsupport/src/setegid.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/seteuid.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/libcsupport/src/seteuid.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/setsid.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libcsupport/src/setsid.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/setuid.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/libcsupport/src/setuid.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/getegid.c:1.4 rtems/cpukit/libcsupport/src/getegid.c:1.5
--- rtems/cpukit/libcsupport/src/getegid.c:1.4  Thu Jul  1 10:37:48 2010
+++ rtems/cpukit/libcsupport/src/getegid.c      Tue Aug  3 10:56:25 2010
</font><font color='#997700'>@@ -6,9 +6,7 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <string.h>
-#include <sys/types.h>
</font><font color='#000088'>+#include <unistd.h>
</font> 
 #include <rtems/system.h>
 #include <rtems/score/object.h>

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/geteuid.c:1.2 rtems/cpukit/libcsupport/src/geteuid.c:1.3
--- rtems/cpukit/libcsupport/src/geteuid.c:1.2  Sun Apr 18 01:05:34 2004
+++ rtems/cpukit/libcsupport/src/geteuid.c      Tue Aug  3 10:56:25 2010
</font><font color='#997700'>@@ -6,9 +6,7 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <string.h>
-#include <sys/types.h>
</font><font color='#000088'>+#include <unistd.h>
</font> 
 #include <rtems/system.h>
 #include <rtems/score/object.h>

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/getpid.c:1.4 rtems/cpukit/libcsupport/src/getpid.c:1.5
--- rtems/cpukit/libcsupport/src/getpid.c:1.4   Wed Sep 30 03:20:32 2009
+++ rtems/cpukit/libcsupport/src/getpid.c       Tue Aug  3 10:56:25 2010
</font><font color='#997700'>@@ -6,10 +6,7 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <errno.h>
-#include <string.h>
-#include <sys/types.h>
</font><font color='#000088'>+#include <unistd.h>
</font> 
 #include <rtems/system.h>
 #include <rtems/score/object.h>

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/getppid.c:1.2 rtems/cpukit/libcsupport/src/getppid.c:1.3
--- rtems/cpukit/libcsupport/src/getppid.c:1.2  Thu Apr 15 08:24:45 2004
+++ rtems/cpukit/libcsupport/src/getppid.c      Tue Aug  3 10:56:25 2010
</font><font color='#997700'>@@ -6,10 +6,7 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <errno.h>
-#include <string.h>
-#include <sys/types.h>
</font><font color='#000088'>+#include <unistd.h>
</font> 
 #include <rtems/system.h>
 #include <rtems/score/object.h>

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/getuid.c:1.3 rtems/cpukit/libcsupport/src/getuid.c:1.4
--- rtems/cpukit/libcsupport/src/getuid.c:1.3   Mon Aug  2 13:08:02 2010
+++ rtems/cpukit/libcsupport/src/getuid.c       Tue Aug  3 10:56:25 2010
</font><font color='#997700'>@@ -13,9 +13,7 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <string.h>
-#include <sys/types.h>
</font><font color='#000088'>+#include <unistd.h>
</font> 
 #include <rtems/userenv.h>
 

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/setegid.c:1.1 rtems/cpukit/libcsupport/src/setegid.c:1.2
--- rtems/cpukit/libcsupport/src/setegid.c:1.1  Tue Aug  3 10:46:52 2010
+++ rtems/cpukit/libcsupport/src/setegid.c      Tue Aug  3 10:56:25 2010
</font><font color='#997700'>@@ -6,9 +6,7 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <string.h>
-#include <sys/types.h>
</font><font color='#000088'>+#include <unistd.h>
</font> 
 #include <rtems/system.h>
 #include <rtems/score/object.h>

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/seteuid.c:1.1 rtems/cpukit/libcsupport/src/seteuid.c:1.2
--- rtems/cpukit/libcsupport/src/seteuid.c:1.1  Mon Aug  2 13:08:02 2010
+++ rtems/cpukit/libcsupport/src/seteuid.c      Tue Aug  3 10:56:25 2010
</font><font color='#997700'>@@ -13,9 +13,7 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <string.h>
-#include <sys/types.h>
</font><font color='#000088'>+#include <unistd.h>
</font> 
 #include <rtems/userenv.h>
 

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/setsid.c:1.2 rtems/cpukit/libcsupport/src/setsid.c:1.3
--- rtems/cpukit/libcsupport/src/setsid.c:1.2   Thu Apr 15 08:24:45 2004
+++ rtems/cpukit/libcsupport/src/setsid.c       Tue Aug  3 10:56:25 2010
</font><font color='#997700'>@@ -6,13 +6,8 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <errno.h>
-#include <string.h>
-#include <sys/types.h>
</font><font color='#000088'>+#include <unistd.h>
</font> 
<font color='#880000'>-#include <rtems/system.h>
-#include <rtems/score/object.h>
</font> #include <rtems/seterr.h>
 
 /*PAGE

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/setuid.c:1.1 rtems/cpukit/libcsupport/src/setuid.c:1.2
--- rtems/cpukit/libcsupport/src/setuid.c:1.1   Mon Aug  2 13:08:02 2010
+++ rtems/cpukit/libcsupport/src/setuid.c       Tue Aug  3 10:56:25 2010
</font><font color='#997700'>@@ -13,9 +13,7 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#include <limits.h>
-#include <string.h>
-#include <sys/types.h>
</font><font color='#000088'>+#include <unistd.h>
</font> 
 #include <rtems/userenv.h>
 
</pre>
<p> </p>
<a name='cs5'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-03 Ralf Corsépius <ralf.corsepius@rtems.org>

        * libcsupport/src/getegid.c, libcsupport/src/geteuid.c,
        libcsupport/src/getpid.c, libcsupport/src/getppid.c,
        libcsupport/src/getuid.c, libcsupport/src/setegid.c,
        libcsupport/src/seteuid.c, libcsupport/src/setsid.c
        libcsupport/src/setuid.c: Remove redundant includes.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2547&r2=text&tr2=1.2548&diff_format=h">M</a></td><td width='1%'>1.2548</td><td width='100%'>cpukit/ChangeLog</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2547 rtems/cpukit/ChangeLog:1.2548
--- rtems/cpukit/ChangeLog:1.2547       Tue Aug  3 10:46:51 2010
+++ rtems/cpukit/ChangeLog      Tue Aug  3 10:56:36 2010
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2010-08-03    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * libcsupport/src/getegid.c, libcsupport/src/geteuid.c,
+       libcsupport/src/getpid.c, libcsupport/src/getppid.c,
+       libcsupport/src/getuid.c, libcsupport/src/setegid.c,
+       libcsupport/src/seteuid.c, libcsupport/src/setsid.c
+       libcsupport/src/setuid.c: Remove redundant includes.
+
</font> 2010-08-03        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        PR 1649/cpukit
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>