chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove erroneous attribute((malloc)) annotations
[elogind.git]
/
src
/
shared
/
cgroup-util.h
diff --git
a/src/shared/cgroup-util.h
b/src/shared/cgroup-util.h
index 2099f934b4eb6a186e76086f88c80d88e59c597b..a2ee72d67ffa48201e56b2c7ce6bb0db625f720a 100644
(file)
--- a/
src/shared/cgroup-util.h
+++ b/
src/shared/cgroup-util.h
@@
-96,3
+96,5
@@
int cg_controller_from_attr(const char *attr, char **controller);
char *cg_escape(const char *p);
char *cg_unescape(const char *p);
+
+bool cg_controller_is_valid(const char *p, bool allow_named);