cdesktopenv/cde/programs/dtsession
Jon Trulson 20cad57cd4 dtsession: fix screen saver/locking on linux
The POSIX __linux__ commit broke the special detection on linux used
to determine whether a secure system was in use or not.

This commit reworks the logic a little bit to avoid special casing
linux in main().

It also reworks the logic in CanReAuthenticate() to fix up some issues
"fixed" to correct converity warnings.  The logic in this case was
mostly ok, but still didn't account for the proper usage of this
function.  Error detection improved somewhat as a result.
2018-05-31 22:23:19 -06:00
..
Dtsession.src remove OSF1 support 2018-05-24 14:25:26 -06:00
Imakefile Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
OWsync.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
OWsync.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
Sm.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmAuth.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmAuth.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmCommun.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmCommun.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmConMgmt.c Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
SmConMgmt.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmDB.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmDB.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmError.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmError.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmGlobals.c Spelling fixes 2018-05-31 22:23:19 -06:00
SmGlobals.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmHelp.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmHelp.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmHftRing.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmHftRing.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmLock.c dtsession: fix screen saver/locking on linux 2018-05-31 22:23:19 -06:00
SmLock.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmMain.c dtsession: fix screen saver/locking on linux 2018-05-31 22:23:19 -06:00
SmMigResources.c Last of the spelling fixed 2018-04-28 12:36:44 -06:00
SmMigResources.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmProp.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmProp.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmProperty.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmProperty.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmProtocol.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmProtocol.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmResource.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmRestore.c Spelling fixes 2018-05-31 22:23:19 -06:00
SmRestore.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmSave.c remove OSF1 support 2018-05-24 14:25:26 -06:00
SmSave.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmScreen.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmScreen.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmStrDefs.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmUI.c remove OSF1 support 2018-05-24 14:25:26 -06:00
SmUI.h remove OSF1 support 2018-05-24 14:25:26 -06:00
SmWatch.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmWatch.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmWindow.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmWindow.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmXSMP.c dtsession: A few extra snprintf's for buffer safety 2018-04-29 02:11:23 +01:00
SmXSMP.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmXdef.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmXdef.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmXrm.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SmXrm.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
Srv.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SrvFile_io.c Spelling fixes 2018-05-31 22:23:19 -06:00
SrvFile_io.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SrvMain.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SrvPalette.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
SrvPalette.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
convertVS.sh Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
dtloadresources.src Use KORNSHELL variable instead of /bin/ksh 2012-08-23 20:00:43 -06:00
dtsession.man Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
dtsession.msg.src correction of message files 2013-09-15 19:35:53 -06:00
nlsMsgChk.txt Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
nlsREADME.txt Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
sys.font.iso Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
sys.font.src Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
sys.resources.src remove OSF1 support 2018-05-24 14:25:26 -06:00
sys.session.src Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
version.c Fix typo in license headers 2018-04-28 12:30:20 -06:00