Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dbus
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
238
Issues
238
List
Boards
Labels
Service Desk
Milestones
Merge Requests
28
Merge Requests
28
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dbus
dbus
Commits
d82378fd
Commit
d82378fd
authored
Aug 15, 2017
by
Simon McVittie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dbus-1.10'
parents
52aeb92f
4a2e7024
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
NEWS
NEWS
+3
-0
dbus/dbus-sysdeps-unix.c
dbus/dbus-sysdeps-unix.c
+5
-4
No files found.
NEWS
View file @
d82378fd
...
...
@@ -39,6 +39,9 @@ Fixes:
out) on entropy-starved embedded systems.
(fd.o #101858, Simon McVittie)
• Avoid a -Werror=declaration-after-statement build failure on Solaris
(fd.o #102145, Alan Coopersmith)
D-Bus 1.11.16 (2017-07-27)
==
...
...
dbus/dbus-sysdeps-unix.c
View file @
d82378fd
...
...
@@ -2054,13 +2054,13 @@ _dbus_read_credentials_socket (DBusSocket client_fd,
ucred_t
*
ucred
=
NULL
;
if
(
getpeerucred
(
client_fd
.
fd
,
&
ucred
)
==
0
)
{
#ifdef HAVE_ADT
adt_session_data_t
*
adth
=
NULL
;
#endif
pid_read
=
ucred_getpid
(
ucred
);
uid_read
=
ucred_geteuid
(
ucred
);
#ifdef HAVE_ADT
/* generate audit session data based on socket ucred */
adt_session_data_t
*
adth
=
NULL
;
adt_export_data_t
*
data
=
NULL
;
size_t
size
=
0
;
if
(
adt_start_session
(
&
adth
,
NULL
,
0
)
||
(
adth
==
NULL
))
{
_dbus_verbose
(
"Failed to adt_start_session(): %s
\n
"
,
_dbus_strerror
(
errno
));
...
...
@@ -2073,7 +2073,8 @@ _dbus_read_credentials_socket (DBusSocket client_fd,
}
else
{
size
=
adt_export_session_data
(
adth
,
&
data
);
adt_export_data_t
*
data
=
NULL
;
size_t
size
=
adt_export_session_data
(
adth
,
&
data
);
if
(
size
<=
0
)
{
_dbus_verbose
(
"Failed to adt_export_session_data(): %s
\n
"
,
_dbus_strerror
(
errno
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment