Changeset 3677


Ignore:
Timestamp:
Mar 14, 2011, 6:51:00 PM (14 years ago)
Author:
bird
Message:

0.6: b_processCredentials.c: fixed copy and past bugs in the two group setting functions; were setting the UIDs instead of the GIDs. References #202.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/src/lib/sys/b_processCredentials.c

    r2254 r3677  
    136136{
    137137    LIBCLOG_ENTER("gid=%d (%#x)\n", gid, gid);
    138     int rc = __libc_spmSetUid(gid);
     138    int rc = __libc_spmSetGid(gid);
    139139    if (!rc)
    140140        LIBCLOG_RETURN_INT(rc);
     
    156156{
    157157    LIBCLOG_ENTER("rgid=%d (%#x) egid=%d (%#x) svgid=%d (%#x)\n", rgid, rgid, egid, egid, svgid, svgid);
    158     int rc = __libc_spmSetUidAll(rgid, egid, svgid);
     158    int rc = __libc_spmSetGidAll(rgid, egid, svgid);
    159159    if (!rc)
    160160        LIBCLOG_RETURN_INT(rc);
Note: See TracChangeset for help on using the changeset viewer.