include/login_cap.h: merged

Change-Id: Ic1e5189a89a1dae2a06b182a4af6a65a75c7e2ce
This commit is contained in:
Lionel Sambuc 2013-12-02 17:40:57 +01:00
parent 42d7eda0cc
commit 78a74622be
2 changed files with 0 additions and 5 deletions

View File

@ -43,9 +43,7 @@
#define _PATH_LOGIN_CONF "/etc/login.conf"
#define LOGIN_OSETGROUP 0x0001 /* Obsolete setgroup */
#ifndef __minix
#define LOGIN_SETLOGIN 0x0002 /* Set login */
#endif
#define LOGIN_SETPATH 0x0004 /* Set path */
#define LOGIN_SETPRIORITY 0x0008 /* Set priority */
#define LOGIN_SETRESOURCES 0x0010 /* Set resource limits */

View File

@ -575,9 +575,6 @@ setusercontext(login_cap_t *lc, struct passwd *pwd, uid_t uid, u_int flags)
if (!lc)
flc = lc = login_getclass(pwd ? pwd->pw_class : NULL);
#ifdef __minix
#define LOGIN_SETLOGIN 0
#endif
/*
* Without the pwd entry being passed we cannot set either