index
:
systemd
main
systemd
Fast-forward packages
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
basic
/
alloc-util.h
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
memory-util: add a concept for gcc cleanup attribute based array destruction
Lennart Poettering
2023-02-23
1
-0
/
+1
*
alloc-util: Disallow inlining of expand_to_usable
Siddhesh Poyarekar
2023-01-08
1
-3
/
+4
*
Use dummy allocator to make accesses defined as per standard
Siddhesh Poyarekar
2022-12-14
1
-10
/
+28
*
sd-device: introduce device_unref_and_replace()
Yu Watanabe
2022-07-23
1
-0
/
+11
*
tree-wide: Introduce free_and_replace_full()
Daan De Meyer
2022-07-21
1
-2
/
+5
*
Revert "Support -D_FORTIFY_SOURCE=3 by using __builtin_dynamic_object_size."
Evgeny Vereshchagin
2022-06-05
1
-13
/
+3
*
basic/alloc-util: remove unnecessary parens
Zbigniew Jędrzejewski-Szmek
2022-05-10
1
-2
/
+2
*
Support -D_FORTIFY_SOURCE=3 by using __builtin_dynamic_object_size.
Martin Liska
2022-03-31
1
-3
/
+13
*
alloc-util: introduce mfree_func_type_t
Yu Watanabe
2022-03-11
1
-0
/
+1
*
Merge pull request #20983 from mxre/feature/aarch64
Lennart Poettering
2021-10-15
1
-6
/
+0
|
\
|
*
move mfree to macro-fundamentals.h
Max Resch
2021-10-12
1
-6
/
+0
*
|
alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere
Lennart Poettering
2021-10-14
1
-0
/
+16
*
|
alloca-util: drop two unnecessary casts
Lennart Poettering
2021-10-14
1
-2
/
+2
*
|
alloc-util: introduce new helper alloca_safe()
Lennart Poettering
2021-10-14
1
-12
/
+13
|
/
*
alloc-util: make mfree() typesafe
Lennart Poettering
2021-08-10
1
-4
/
+5
*
alloc-util: drop double eval from free_and_replace()
Lennart Poettering
2021-07-29
1
-3
/
+5
*
systemctl: unset const char* arguments in static destructors
Zbigniew Jędrzejewski-Szmek
2021-05-31
1
-0
/
+7
*
Merge pull request #19662 from yuwata/memdup
Lennart Poettering
2021-05-19
1
-2
/
+2
|
\
|
*
alloc-util: use memcpy_safe() in memdup() or friends
Yu Watanabe
2021-05-19
1
-2
/
+2
*
|
alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()
Lennart Poettering
2021-05-19
1
-6
/
+6
*
|
alloc-util: add MALLOC_ELEMENTSOF() helper
Lennart Poettering
2021-05-19
1
-0
/
+8
*
|
alloc-util: introduce MALLOC_SIZEOF_SAFE() helper
Lennart Poettering
2021-05-19
1
-0
/
+12
|
/
*
basic/alloc-util: also reset the cleaned-up variable in freep()
Zbigniew Jędrzejewski-Szmek
2021-02-19
1
-1
/
+1
*
fundamental: move several macros and functions into src/fundamental/
Yu Watanabe
2021-02-09
1
-9
/
+0
*
license: LGPL-2.1+ -> LGPL-2.1-or-later
Yu Watanabe
2020-11-09
1
-1
/
+1
*
alloc-util: avoid allocating zero size memory blocks
Lennart Poettering
2020-10-14
1
-6
/
+6
*
alloc-util: drop _alloc_ decorator from memdup_suffix0()
Lennart Poettering
2019-07-13
1
-1
/
+1
*
alloc-util: drop _alloc_(2, 3) decorator from memdup_suffix0_multiply()
Lennart Poettering
2019-07-12
1
-1
/
+3
*
alloc-util: typo fix
Lennart Poettering
2019-03-20
1
-2
/
+2
*
Add wrapper for __msan_unpoinson() to reduce #ifdeffery
Zbigniew Jędrzejewski-Szmek
2019-02-25
1
-0
/
+10
*
alloc-util: whenever any of our alloca() wrappers is used to allocate overly ...
Lennart Poettering
2019-01-26
1
-17
/
+32
*
tree-wide: make new/new0/malloc_multiply/reallocarray safe for size 0
Zbigniew Jędrzejewski-Szmek
2018-12-21
1
-3
/
+3
*
util: define free_func_t
Yu Watanabe
2018-12-02
1
-0
/
+2
*
alloc-util: add alloca() counterparts for memdup() and memdup_suffix0()
Lennart Poettering
2018-10-15
1
-0
/
+15
*
Revert "alloc-util: return NULL if 0-sized allocation is requested"
Yu Watanabe
2018-10-13
1
-4
/
+1
*
alloc-util: return NULL if 0-sized allocation is requested
David Tardon
2018-10-12
1
-1
/
+4
*
tree-wide: remove Lennart's copyright lines
Lennart Poettering
2018-06-14
1
-4
/
+0
*
tree-wide: drop 'This file is part of systemd' blurb
Lennart Poettering
2018-06-14
1
-2
/
+0
*
alloca: add an overflow check too
Lennart Poettering
2018-04-27
1
-2
/
+10
*
tree-wide: drop license boilerplate
Zbigniew Jędrzejewski-Szmek
2018-04-06
1
-13
/
+0
*
macro: introduce TAKE_PTR() macro
Lennart Poettering
2018-03-22
1
-0
/
+9
*
tree-wide: use reallocarray instead of our home-grown realloc_multiply (#8279)
Zbigniew Jędrzejewski-Szmek
2018-02-26
1
-1
/
+3
*
alloc-util: coding style fix
Yu Watanabe
2017-11-28
1
-1
/
+1
*
Add SPDX license identifiers to source files under the LGPL
Zbigniew Jędrzejewski-Szmek
2017-11-19
1
-0
/
+1
*
alloc-util: add new helpers memdup_suffix0() and newdup_suffix0()
Lennart Poettering
2017-07-31
1
-0
/
+10
*
tree-wide: introduce free_and_replace helper
Zbigniew Jędrzejewski-Szmek
2016-10-17
1
-0
/
+8
*
alloc-util: cleanups
Alexander Kuleshov
2016-02-18
1
-9
/
+13
*
tree-wide: remove Emacs lines from all files
Daniel Mack
2016-02-10
1
-2
/
+0
*
basic: include only what we use
Thomas Hindoe Paaboel Andersen
2015-11-30
1
-0
/
+1
*
util-lib: split out allocation calls into alloc-util.[ch]
Lennart Poettering
2015-10-27
1
-0
/
+108