Changeset 4c07461 in code for icbd.c


Ignore:
Timestamp:
Aug 24, 2017, 5:45:05 PM (8 years ago)
Author:
Mike Belopuhov <mike@…>
Branches:
master
Children:
094a76c
Parents:
c6e00b9
Message:

setusercontext(3) conflicts with rc.d framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icbd.c

    rc6e00b9 r4c07461  
    3434#include <syslog.h>
    3535#include <pwd.h>
    36 #include <login_cap.h>
    3736#include <locale.h>
    3837#include <ctype.h>
     
    473472        }
    474473
    475         if (setusercontext(NULL, pw, pw->pw_uid,
    476             LOGIN_SETALL & ~LOGIN_SETUSER) < 0)
    477                 exit(EX_NOPERM);
    478 
    479474        if (stat(pw->pw_dir, &sb) == -1) {
    480475                syslog(LOG_ERR, "%s: %m", pw->pw_name);
Note: See TracChangeset for help on using the changeset viewer.