Rework of the XC-SECURITY extension. The gen-auth protocol has not changed,
but the XC-QUERY-SECURITY-1 authorization method and the SecurityPolicy configuration file have been removed. The semantics of the trusted vs. untrusted split have been changed. This will be documented in a future commit.
This commit is contained in:
parent
a52c9b2a59
commit
8b5d21cc1d
1350
Xext/security.c
1350
Xext/security.c
File diff suppressed because it is too large
Load Diff
|
@ -77,11 +77,7 @@ typedef struct {
|
|||
Bool valid; /* did anyone recognize it? if so, set to TRUE */
|
||||
} SecurityValidateGroupInfoRec;
|
||||
|
||||
extern int XSecurityOptions(int argc, char **argv, int i);
|
||||
|
||||
/* Give this value or higher to the -audit option to get security messages */
|
||||
#define SECURITY_AUDIT_LEVEL 4
|
||||
|
||||
#define SECURITY_POLICY_FILE_VERSION "version-1"
|
||||
|
||||
#endif /* _SECURITY_SRV_H */
|
||||
|
|
12
os/utils.c
12
os/utils.c
|
@ -123,9 +123,6 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#ifdef XKB
|
||||
#include <xkbsrv.h>
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
#include "securitysrv.h"
|
||||
#endif
|
||||
|
||||
#ifdef RENDER
|
||||
#include "picture.h"
|
||||
|
@ -621,9 +618,6 @@ void UseMsg(void)
|
|||
ErrorF("-render [default|mono|gray|color] set render color alloc policy\n");
|
||||
#endif
|
||||
ErrorF("-s # screen-saver timeout (minutes)\n");
|
||||
#ifdef XCSECURITY
|
||||
ErrorF("-sp file security policy file\n");
|
||||
#endif
|
||||
#ifdef XPRINT
|
||||
PrinterUseMsg();
|
||||
#endif
|
||||
|
@ -1040,12 +1034,6 @@ ProcessCommandLine(int argc, char *argv[])
|
|||
i = skip - 1;
|
||||
}
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
else if ((skip = XSecurityOptions(argc, argv, i)) != i)
|
||||
{
|
||||
i = skip - 1;
|
||||
}
|
||||
#endif
|
||||
#ifdef AIXV3
|
||||
else if ( strcmp( argv[i], "-timeout") == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue