.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=803
This commit is contained in:
parent
334aa59d24
commit
10ca16db2e
@ -1,7 +1,8 @@
|
||||
---
|
||||
src/core/dbus.c | 2 +-
|
||||
src/libsystemd/sd-bus/bus-util.h | 9 +++++++++
|
||||
2 files changed, 10 insertions(+), 1 deletion(-)
|
||||
src/login/pam-module.c | 4 ++--
|
||||
3 files changed, 12 insertions(+), 3 deletions(-)
|
||||
|
||||
--- src/core/dbus.c
|
||||
+++ src/core/dbus.c 2014-10-17 09:52:47.227838182 +0000
|
||||
@ -37,3 +38,23 @@
|
||||
#define _cleanup_bus_message_unref_ _cleanup_(sd_bus_message_unrefp)
|
||||
#define _cleanup_bus_creds_unref_ _cleanup_(sd_bus_creds_unrefp)
|
||||
#define _cleanup_bus_error_free_ _cleanup_(sd_bus_error_free)
|
||||
--- src/login/pam-module.c
|
||||
+++ src/login/pam-module.c 2014-10-21 10:48:20.129001984 +0000
|
||||
@@ -213,7 +213,7 @@ _public_ PAM_EXTERN int pam_sm_open_sess
|
||||
*seat = NULL,
|
||||
*type = NULL, *class = NULL,
|
||||
*class_pam = NULL, *type_pam = NULL, *cvtnr = NULL, *desktop = NULL;
|
||||
- _cleanup_bus_unref_ sd_bus *bus = NULL;
|
||||
+ _cleanup_bus_close_unref_ sd_bus *bus = NULL;
|
||||
int session_fd = -1, existing, r;
|
||||
bool debug = false, remote;
|
||||
struct passwd *pw;
|
||||
@@ -517,7 +517,7 @@ _public_ PAM_EXTERN int pam_sm_close_ses
|
||||
int argc, const char **argv) {
|
||||
|
||||
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
|
||||
- _cleanup_bus_unref_ sd_bus *bus = NULL;
|
||||
+ _cleanup_bus_close_unref_ sd_bus *bus = NULL;
|
||||
const void *existing = NULL;
|
||||
const char *id;
|
||||
int r;
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 21 11:03:31 UTC 2014 - werner@suse.de
|
||||
|
||||
- Modify patch avoid-leaking-socket-descriptors.patch to close
|
||||
file descriptors for incomming connections in pam module in case
|
||||
of short memory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 20 14:10:47 UTC 2014 - werner@suse.de
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 21 11:03:31 UTC 2014 - werner@suse.de
|
||||
|
||||
- Modify patch avoid-leaking-socket-descriptors.patch to close
|
||||
file descriptors for incomming connections in pam module in case
|
||||
of short memory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 20 14:10:47 UTC 2014 - werner@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user