Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
openssh
openssh-6.6p1-ignore_postauth_SIGXFSZ.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssh-6.6p1-ignore_postauth_SIGXFSZ.patch of Package openssh
# HG changeset patch # Parent ef0fe7086a4a7a98120dd848414e81b56cca92f6 Ignore SIGXFSZ in postauth - this prevents crashes due to file size limits enforced by PAM session which in postauth include writing lastlog. This can get past the limit for large UIDs. Bugzilla: bz: https://bugzilla.mindrot.org/show_bug.cgi?id=2263 bnc: https://bugzilla.novell.com/show_bug.cgi?id=673532 Upstream commit: 146218ac11a1eb0dcade6f793d7acdef163b5ddc diff --git a/openssh-6.6p1/monitor.c b/openssh-6.6p1/monitor.c --- a/openssh-6.6p1/monitor.c +++ b/openssh-6.6p1/monitor.c @@ -491,16 +491,19 @@ monitor_child_postauth(struct monitor *p { close(pmonitor->m_recvfd); pmonitor->m_recvfd = -1; monitor_set_child_handler(pmonitor->m_pid); signal(SIGHUP, &monitor_child_handler); signal(SIGTERM, &monitor_child_handler); signal(SIGINT, &monitor_child_handler); +#ifdef SIGXFSZ + signal(SIGXFSZ, SIG_IGN); +#endif if (compat20) { mon_dispatch = mon_dispatch_postauth20; /* Permit requests for moduli and signatures */ monitor_permit(mon_dispatch, MONITOR_REQ_MODULI, 1); monitor_permit(mon_dispatch, MONITOR_REQ_SIGN, 1); monitor_permit(mon_dispatch, MONITOR_REQ_TERM, 1);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor