chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prep v228: Removed utmp bits. elogind does not support utmp-wtmp.
[elogind.git]
/
src
/
basic
/
memfd-util.c
diff --git
a/src/basic/memfd-util.c
b/src/basic/memfd-util.c
index e6eb1d45fc5d2f46a5c16582213d2c41178c63fa..a103a6fae0535601e8b3ab5db027f22c4f5b5e82 100644
(file)
--- a/
src/basic/memfd-util.c
+++ b/
src/basic/memfd-util.c
@@
-125,8
+125,6
@@
int memfd_get_sealed(int fd) {
return r == (F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE | F_SEAL_SEAL);
}
-/// UNNEEDED by elogind
-#if 0
int memfd_get_size(int fd, uint64_t *sz) {
struct stat stat;
int r;