mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
Copy original revs 1.19,1.15 - setusercontext() support and __FreeBSD__>=2
Copy original revs 1.9,1.8,1.7 - set PS_STRINGS correctly.
This commit is contained in:
parent
4ec6f1f332
commit
663f78a4e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38079
@ -814,12 +814,15 @@ typedef int pid_t;
|
||||
# endif
|
||||
# if defined(__FreeBSD__)
|
||||
# undef SPT_TYPE
|
||||
# if __FreeBSD__ == 2
|
||||
# include <osreldate.h> /* and this works */
|
||||
# if __FreeBSD_version >= 199512 /* 2.2-current right now */
|
||||
# if __FreeBSD__ >= 2
|
||||
# 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 >= 222000 /* 2.2.2-release and later */
|
||||
# define HASSETUSERCONTEXT 1 /* BSDI-style login classes */
|
||||
# endif
|
||||
# endif
|
||||
# ifndef SPT_TYPE
|
||||
# define SPT_TYPE SPT_REUSEARGV
|
||||
|
Loading…
Reference in New Issue
Block a user