Age | Commit message (Collapse) | Author | Files | Lines |
|
Initial patch submitted in Debian bug#233551.
Forward-ported to modular X by Eugene Konev (changes: remove Imakefile hunks,
add --with-selinux flag to configure.ac).
Updated to latest SE Linux code by Russell Coker 3rd Aug 2008, with bugfix from
Julien Cristau (Debian bug#493524).
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
|
|
* Make execution of the session program an informational log message (with
LogInfo()), not a Debug() message.
* Ensure that source()d scripts (Xreset, Xsetup, Xstartup) can be
fopen()ed before invoking runAndWait() on them. If they can, LogInfo()
the fact. If they cannot, LogInfo() that, too, and use _SysErrorMsg() to
report why fopen() failed.
* Make source() complain using Debug() when it is given a null pointer in
its file argument.
* For clarity, make source() return from only one location.
Also see Debian bug #219311.
Forward ported by Eugene Konev.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
|
|
Change LogError() invocations to use _SysErrorMsg() where errno might be
set (and not clobbered by intermediate calls). Also make LogError() the
first thing we do after an error condition in those cases.
Forward-ported by David Nusinow, Eugene Konev and Julien Cristau.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
|
|
[jcristau@debian.org: save errno before calling Debug() in one place]
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Also strip trailing whitespace to make git happier.
While many lines are changes, "git diff -w" shows no changes other
than pure whitespace.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
X.Org Bugzilla #10145 <https://bugs.freedesktop.org/show_bug.cgi?id=10145>
Patch #14644 <https://bugs.freedesktop.org/attachment.cgi?id=14644>
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Wasn't calling pam_setcred()/pam_getenvlist() if setusercontext() was present
X.Org Bugzilla #11020: <https://bugs.freedesktop.org/show_bug.cgi?id=11020>
|
|
X.Org Bug #8014: <https://bugs.freedesktop.org/show_bug.cgi?id=8014>
Patch #6702: <https://bugs.freedesktop.org/attachment.cgi?id=6702>
|
|
warnings)
|
|
Also fixes Login.c:1329:5: warning: mixing declarations and code from extra ;
|
|
|
|
to prompt for more than just username and password. Rely on PAM to
initialize Secure RPC & Kerberos credentials when it is being used.
(Based on work begun for Sun bug #6398796 "Solaris-10: Unable to login
thru xdm once password is aged")
|
|
#3555 <https://bugs.freedesktop.org/attachment.cgi?id=3555> xdm doesn't
work with the pam_krb5 module (call pam_getenvlist after pam_setcred)
(Constantine Sapuntzakis)
|
|
tests instead of checking OS name #ifdefs.
|
|
key_setnet declaration before defining it to avoid compiler error of
conflicting types on DragonFly BSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|