coredump: add note about lack of rollback on oom

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-02-15 00:45:43 -05:00
parent a7581ff940
commit 561eede4d1
+3 -1
View File
@@ -1049,7 +1049,9 @@ static int gather_pid_metadata(
char **comm_fallback,
char **comm_ret,
struct iovec *iovec, size_t *n_iovec) {
/* We need 25 empty slots in iovec! */
/* We need 25 empty slots in iovec!
* Note that if we fail on oom later on, we do not roll-back changes to the iovec
* structure. (It remains valid, with the first n_iovec fields initialized.) */
_cleanup_free_ char *exe = NULL, *comm = NULL;
uid_t owner_uid;