setusercontext() came into the 2.2 branch just before 2.2.2-release.
This commit is contained in:
parent
5818966ae4
commit
7649db8638
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31091
@ -759,12 +759,12 @@ typedef int pid_t;
|
||||
# if defined(__FreeBSD__)
|
||||
# undef SPT_TYPE
|
||||
# if __FreeBSD__ >= 2
|
||||
# include <osreldate.h> /* and this works */
|
||||
# if __FreeBSD_version >= 199512 /* 2.2-current right now */
|
||||
# include <osreldate.h>
|
||||
# if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */
|
||||
# include <libutil.h>
|
||||
# define SPT_TYPE SPT_BUILTIN
|
||||
# endif
|
||||
# if __FreeBSD_version >= 300000 /* 3.0-current right now */
|
||||
# if __FreeBSD_version >= 222000 /* 2.2.2-release and later */
|
||||
# include <login_cap.h>
|
||||
# define HASSETUSERCONTEXT 1 /* BSDI-style login classes */
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user