[lxc-devel] [lxc/lxc] 9d4651: log: add lxc_log_strerror_r macro
GitHub
noreply at github.com
Mon Jun 25 14:16:34 UTC 2018
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 9d46514002e91e30bbe02b9ba2aa5aa9bb20c1bf
https://github.com/lxc/lxc/commit/9d46514002e91e30bbe02b9ba2aa5aa9bb20c1bf
Author: 2xsec <dh48.jeong at samsung.com>
Date: 2018-06-25 (Mon, 25 Jun 2018)
Changed paths:
M src/lxc/log.h
M src/lxc/lsm/apparmor.c
M src/lxc/lsm/lsm.c
M src/lxc/lsm/selinux.c
M src/lxc/monitor.c
M src/lxc/state.c
M src/lxc/sync.c
M src/lxc/terminal.c
Log Message:
-----------
log: add lxc_log_strerror_r macro
Let's ensure that we always use the thread-safe strerror_r() function and add
an approriate macro.
Additionally, define SYS*() macros for all log levels. They will use the new
macro and ensure thread-safe retrieval of errno values.
Signed-off-by: 2xsec <dh48.jeong at samsung.com>
[christian.brauner at ubuntu.com: simplify lxc_log_strerror_r macro]
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 37f068c8596cf86bce85e9217796f092ca4ddd38
https://github.com/lxc/lxc/commit/37f068c8596cf86bce85e9217796f092ca4ddd38
Author: Christian Brauner <christian at brauner.io>
Date: 2018-06-25 (Mon, 25 Jun 2018)
Changed paths:
M src/lxc/log.h
M src/lxc/lsm/apparmor.c
M src/lxc/lsm/lsm.c
M src/lxc/lsm/selinux.c
M src/lxc/monitor.c
M src/lxc/state.c
M src/lxc/sync.c
M src/lxc/terminal.c
Log Message:
-----------
Merge pull request #2429 from 2xsec/bugfix
log: add strerror_r macro
Compare: https://github.com/lxc/lxc/compare/62f76cc0f615...37f068c8596c
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the lxc-devel
mailing list